Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix sequence like validator with strict True #8977

Merged
merged 10 commits into from
Mar 26, 2024

Update _std_types_schema.py

cd2d802
Select commit
Loading
Failed to load commit list.
Merged

fix sequence like validator with strict True #8977

Update _std_types_schema.py
cd2d802
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis completed Mar 26, 2024 in 0s

Acknowledged Regression: -19.35%

Summary

⚡ 5 improvements
❌ 3 (👁 3) regressions
✅ 2 untouched benchmarks

Benchmarks breakdown

Benchmark main andresliszt:fix/strict-iterable-like Change
test_fastapi_startup_perf 3.6 s 1.7 s ×2.2
test_fastapi_startup_perf 1,272 ms 193.4 ms ×6.6
test_north_star_json_dumps 179.6 ms 123.1 ms +45.9%
👁 test_north_star_json_loads 98.3 ms 116.9 ms -15.9%
test_north_star_validate_json 296.6 ms 258.1 ms +14.91%
test_north_star_validate_json_strict 293.1 ms 257.4 ms +13.88%
👁 test_north_star_validate_python 169.2 ms 204.8 ms -17.36%
👁 test_north_star_validate_python_strict 109.3 ms 135.6 ms -19.35%