Avatar for the byteoak user
byteoak
py4j
BlogDocsChangelog

perf: memoize __getattr__ on JVMView / JavaPackage / JavaClass (issue #557)

#14Closed
Comparing
c1-python-attribute-caches
(
a74edbe
) with
master
(
77eb450
)
CodSpeed Performance Gauge
×45
Improvement
3
Untouched
19
Skipped
7

Benchmarks

7 total
test_m5b_encode_string
py4j-python/src/py4j/tests/perf/scenarios/micro.py
Skipped
28.2 µs*
test_m5c_encode_float
py4j-python/src/py4j/tests/perf/scenarios/micro.py
Skipped
27.8 µs*
test_m7a_escape
py4j-python/src/py4j/tests/perf/scenarios/micro.py
Skipped
22.2 µs*
test_m6a_decode_int
py4j-python/src/py4j/tests/perf/scenarios/micro.py
Skipped
22.9 µs*
test_m7b_unescape
py4j-python/src/py4j/tests/perf/scenarios/micro.py
Skipped
62.4 µs*
test_m6b_decode_string
py4j-python/src/py4j/tests/perf/scenarios/micro.py
Skipped
37.8 µs*
test_m5a_encode_int
py4j-python/src/py4j/tests/perf/scenarios/micro.py
Skipped
25.7 µs*

Commits

Click on a commit to change the comparison range
Base
master
77eb450
×45
perf: memoize JVMView / JavaPackage / JavaClass __getattr__ (issue #557)
a74edbe
2 months ago
by Tagar
© 2026 CodSpeed Technology
Home Terms Privacy Docs