https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36155

--- Comment #14 from Jonathan Druart <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to