-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Add Node.js data for PerformanceResourceTiming
#25010
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Node.js data for PerformanceResourceTiming
#25010
Conversation
|
This pull request has merge conflicts that must be resolved before it can be merged. |
Co-authored-by: Queen Vinyl Da.i'gyu-Kazotetsu <[email protected]>
caugner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
| "nodejs": [ | ||
| { | ||
| "version_added": "18.6.0", | ||
| "notes": "Since v18.2.0, the value can be returned by `toJSON()`, but can not accessed via property getter." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't double-check, but plausible based on nodejs/node#43593.
| "nodejs": [ | ||
| { | ||
| "version_added": "18.2.0" | ||
| }, | ||
| { | ||
| "version_added": "16.17.0", | ||
| "version_removed": "17.0.0" | ||
| } | ||
| ], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified via nodejs/node#42725.
PerformanceResourceTimingPerformanceResourceTiming
Summary
most are taken from documentation:
https://nodejs.org/docs/latest/api/globals.html#performanceresourcetiming
https://nodejs.org/docs/latest/api/perf_hooks.html#class-performanceresourcetiming
but, note that
initiatorType,nextHopProtocol,responseStart,deliveryTypeandresponseStatusdoes not has its documentation, thus can not determine its version number via documentation (docs issue fired at nodejs/node#55793)most are implemented via nodejs/node#42725, in https://nodejs.org/zh-cn/blog/release/v16.17.0 and https://nodejs.org/zh-cn/blog/release/v18.2.0; also confirmed
nextHopProtocolandresponseStartis implemented here (hereinitiatorTypemay return fromtoJSON()method, but can not access directly)initiatorTypeis implemented via nodejs/node#43593, in https://nodejs.org/zh-cn/blog/release/v16.17.0 and https://nodejs.org/zh-cn/blog/release/v18.6.0deliveryTypeandresponseStatusis implemented via nodejs/node#51589, in https://nodejs.org/zh-cn/blog/release/v22.2.0Test results and supporting details
Related issues