more useful options | |
PerlMonks |
Re^3: Why this code is so slow if run in thread?by ikegami (Patriarch) |
on Dec 11, 2016 at 19:14 UTC ( [id://1177615]=note: print w/replies, xml ) | Need Help?? |
Did you look at your results? They're mostly useless! We can tell that shorts are 50x slower with threads, but we have no idea how much slower bytes are with threads. Could be there not slower at all (0.9999s vs 1.0000s). Could be billions time slower (0.000000001 vs 1.000000000). Please re-run the tests with use Time::HiRes qw( sleep );. Or provide the data files.
In Section
Seekers of Perl Wisdom
|
|