News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Forrtran - Add Files Recursively is Slow

Started by FEA, May 20, 2020, 01:37:06 AM

Previous topic - Next topic

oBFusCATed

Can you list machine specs and times, so we have some kind of a reference?
My tests are done on a AMD Ryzen 7 1700, which isn't the fastest cpu on the planet, but it isn't slow either :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

FEA

#16
From what I can see, the processor was not maxed out, but it may still be the bottlneck?

Fastest = Intel Core i7 870 2.93 Ghz, 8GB RAM
Slowest = Intel i5 M460 2.53 Ghz, 6 GB RAM

Maybe these are ancient by today's standards? I tend to need faster disk speed and CPU power isn't a high priority for me. That said, I have been thinking about upgrading both desktop and laptop. The setup time on a new computer takes such a long time (may configurations) that I try to avoid this until necessary.

oBFusCATed

#17
I wanted the specs just for reference.

p.s. What OS and C::B version are you running?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

FEA


darmar

Quote from: oBFusCATed on May 22, 2020, 08:02:20 PM
@darmar: It seems that you're parsing every file on at the moment it is added. I suppose it is better just to schedule the file for parsing and do this in another thread or onidle.

@oBFusCATed: you are right. I will think about how to move this parsing onto a separate thread.

oBFusCATed

You don't need to move the parsing on a separate thread.
You can do it on the main thread, but just do it on an idle even.
To limit its impact you can time limit it - say you do parsing for 10ms and then stop and wait for the next idle event.
This will be a lot simpler than going the separate thread. It seems parsing fortran is really fast :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]