https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16140 --- Comment #25 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Jacek Ablewicz from comment #23)
Shell test script from comment #5 does not quite work for me for some reasons
% for i in {1..10}; do {time perl test.t > /dev/null} 2>> /tmp/time;done; echo $((`perl -pe 's/.*cpu ([^s]*) total/$1/' /tmp/time| tr '\n' '+'|sed > 's/+$//'`)
It's zsh.
Note that I'm measuring so-called "real" (wall clock) timings in here; I have no idea what exactly is being measured in comment #5 - hopefully someting similar?
I have used the total CPU time (if the output looks like '1.95s user 0.05s system 68% cpu 2.920 total', I got 2.920). -- You are receiving this mail because: You are watching all bug changes.