Quick find search box is slow #5711

Closed
opened 2025-12-29 19:31:42 +01:00 by adam · 1 comment
Owner

Originally created by @kkthxbye-code on GitHub (Nov 25, 2021).

Originally assigned to: @kkthxbye-code on GitHub.

NetBox version

v3.0.10

Python version

3.9

Steps to Reproduce

  1. Load the data from [netbox-demo-data](https://github.com/netbox-community/netbox-demo-data
  2. Go to Devices -> Device Components -> Interfaces
  3. Change pagination to 1000
  4. Paste "GigabitEthernet" into the Quick Find field

Expected Behavior

Results in a timely manner without freezing the browser for an extended period of time.

Observed Behavior

On my i7-9700 it takes roughly 22 seconds before the browser tab is responsive again.

Originally created by @kkthxbye-code on GitHub (Nov 25, 2021). Originally assigned to: @kkthxbye-code on GitHub. ### NetBox version v3.0.10 ### Python version 3.9 ### Steps to Reproduce 1. Load the data from [netbox-demo-data](https://github.com/netbox-community/netbox-demo-data 2. Go to Devices -> Device Components -> Interfaces 3. Change pagination to 1000 4. Paste "GigabitEthernet" into the Quick Find field ### Expected Behavior Results in a timely manner without freezing the browser for an extended period of time. ### Observed Behavior On my i7-9700 it takes roughly 22 seconds before the browser tab is responsive again.
adam added the type: bugstatus: accepted labels 2025-12-29 19:31:42 +01:00
adam closed this issue 2025-12-29 19:31:42 +01:00
Author
Owner

@kkthxbye-code commented on GitHub (Nov 25, 2021):

The reason for the bad performance is that the code queries the DOM after each row has been modified. This causes one reflow per row in the list.

I'll submit a PR shortly.

Recent discussion with reference to the same issue: #7918

@kkthxbye-code commented on GitHub (Nov 25, 2021): The reason for the bad performance is that the code queries the DOM after each row has been modified. This causes one reflow per row in the list. I'll submit a PR shortly. Recent discussion with reference to the same issue: #7918
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5711