1 Sep
2025
1 Sep
'25
2:48 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36155 --- Comment #14 from Jonathan Druart <jonathan.druart@gmail.com> --- (In reply to Jonathan Druart from comment #13)
We could maybe have used a separate variable for the unblessed version.
use Benchmark qw(:all); use Koha::Patrons; my $patron = Koha::Patrons->find(51); my $count = 10000; my $t = timeit($count, sub { $patron->unblessed }); print "$count unblessed:", timestr($t),"\n"; 10000 unblessed: 0 wallclock secs ( 0.13 usr + 0.00 sys = 0.13 CPU) @ 76923.08/s (n=10000) -- You are receiving this mail because: You are watching all bug changes.