[Koha-bugs] [Bug 16140] Only clear L1 cache when needed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Apr 4 10:35:04 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16140
--- Comment #25 from Jonathan Druart <jonathan.druart at 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.
More information about the Koha-bugs
mailing list