Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Threads From Hell #2: How To Parse A Very Huge Fileby karlgoethebier (Abbot) |
on May 25, 2015 at 00:07 UTC ( [id://1127629]=note: print w/replies, xml ) | Need Help?? |
"...User code time... + system code time... = real time..." Yes: From the docs: "The time utility executes and times the specified utility. After the utility finishes, time writes to the standard error stream, (in seconds): the total time elapsed, the time used to execute the utility process and the time consumed by system overhead." Some observations:
For the grep example 60+60+42=162 which is 2m42s. But user+sys (20+5) is 0m25s. What do i miss? Perhaps it's too late tonight. Or too early in the morning? Best regards, Karl «The Crux of the Biscuit is the Apostrophe»
In Section
Seekers of Perl Wisdom
|
|