feat: implement bridge_python codegen #3421
Merged
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Apr 28, 2026 in 0s
Performance Gate Passed
⚠️ Unknown Walltime execution environment detected
Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.
For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.
⚠️ Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.
⚡ 15 improved benchmarks
⏩ 105 skipped benchmarks1
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | WallTime | bench_incremental_add_attribute |
32.1 ms | 28.8 ms | +11.42% |
| ⚡ | WallTime | bench_parse_only_simple |
36.8 µs | 29.5 µs | +24.74% |
| ⚡ | WallTime | bench_empty_project |
21.5 ms | 19.1 ms | +12.26% |
| ⚡ | WallTime | bench_incremental_add_new_file |
18.5 ms | 16.8 ms | +10.3% |
| ⚡ | WallTime | bench_incremental_rename_type |
49.2 ms | 40.3 ms | +22.11% |
| ⚡ | WallTime | bench_lexer_only_simple |
24.3 µs | 16.4 µs | +48.2% |
| ⚡ | WallTime | bench_incremental_modify_function |
13.7 ms | 11.9 ms | +15.27% |
| ⚡ | WallTime | bench_incremental_add_field |
13.8 ms | 12.3 ms | +11.95% |
| ⚡ | WallTime | bench_incremental_add_string_char |
32.8 ms | 28 ms | +16.9% |
| ⚡ | WallTime | bench_incremental_add_user_field |
40.1 ms | 34.4 ms | +16.8% |
| ⚡ | WallTime | bench_incremental_no_change |
11.1 ms | 9.1 ms | +22.17% |
| ⚡ | WallTime | bench_scale_100_functions |
148 ms | 117.9 ms | +25.46% |
| ⚡ | WallTime | bench_single_simple_file |
23.2 ms | 19.8 ms | +17.11% |
| ⚡ | WallTime | bench_incremental_close_string |
32.7 ms | 27.9 ms | +17.29% |
| ⚡ | WallTime | bench_scale_deep_nesting |
37.4 ms | 30.8 ms | +21.74% |
Comparing sam-pyc (9940f06) with canary (96b6edb)
Footnotes
-
105 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