Skip to content

Lazily create builtin bindings - #26510

Merged
charliermarsh merged 4 commits into
mainfrom
charlie/codex-codspeed-speedup
Jul 7, 2026
Merged

Lazily create builtin bindings#26510
charliermarsh merged 4 commits into
mainfrom
charlie/codex-codspeed-speedup

Make lazy builtin lookup explicit

634be4d
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Jul 7, 2026

Performance Gate Passed

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 10 improved benchmarks
✅ 50 untouched benchmarks
⏩ 93 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation linter/default-rules[numpy/globals.py] 179.1 µs 148.7 µs +20.42%
Memory linter/default-rules[pydantic/types.py] 348.9 KB 306.7 KB +13.78%
Memory linter/default-rules[numpy/ctypeslib.py] 164.2 KB 146.2 KB +12.31%
Simulation linter/all-with-preview-rules[numpy/globals.py] 832.5 µs 749.1 µs +11.13%
Simulation linter/all-rules[numpy/globals.py] 717 µs 664.6 µs +7.88%
Memory linter/all-rules[pydantic/types.py] 648.8 KB 606.6 KB +6.97%
Simulation linter/default-rules[unicode/pypinyin.py] 370.1 µs 346.3 µs +6.87%
Memory linter/all-with-preview-rules[pydantic/types.py] 667.2 KB 625 KB +6.76%
Memory linter/all-rules[numpy/ctypeslib.py] 289.3 KB 271.3 KB +6.64%
Memory linter/all-with-preview-rules[numpy/ctypeslib.py] 317.3 KB 299.3 KB +6.01%

Tip

Curious why this is faster? Use the CodSpeed MCP and ask your agent.


Comparing charlie/codex-codspeed-speedup (634be4d) with main (71d151f)

Open in CodSpeed

Footnotes

  1. 93 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.