Avatar for the inventree user
inventree
InvenTree
BlogDocsChangelog

[API] Enforce pk ordering for API endpoints

#11446Merged
Comparing
SchrodingersGat:api-ordering
(
bee91ac
) with
master
(
2c67454
)
CodSpeed Performance Gauge
-15%
Regression
33
Untouched
11

Benchmarks

44 total
test_api_options_performance[/api/part/]
src/performance/tests.py
CodSpeed Performance Gauge
-7%
63 ms67.8 ms
test_search_performance[returnorder]
src/performance/tests.py
CodSpeed Performance Gauge
-7%
28.1 ms30.1 ms
test_search_performance[salesordershipment]
src/performance/tests.py
CodSpeed Performance Gauge
-7%
21.3 ms22.8 ms
test_api_list_performance[/api/part/]
src/performance/tests.py
CodSpeed Performance Gauge
-7%
74.2 ms79.5 ms
test_search_performance[stocklocation]
src/performance/tests.py
CodSpeed Performance Gauge
-7%
17.5 ms18.7 ms
test_api_options_performance[/api/order/so/]
src/performance/tests.py
CodSpeed Performance Gauge
-6%
53.3 ms57 ms
test_search_performance[manufacturer]
src/performance/tests.py
CodSpeed Performance Gauge
-6%
14.1 ms15 ms
test_api_options_performance[/api/order/so/shipment/]
src/performance/tests.py
CodSpeed Performance Gauge
-6%
53.2 ms56.6 ms
test_api_auth_performance
src/performance/tests.py
CodSpeed Performance Gauge
-2%
646.3 ms656.3 ms
test_api_part_list
src/backend/InvenTree/part/test_api.py::PartApiPerformanceTest
CodSpeed Performance Gauge
-2%
378.4 ms385.6 ms
test_api_stock_list
src/backend/InvenTree/stock/test_api.py::StockApiPerformanceTest
CodSpeed Performance Gauge
-3%
421.8 ms435.1 ms
test_search_performance[partcategory]
src/performance/tests.py
CodSpeed Performance Gauge
-3%
13.6 ms14 ms
test_search_performance[supplier]
src/performance/tests.py
CodSpeed Performance Gauge
-4%
14.3 ms14.8 ms
test_search_performance[customer]
src/performance/tests.py
CodSpeed Performance Gauge
-4%
14.2 ms14.8 ms
test_search_performance[stockitem]
src/performance/tests.py
CodSpeed Performance Gauge
-5%
109.7 ms115.5 ms
test_search_performance[manufacturerpart]
src/performance/tests.py
CodSpeed Performance Gauge
-5%
21.6 ms22.8 ms
test_search_performance[salesorder]
src/performance/tests.py
CodSpeed Performance Gauge
-5%
32.7 ms34.5 ms
test_search_performance[purchaseorder]
src/performance/tests.py
CodSpeed Performance Gauge
-6%
24 ms25.5 ms
test_api_options_performance[/api/order/po/]
src/performance/tests.py
CodSpeed Performance Gauge
-6%
47 ms50 ms

Commits

Click on a commit to change the comparison range
Base
master
2c67454
-2.32%
Simplify ordering options
005f486
16 days ago
by SchrodingersGat
-3.87%
Enforce list
8968cfd
16 days ago
by SchrodingersGat
+4.97%
Use last term for ordering checks
5a01e1f
16 days ago
by SchrodingersGat
-13.27%
Individual delete to fix mysql issue
bee91ac
16 days ago
by SchrodingersGat
© 2026 CodSpeed Technology
Home Terms Privacy Docs