perf: memoize __getattr__ on JVMView / JavaPackage / JavaClass (issue #557)#14
Closed
Tagar wants to merge 4 commits into
Closed
perf: memoize __getattr__ on JVMView / JavaPackage / JavaClass (issue #557)#14Tagar wants to merge 4 commits into
Tagar wants to merge 4 commits into
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
May 22, 2026 in 0s
Performance Gate Passed
⚡ 3 improved benchmarks
✅ 19 untouched benchmarks
⏩ 7 skipped benchmarks1
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | WallTime | test_macro_scenario[XA-3] |
392.5 ms | 2 ms | ×200 |
| ⚡ | WallTime | test_m3_jvmview_class_resolution |
391.6 µs | 2.6 µs | ×150 |
| ⚡ | WallTime | test_m4_constructor_and_finalize |
574.7 µs | 192.8 µs | ×3 |
Tip
Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.
Comparing c1-python-attribute-caches (a74edbe) with master (77eb450)
Footnotes
-
7 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
Loading