https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16140
--- Comment #23 from Jacek Ablewicz <[email protected]> --- Some more benchmarks :), test setup: CGI, L2 = memcached, medium dataset (130K biblio records, 300K items), one test run = log in + staff catalogue search for 'z' term (like in comment #5), XSLT processing enabled, numSearchResults = 100 (i.e 100 results / page), maxRecordsForFacets = 200, StaffAuthorisedValueImages disabled (Bug 16041). # master 146.05 (14.52+14.63+14.63+14.73+14.81+14.71+14.16+14.65+14.60+14.61) # master + Bug 16166 90.7 (9.15+9.10+9.16+8.41+9.19+9.19+9.11+9.19+9.02+9.18) # master + 2nd patch from Bug 16140 (aka don't clone framework/authvals) 71.61 (7.22+7.19+7.13+7.16+7.13+7.10+7.27+7.18+7.05+7.18) # master + 2nd patch from Bug 16140 + Bug 16166 71.15 (7.11+7.10+7.20+7.22+7.19+6.52+7.24+7.28+7.10+7.19) 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/+$//'`) looks like 'time' used in it is an internal shell subroutine of some kind, specific for a given UX shell (which one - ?); instead, I used '/usr/bin/time -n', and postproceesed timing results throug this simple perl script: #!/usr/bin/perl use Modern::Perl; my @timings; while (<>) { chomp; /^real ([\d\.]+)/ || next; push(@timings, $1); } my $total = 0; map { $total += $_; } @timings; print $total." (".join('+', @timings).")\n"; 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? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
