optimizations to improve performance, add ormar-utils - #1571
Merged
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
May 7, 2026
Performance Gate Passed
⚠️ Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.
⚡ 16 improved benchmarks
✅ 68 untouched benchmarks
🆕 14 new benchmarks
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | WallTime | test_get_all[250] |
42.3 ms | 18.4 ms | ×2.3 |
| ⚡ | WallTime | test_get_all[500] |
81.5 ms | 33.6 ms | ×2.4 |
| ⚡ | WallTime | test_get_all[1000] |
159.6 ms | 63.6 ms | ×2.5 |
| 🆕 | WallTime | test_get_column_name_from_alias_book[10000] |
N/A | 56.7 ms | N/A |
| 🆕 | WallTime | test_get_column_name_from_alias[1000] |
N/A | 3.5 ms | N/A |
| 🆕 | WallTime | test_get_column_name_from_alias[10000] |
N/A | 36.2 ms | N/A |
| 🆕 | WallTime | test_get_column_name_from_alias_book[1000] |
N/A | 5.7 ms | N/A |
| 🆕 | WallTime | test_translate_columns_to_aliases[1000] |
N/A | 2.5 ms | N/A |
| 🆕 | WallTime | test_translate_aliases_to_columns[10000] |
N/A | 34.4 ms | N/A |
| 🆕 | WallTime | test_translate_columns_to_aliases[10000] |
N/A | 25.2 ms | N/A |
| 🆕 | WallTime | test_translate_aliases_to_columns[1000] |
N/A | 3.5 ms | N/A |
| ⚡ | WallTime | test_get_all_with_related_models[10] |
14 ms | 10.6 ms | +32.52% |
| ⚡ | WallTime | test_get_all_with_related_models[20] |
24.6 ms | 16.9 ms | +45.22% |
| ⚡ | WallTime | test_get_all_with_related_models[40] |
48.2 ms | 29.9 ms | +61.47% |
| ⚡ | WallTime | test_first[250] |
3.4 ms | 3.1 ms | +10.33% |
| ⚡ | WallTime | test_initializing_models[250] |
20.8 ms | 12.8 ms | +62.56% |
| ⚡ | WallTime | test_initializing_models[500] |
41.5 ms | 25.7 ms | +61.74% |
| ⚡ | WallTime | test_initializing_models[1000] |
83.5 ms | 51.3 ms | +62.53% |
| ⚡ | WallTime | test_initializing_models_with_related_models[10] |
2.3 ms | 1.5 ms | +52.26% |
| ⚡ | WallTime | test_initializing_models_with_related_models[20] |
5.6 ms | 3.1 ms | +82.52% |
| ... | ... | ... | ... | ... | ... |
ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.
Comparing check-optimisations-and-rs (f71f520) with master (d3a7a51)
Loading