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

--- Comment #68 from Marcel de Rooy <[email protected]> ---
    my $set = Koha::Patron::Consents->search({ borrowernumber => $firstid });
    #my $set = Koha::Patron::Consents->search;
    my $t1 = time;
    foreach(1..100) { my $i = $set->count; }
    my $t2 = time;
    is(1, 1, sprintf( "COUNT %6.4f\n", $t2 - $t1 ) );
    $t1 = time;
    foreach(1..100) { my $i = $set->next; }
    #foreach(1..1000) { my $i = $set->next; #$set->_resultset->first unless $i;
}
    $t2 = time;
    is(1, 1, sprintf( "NEXT %6.4f\n", $t2 - $t1 ) );

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