-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
performance.getEntriesBy[Name|Type](undefined)
returns all the entries
#42028
Labels
perf_hooks
Issues and PRs related to the implementation of the Performance Timing API.
Comments
Also, |
Mesteery
added
the
perf_hooks
Issues and PRs related to the implementation of the Performance Timing API.
label
Feb 17, 2022
@meixg is this something you would be interesting in contributing a fix for? |
Sure, leave it to me. |
@meixg working on this? |
Mesteery
changed the title
performance.getEntriesByType(undefined) returns all the entries
Feb 23, 2022
performance.getEntriesBy[Name|Type](undefined)
returns all the entries
Mesteery
changed the title
Feb 23, 2022
performance.getEntriesBy[Name|Type](undefined)
returns all the entriesperformance.getEntriesByName(undefined)
returns all the entries
Mesteery
changed the title
Feb 23, 2022
performance.getEntriesByName(undefined)
returns all the entriesperformance.getEntriesBy[Name|Type[(undefined)
returns all the entries
Mesteery
changed the title
Feb 23, 2022
performance.getEntriesBy[Name|Type[(undefined)
returns all the entriesperformance.getEntriesBy[Name|Type](undefined)
returns all the entries
Yeah, just had a few busy days, made a PR for this :). |
Thanks @meixg keep it up! |
sxa
pushed a commit
to sxa/node
that referenced
this issue
Mar 7, 2022
Fix: nodejs#42028 PR-URL: nodejs#42104 Fixes: nodejs#42028 Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
xtx1130
pushed a commit
to xtx1130/node
that referenced
this issue
Apr 25, 2022
Fix: nodejs#42028 PR-URL: nodejs#42104 Fixes: nodejs#42028 Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
v16.13.2、v17.5.0
Platform
Linux meixg-desktop 5.11.0-43-generic #47~20.04.2-Ubuntu SMP Mon Dec 13 11:06:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
perf_hooks
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
consistently
What is the expected behavior?
What do you see instead?
Additional information
Chrome、Safari will only output the 'undefined' one:
To retrieve all entries, we need to use
.getEntries()
.This may be related to #42024 and #42004
The text was updated successfully, but these errors were encountered: