byteoak
py4j
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: memoize __getattr__ on JVMView / JavaPackage / JavaClass (issue #557)
#14
Closed
Comparing
c1-python-attribute-caches
(
a74edbe
) with
master
(
77eb450
)
CodSpeed Performance Gauge
×45
Improvement
3
Untouched
19
Skipped
7
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Skipped
29 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_macro_scenario[XA-3]
py4j-python/src/py4j/tests/perf/scenarios/codspeed_macros.py
CodSpeed Performance Gauge
×200
392.5 ms
2 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_m3_jvmview_class_resolution
py4j-python/src/py4j/tests/perf/scenarios/micro.py
CodSpeed Performance Gauge
×150
391.6 µs
2.6 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_m4_constructor_and_finalize
py4j-python/src/py4j/tests/perf/scenarios/micro.py
CodSpeed Performance Gauge
×3
574.7 µs
192.8 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_m7b_unescape
py4j-python/src/py4j/tests/perf/scenarios/micro.py
CodSpeed Performance Gauge
-5%
22 µs
23.3 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_m5a_encode_int
py4j-python/src/py4j/tests/perf/scenarios/micro.py
CodSpeed Performance Gauge
+3%
2.1 µs
2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_m5b_encode_string
py4j-python/src/py4j/tests/perf/scenarios/micro.py
CodSpeed Performance Gauge
+3%
2.7 µs
2.6 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_macro_scenario[X6]
py4j-python/src/py4j/tests/perf/scenarios/codspeed_macros.py
CodSpeed Performance Gauge
+3%
67.7 ms
65.8 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_macro_scenario[X1-1]
py4j-python/src/py4j/tests/perf/scenarios/codspeed_macros.py
CodSpeed Performance Gauge
-2%
934 ms
956.5 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_macro_scenario[X4]
py4j-python/src/py4j/tests/perf/scenarios/codspeed_macros.py
CodSpeed Performance Gauge
-2%
41.2 ms
42.2 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_m6a_decode_int
py4j-python/src/py4j/tests/perf/scenarios/micro.py
CodSpeed Performance Gauge
+2%
1.9 µs
1.9 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_m2b_instance_append_str
py4j-python/src/py4j/tests/perf/scenarios/micro.py
CodSpeed Performance Gauge
-2%
186.4 µs
190.1 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_macro_scenario[X2-10k]
py4j-python/src/py4j/tests/perf/scenarios/codspeed_macros.py
CodSpeed Performance Gauge
+1%
887.2 ms
875.2 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_macro_scenario[XB]
py4j-python/src/py4j/tests/perf/scenarios/codspeed_macros.py
CodSpeed Performance Gauge
-1%
65 ms
65.9 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_m6b_decode_string
py4j-python/src/py4j/tests/perf/scenarios/micro.py
CodSpeed Performance Gauge
+1%
5.3 µs
5.3 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_m1_static_call_no_args
py4j-python/src/py4j/tests/perf/scenarios/micro.py
CodSpeed Performance Gauge
+1%
93.9 µs
92.9 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_macro_scenario[XC]
py4j-python/src/py4j/tests/perf/scenarios/codspeed_macros.py
CodSpeed Performance Gauge
-1%
937.1 ms
947.2 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_m5c_encode_float
py4j-python/src/py4j/tests/perf/scenarios/micro.py
CodSpeed Performance Gauge
+1%
2.7 µs
2.7 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_m7a_escape
py4j-python/src/py4j/tests/perf/scenarios/micro.py
CodSpeed Performance Gauge
+1%
4.5 µs
4.5 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_m2a_instance_append_int
py4j-python/src/py4j/tests/perf/scenarios/micro.py
CodSpeed Performance Gauge
+1%
189.4 µs
188.2 µs
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_macro_scenario[X7-16k]
py4j-python/src/py4j/tests/perf/scenarios/codspeed_macros.py
CodSpeed Performance Gauge
0%
31 ms
31.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_cold_start_scenario[XD]
py4j-python/src/py4j/tests/perf/scenarios/codspeed_macros.py
CodSpeed Performance Gauge
0%
1.1 s
1.1 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_macro_scenario[X8-16k]
py4j-python/src/py4j/tests/perf/scenarios/codspeed_macros.py
CodSpeed Performance Gauge
0%
46.1 ms
46.1 ms
The benchmarks below were skipped, so their baseline results are used instead. If they were deleted in your codebase, archive them to remove them from the performance reports.
Learn more about archiving benchmarks
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_m5b_encode_string
py4j-python/src/py4j/tests/perf/scenarios/micro.py
Skipped
28.2 µs
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_m5c_encode_float
py4j-python/src/py4j/tests/perf/scenarios/micro.py
Skipped
27.8 µs
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_m7a_escape
py4j-python/src/py4j/tests/perf/scenarios/micro.py
Skipped
22.2 µs
*
1
2
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