BlogDocs

WIP: cached properties implementation using descriptor rather than ge…(#1357)

Comparing
diabolo-dan:cached_properties_via_descriptor
(
a1a8bf3
) with
main
(
0e8e82a
)
+2%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
8
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

test_instantiate_no_defaults
bench/test_benchmarks.py::test_instantiate_no_defaults
+5%
1.3 ms
1.2 ms
test_hash
bench/test_benchmarks.py::test_hash
+4%
1.2 ms
1.1 ms
test_instantiate_with_defaults
bench/test_benchmarks.py::test_instantiate_with_defaults
+4%
1.3 ms
1.2 ms
test_create_simple_class_make_class
bench/test_benchmarks.py::test_create_simple_class_make_class
0%
1.5 s
1.5 s
test_eq_unequal
bench/test_benchmarks.py::test_eq_unequal
0%
671.6 µs
669.9 µs
test_eq_equal
bench/test_benchmarks.py::test_eq_equal
0%
872.7 µs
871.8 µs
test_create_frozen_class
bench/test_benchmarks.py::test_create_frozen_class
0%
1.8 s
1.8 s
test_create_simple_class
bench/test_benchmarks.py::test_create_simple_class
0%
1.5 s
1.5 s

Commits

Click on a commit to change the comparison range
base
main
0e8e82a
+2%
WIP: cached properties implementation using descriptor rather than getattr
2adaae7
1 month ago
0%
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
a1a8bf3
1 month ago
by pre-commit-ci[bot]
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.