inventree
InvenTree
BlogDocsChangelog

[API] Filter refactor

#11073
Comparing
SchrodingersGat:filter-refactor
(
f8cab0e
) with
master
(
025f6ff
)
CodSpeed Performance Gauge
N/A
New
29
Skipped
2

Benchmarks

Skipped (2)

New

test_api_stock_list
src/backend/InvenTree/stock/test_api.py::StockApiPerformanceTest
CodSpeed Performance Gauge
N/A
N/A936.3 ms
test_api_part_list
src/backend/InvenTree/part/test_api.py::PartApiPerformanceTest
CodSpeed Performance Gauge
N/A
N/A939.9 ms
test_api_list_performance[/api/part/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A79.9 ms
test_api_options_performance[/api/build/line/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A66.4 ms
test_api_options_performance[/api/order/po-line/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A72.4 ms
test_api_auth_performance
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A654.6 ms
test_api_options_performance[/api/company/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A19.6 ms
test_api_list_performance[/api/part/category/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A16.3 ms
test_api_options_performance[/api/build/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A52.1 ms
test_api_list_performance[/api/parameter/template/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A8.9 ms
test_api_options_performance[/api/order/po/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A43 ms
test_api_list_performance[/api/build/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A29.2 ms
test_api_options_performance[/api/build/item/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A46.3 ms
test_api_options_performance[/api/part/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A58.2 ms
test_api_list_performance[/api/company/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A15.4 ms
test_api_options_performance[/api/stock/location/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A15.8 ms
test_api_options_performance[/api/order/so/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A47.4 ms
test_api_options_performance[/api/order/so/shipment/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A45 ms
test_api_list_performance[/api/build/item/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A11.9 ms
test_api_list_performance[/api/stock/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A75.7 ms
test_api_options_performance[/api/parameter/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A13.2 ms
test_api_list_performance[/api/stock/location/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A16.9 ms
test_api_list_performance[/api/order/so/shipment/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A15.2 ms
test_api_list_performance[/api/parameter/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A11 ms
test_api_options_performance[/api/part/category/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A14.8 ms
test_api_list_performance[/api/order/so/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A32.2 ms
test_api_list_performance[/api/user/roles/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A8.7 ms
test_api_options_performance[/api/user/roles/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A6.3 ms
test_api_options_performance[/api/parameter/template/]
src/performance/tests.py
CodSpeed Performance Gauge
N/A
N/A9.1 ms

Commits

Click on a commit to change the comparison range
Base
master
c1d7f2a
+2.97%
Ensure any optional fields we added in are not missed
34a7474
7 days ago
by SchrodingersGat
0%
Fixes
dcf6a55
7 days ago
by SchrodingersGat
+0.01%
Rehydrate optional fields for metadata
31c21a5
6 days ago
by SchrodingersGat
0%
Add TreePathSerializer class
b62a89a
6 days ago
by SchrodingersGat
-0.04%
Further improvements: - Handle case where optional field shadows model property - Consider read_only and write_only fields
fc6bb24
6 days ago
by SchrodingersGat
+0.02%
additional unit tests
61251f4
6 days ago
by SchrodingersGat
-0.03%
Bump API version
0386a6a
5 days ago
by SchrodingersGat
+2.83%
Cache serializer to prevent multiple __init__ calls
ea049ab
5 days ago
by SchrodingersGat
-2.81%
Revert caching change - Breaks search results
4785f79
5 days ago
by SchrodingersGat
-0.09%
Simplify field removal
7123efc
5 days ago
by SchrodingersGat
+0.09%
Adjust unit test
95e0aa8
5 days ago
by SchrodingersGat
-0.18%
Remove docstring comment which is no longer true
a18dffe
5 days ago
by SchrodingersGat
+0.09%
Merge branch 'master' into filter-refactor
30f7760
5 days ago
by SchrodingersGat
+0.12%
Ensure read-only fields are skipped for data import
cae2644
5 days ago
by SchrodingersGat
-2.22%
Use SAFE_METHODS
8e77006
4 days ago
by SchrodingersGat
+2.13%
Do not convert to lowercase
853726e
4 days ago
by SchrodingersGat
+0.09%
Remove FilterableSerializerField mixin - Annotation now performed using OptionalField - Code can be greatly simplified
fa3f080
4 days ago
by SchrodingersGat
0%
Merge branch 'master' into filter-refactor
4bbd3dd
4 days ago
by SchrodingersGat
0%
Ensure all fields are returned when generating schema
4244367
4 days ago
by SchrodingersGat
0%
Fix order of operations
eb8ce92
4 days ago
by SchrodingersGat
© 2026 CodSpeed Technology
Home Terms Privacy Docs