Skip to content

v5.7.0#201

Merged
szegedi merged 2 commits intov5.xfrom
v5.7.0-proposal
Mar 26, 2025
Merged

v5.7.0#201
szegedi merged 2 commits intov5.xfrom
v5.7.0-proposal

Conversation

@szegedi
Copy link
Copy Markdown

@szegedi szegedi commented Mar 19, 2025

Release 5.7.0

JIRA: PROF-11523

szegedi and others added 2 commits March 19, 2025 16:28
* Guard against collecting async ID while performing GC

* Additional sanity checks:
- don't sample a dead isolate
- only try to retrieve an async ID when there's a context

* Move GetAsyncId and GC callbacks out of the header file.
Use relaxed load/store with appropriate signal fences for cheaper reading/writing of gcCount.

* Have a config option for collecting async IDs
@szegedi szegedi requested a review from nsavoire as a code owner March 19, 2025 16:17
@github-actions
Copy link
Copy Markdown

Overall package size

Self size: 9.57 MB
Deduped: 9.94 MB
No deduping: 9.94 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | source-map | 0.7.4 | 226 kB | 226 kB | | pprof-format | 2.1.0 | 111.69 kB | 111.69 kB | | p-limit | 3.1.0 | 7.75 kB | 13.78 kB | | delay | 5.0.0 | 11.17 kB | 11.17 kB | | node-gyp-build | 3.9.0 | 8.81 kB | 8.81 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

Comment thread ts/src/time-profiler.ts
withContexts?: boolean;
workaroundV8Bug?: boolean;
collectCpuTime?: boolean;
collectAsyncId?: boolean;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Quality Violation

Prop name (collectAsyncId) doesn't match rule (is|has) (...read more)

Enforces a consistent naming pattern for boolean props.

The pattern is: "^(is|has)[A-Z]([A-Za-z0-9]?)+" to enforce is and has prefixes.

View in Datadog  Leave us feedback  Documentation

@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Mar 20, 2025

Benchmarks

Benchmark execution time: 2025-03-20 12:44:42

Comparing candidate commit 893e911 in PR branch v5.7.0-proposal with baseline commit 70d3943 in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 90 metrics, 30 unstable metrics.

@szegedi szegedi merged commit 1872ddd into v5.x Mar 26, 2025
57 checks passed
@szegedi szegedi deleted the v5.7.0-proposal branch March 26, 2025 21:42
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