http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13645

--- Comment #7 from Jonathan Druart <[email protected]> ---
I did a quick test (master):
inserted 1000 booksellers, launched

  use Modern::Perl;
  use Koha::Acquisition::Bookseller;
  Koha::Acquisition::Bookseller->search;

perl benchmark_bookseller.pl  33.83s user 0.12s system 99% cpu 34.280 total

I quickly implemented Koha::Acquisition::Bookseller using Koha::Object (see bug
13019) and tested with

  use Modern::Perl;
  use Koha::Acquisition::Booksellers;
  my $booksellers = Koha::Acquisition::Booksellers->search;
  while ( my $b = $booksellers->next ) {
      say $b->name;
  }

perl benchmark_bookseller.pl  1.00s user 0.03s system 96% cpu 1.072 total

-- 
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/

Reply via email to