in reply to Reading from file in threaded code is slow
Further to this I have had a bit of a play on a few more perls and OSes.
The code runs quickly on
On all of these the code runs with about 1sec/file total 4seconds (although 5.8.8 spat out some warnings "Scalars leaked: 1" ).
The code runs slowly on
The 5.10.x taking 7 to 17 s/file, while the shiny new 5.14.1 took 4 to 8s/file. So it looks like this is a problem with cygwin only. :-(
It would be nice if somone else could confirm my observations. The next stop on Monday will be ActivePerl 5.14.1 but I would rather like to keep the code in cygwin if I could.
Suggestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reading from file in threaded code is slow
by BrowserUk (Patriarch) on Jul 09, 2011 at 01:27 UTC |