-
-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
I tried to benchmark it with production. Why is it slower?
Benchmark::measure([
fn() => Invoice::simplePaginate(),
fn() =>Invoice::paginate(),
fn()=>Invoice::fastPaginate()]);
= [
252.726125,
1597.069791,
1705.214708,
]Benchmark::measure([
fn() => Invoice::orderBy('created_at')->simplePaginate(),
fn() =>Invoice::orderBy('created_at')->paginate(),
fn()=>Invoice::orderBy('created_at')->fastPaginate()
]);
= [
847.420583,
3027.214792,
3190.175208,
]Metadata
Metadata
Assignees
Labels
No labels