Skip to content

feat add overloads for field types to improve type safety - #1491

Merged
collerek merged 8 commits into
ormar-orm:masterfrom
MaximSrour:update-stub-types-to-improve-type-safety
Jan 28, 2026
Merged

feat add overloads for field types to improve type safety#1491
collerek merged 8 commits into
ormar-orm:masterfrom
MaximSrour:update-stub-types-to-improve-type-safety

fix: consolidate superfluous LargeBinary type defs in stub file

f71d08a
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis completed Jan 28, 2026

Acknowledged Regression: -21.68%

⚡ 6 improved benchmarks
❌ 7 (👁 7) regressed benchmarks
✅ 71 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
test_avg[500] 3.5 ms 2.9 ms +24.17%
👁 test_count[1000] 5.1 ms 6.1 ms -17.36%
👁 test_saving_models_individually[10] 12.6 ms 14.3 ms -11.98%
👁 test_get_one[1000] 3.7 ms 4.8 ms -21.68%
👁 test_get_or_create_when_get[1000] 3.9 ms 4.8 ms -19.29%
👁 test_max[1000] 3.5 ms 4.4 ms -20.03%
test_sum[250] 3.9 ms 2.9 ms +31.03%
test_making_and_inserting_models_in_bulk[10] 5.3 ms 4.2 ms +27.5%
test_sum[500] 3.2 ms 2.8 ms +12.19%
test_sum[1000] 4.8 ms 4.1 ms +17.98%
test_deleting_all[1000] 5.1 ms 3.5 ms +47.25%
👁 test_exists[1000] 4.2 ms 5.1 ms -17.97%
👁 test_first[1000] 4.1 ms 4.7 ms -11.58%

Comparing MaximSrour:update-stub-types-to-improve-type-safety (f71d08a) with master (02e6d49)

Open in CodSpeed