Skip to content

feat: dump node process information when running#77

Open
GuillaumeLagrange wants to merge 1 commit intomainfrom
cod-2036-node-in-profiling-cli
Open

feat: dump node process information when running#77
GuillaumeLagrange wants to merge 1 commit intomainfrom
cod-2036-node-in-profiling-cli

Conversation

@GuillaumeLagrange
Copy link
Copy Markdown
Contributor

No description provided.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 27, 2026

Merging this PR will degrade performance by 39.05%

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

⚡ 1 improved benchmark
❌ 9 regressed benchmarks
✅ 158 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Memory wait 1ms 7 B 10 B -30%
Memory short body 480 B 608 B -21.05%
Memory short body 480 B 608 B -21.05%
Memory long body 960 B 1,088 B -11.76%
Memory wait 500ms 39.1 KB 64.1 KB -39.05%
WallTime short body 2.1 µs 1.8 µs +17.45%
Simulation wait 500ms 8.7 ms 13.1 ms -34.17%
Simulation wait 1sec 19.2 ms 24 ms -19.87%
Simulation wait 1sec 21.3 ms 23.8 ms -10.58%
Simulation wait 500ms 10.5 ms 13.2 ms -20.72%

Comparing cod-2036-node-in-profiling-cli (c157255) with main (4f97cbe)

Open in CodSpeed

@GuillaumeLagrange GuillaumeLagrange force-pushed the cod-2036-node-in-profiling-cli branch from 7c01712 to 37a9e74 Compare March 27, 2026 08:34
@GuillaumeLagrange GuillaumeLagrange marked this pull request as ready for review March 27, 2026 09:00
@GuillaumeLagrange GuillaumeLagrange force-pushed the cod-2036-node-in-profiling-cli branch 2 times, most recently from 46124a6 to 756b1e2 Compare April 1, 2026 06:45
const hooks = native_core.InstrumentHooks;
hooks.setEnvironment("nodejs", "version", process.versions.node);
hooks.setEnvironment("nodejs", "v8", process.versions.v8);
hooks.setEnvironment("nodejs", "arch", process.arch);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove it since it is already collected

@GuillaumeLagrange GuillaumeLagrange force-pushed the cod-2036-node-in-profiling-cli branch from 756b1e2 to c157255 Compare April 1, 2026 10:06
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.

2 participants