-
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.2.2
Python version
3.9
Steps to Reproduce
- GET devices from
/api/dcim/devices, including config_context, with a resultingcountfield less than 100, andlimit=100(for example, use a query parameter that would result in a low number of matches) - GET devices from
/api/dcim/devicesincluding config_context, with a resultingcountfield greater than 100,000, andlimit=100(for example, use a query parameter that would result in a high number of matches)
Expected Behavior
- Similar API response times from either query, scaling with
limit
Observed Behavior
- When the
exclude=config_contextparameter is included in a query, there is a similar response time between queries that return a large dataset, and queries that return a small dataset - When
exclude=config_contextis omitted (i.e. config context is fetched), queries that return a large dataset increase in response time dramatically vs. smaller queries, regardless oflimit
newlandk and jmanteau
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