Skip to content

feat: add MacOS support#81

Draft
not-matthias wants to merge 2 commits into
mainfrom
cod-2720-bump-instrument-hooks-in-codspeed-node-to-support-macos
Draft

feat: add MacOS support#81
not-matthias wants to merge 2 commits into
mainfrom
cod-2720-bump-instrument-hooks-in-codspeed-node-to-support-macos

Conversation

@not-matthias
Copy link
Copy Markdown
Member

No description provided.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Jun 2, 2026

Merging this PR will degrade performance by 42.52%

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

Open the report in CodSpeed to investigate

⚡ 6 improved benchmarks
❌ 2 regressed benchmarks
✅ 217 untouched benchmarks
🆕 1 new benchmark

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Memory test_recursive_fibo_20 19 B 9,355 B -99.8%
Simulation test_recursive_fibo_10 139 µs 361.4 µs -61.53%
Memory wait 500ms 64.1 KB 23 KB ×2.8
Simulation short body 121.2 µs 73.2 µs +65.5%
Memory wait 1ms 16 B 10 B +60%
Simulation one 589.9 µs 401.9 µs +46.79%
WallTime test sync baz 10 384 ns 312 ns +23.08%
Simulation long body 382.1 µs 333.3 µs +14.66%
🆕 WallTime fibo darwin N/A 8 ms N/A

Tip

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


Comparing cod-2720-bump-instrument-hooks-in-codspeed-node-to-support-macos (32c3b31) with main (4dae798)

Open in CodSpeed

@not-matthias not-matthias force-pushed the cod-2720-bump-instrument-hooks-in-codspeed-node-to-support-macos branch from ee03ce3 to f0b1349 Compare June 2, 2026 10:26
Add benches/macos.bench.ts guarded with describe.skipIf(!darwin) so it
only runs on macOS, and wire the walltime-macos-test CI job to execute it
via a direct `node vitest.mjs bench --run macos` invocation.
@not-matthias not-matthias force-pushed the cod-2720-bump-instrument-hooks-in-codspeed-node-to-support-macos branch from f0b1349 to 3982c34 Compare June 2, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant