Skip to content

Ablate native macOS certificate verification - #1590

Draft
zaniebot wants to merge 67 commits into
zb/bench-system-certificatesfrom
zb/bench-ablate-system-certificates
Draft

zaniebot wants to merge 67 commits into
zb/bench-system-certificatesfrom
zb/bench-ablate-system-certificates

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Export and parse the macOS system roots before constructing HTTP clients, restoring the certificate-materialization cost avoided by astral-sh#18550. Other platforms and explicitly configured certificate bundles retain their usual paths.

@codspeed

codspeed Bot commented Sep 12, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 42.64%

⚠️ 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.

⚡ 1 improved benchmark
❌ 3 regressed benchmarks
✅ 326 untouched benchmarks
⏩ 52 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ WallTime system[1] 61 ms 136.6 ms -55.34%
❌ WallTime system[15] 66 ms 143.7 ms -54.08%
❌ WallTime system[5] 66.4 ms 140.3 ms -52.65%
⚡ Simulation write[uv] 12.1 ms 10.8 ms +11.5%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing zb/bench-ablate-system-certificates (9601c99) with zb/bench-system-certificates (c803232)

Open in CodSpeed

Footnotes

  1. 52 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. ↩

@zaniebot
zaniebot force-pushed the zb/bench-system-certificates branch from c803232 to df15363 Compare September 12, 2026 13:40
@zaniebot zaniebot added risk:3 Credible risk of meaningful incorrect behavior or regression; bounded or recoverable. priority:5 Backlog: speculative, cosmetic, or low-value work that can comfortably be deferred. size:3 Substantial: interacting behaviors, difficult compatibility questions, or a careful migration. labels Sep 22, 2026
@zaniebot zaniebot added the build:skip-release Disable building release binaries for a pull request label Oct 7, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:skip-release Disable building release binaries for a pull request performance priority:5 Backlog: speculative, cosmetic, or low-value work that can comfortably be deferred. risk:3 Credible risk of meaningful incorrect behavior or regression; bounded or recoverable. size:3 Substantial: interacting behaviors, difficult compatibility questions, or a careful migration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants