-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.1.9
Python version
3.9
Steps to Reproduce
- Create script file with following content in the script directory (test1.py): content
- Duplicate it a bunch of times:
for i in {2..20}; do cp test1.py "test$i.py"; done - Open the script list view -
/extras/scripts/
Expected Behavior
Load times should not be multiple seconds
Observed Behavior
On my i7 9700 the load times are roughly 2.3 seconds for the above example. On our production server (weaker single core performance) the performance impact is larger.
I have implemented a fix (#8925) which reduces the load time for the reproduction example from ~2300 ms to ~160 ms.
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application