django-ninja-aio-crud · Performance Benchmarks

Performance Benchmarks

Automated benchmark results for django-ninja-aio-crud

Run 2026-05-27 08:19:09 Python 3.14.5 Runs 1

Latest Run

CRUDPerformanceTest

Benchmark Iterations Min (ms) Avg (ms) Median (ms) Max (ms)
create 100 1.4453 1.5372 1.5066 2.9943
delete 100 1.5422 1.6158 1.6009 2.2992
list 100 2.7166 2.8233 2.7777 4.0576
retrieve 100 1.0528 1.0969 1.0856 1.3643
update 100 1.9206 2.0301 1.9861 3.2364

FilterPerformanceTest

Benchmark Iterations Min (ms) Avg (ms) Median (ms) Max (ms)
boolean_filter 100 2.9013 3.1973 3.0080 6.6270
combined_filters 100 1.6672 1.7559 1.7463 2.4162
icontains_filter 100 1.6512 1.7254 1.6976 2.1034
match_case_filter 100 2.3380 2.4018 2.3812 3.0268
numeric_filter 100 1.3824 1.4573 1.4391 1.8531
relation_filter 100 14.1375 14.5115 14.4915 15.5971

LargeListPerformanceTest

Benchmark Iterations Min (ms) Avg (ms) Median (ms) Max (ms)
list_1000_page100 100 2.6880 2.7742 2.7549 3.6791
list_1000_page20 100 1.5289 1.5859 1.5746 1.9796

MultiFKPerformanceTest

Benchmark Iterations Min (ms) Avg (ms) Median (ms) Max (ms)
bulk_create_50x3fk 10 69.4270 76.1505 73.6849 90.9176
create_3fk 50 2.5006 2.6445 2.6184 3.8045

SchemaGenerationPerformanceTest

Benchmark Iterations Min (ms) Avg (ms) Median (ms) Max (ms)
meta_serializer_schema_generation 100 0.0005 0.0323 0.0006 3.1721
model_serializer_schema_generation 100 0.0011 0.0013 0.0012 0.0137
schema_with_relations 100 0.0004 0.0184 0.0004 1.7931
schema_with_validators 100 0.0005 0.0349 0.0006 3.4337

SerializationPerformanceTest

Benchmark Iterations Min (ms) Avg (ms) Median (ms) Max (ms)
bulk_serialization_100 50 1.2296 1.2952 1.2524 2.8824
bulk_serialization_500 50 3.9871 4.1527 4.0522 8.5006
input_parsing 100 0.5102 0.5553 0.5449 0.8165
relation_serialization 100 0.5069 0.5697 0.5593 0.7184
single_object_serialization 100 0.4988 0.5424 0.5366 0.8390