Performance issues in filters after upgrading to Nova 4.* #5716
Unanswered
sfroemkenjw
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
I just upgrade Laravel Nova from 2.1.0 to 4.26.3
In earlier version opening the filter needs less then 300ms and opening the filter for email addresses needs less than 700ms. Now, after updating to newest Nova version opening the filter box needs ~12 seconds and opening the email selectbox needs ~24 seconds. After nearly 30 seconds the browser ask's me to close the tab or to wait. Seems the handling of ~20.000 records for the selectbox has changed a lot after upgrading. I don't see any errors in Browser Console.
Detailed steps to reproduce the issue on a fresh Nova installation:
composer req spatie/laravel-activitylog ^4.7 spatie/laravel-permission ^5.10
php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="activitylog-migrations"
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"
php artisan migrate
php artisan nova:filter EmailDomainFilter
options()
in our new filter with:users
table with ~60.000 recordsBeta Was this translation helpful? Give feedback.
All reactions