BlogDocs

Introducing classproperty decorator for model_computed_fields(#8437)

Merged
Merging
Jocelyn-Gas:model-computed-field-classproperty
into
main
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
10
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py::test_fastapi_startup_perf
0%
3.6 s
3.6 s
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py::test_fastapi_startup_perf
0%
1.3 s
1.3 s
test_north_star_dump_json
tests/benchmarks/test_north_star.py::test_north_star_dump_json
0%
194.8 ms
194.8 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py::test_north_star_dump_python
0%
76.9 ms
76.9 ms
test_north_star_json_dumps
tests/benchmarks/test_north_star.py::test_north_star_json_dumps
-1%
188 ms
189.9 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py::test_north_star_json_loads
0%
97.3 ms
97.2 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py::test_north_star_validate_json
0%
351.4 ms
350.6 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py::test_north_star_validate_json_strict
-2%
347 ms
353.8 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py::test_north_star_validate_python
0%
180.6 ms
179.8 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py::test_north_star_validate_python_strict
0%
108.2 ms
108.2 ms

Commits

Click on a commit to change the comparison range
base
main
19fa86c
0%
feat: introduce classproperty decorator for model_computed_fields
555026f
5 months ago by Jocelyn-Gas
0%
Switch from class property to class attribute defined in metaclass
bd8f7d2
5 months ago by Jocelyn-Gas
0%
refactor: place class attirbutes with its pair + docstring
b36fca8
5 months ago by Jocelyn-Gas
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.