| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@jasnell Do you have any reason to add ERR_ILLEGAL_CONSTRUCTOR for PerformanceEntry? I saw the PerformanceMark without it, so maybe we could remove it from this class too, it will simplify this a lot this code. |
Sorry, something went wrong.
There was a problem hiding this comment.
lgtm
Sorry, something went wrong.
|
impressive |
Sorry, something went wrong.
There was a problem hiding this comment.
oh wow we were passing a new constructor each time?
This is a subtly breaking change (if someone relied on them having different constructors) but I think we never made that commitment so this is fine to me as minor/patch
gj
Sorry, something went wrong.
There was a problem hiding this comment.
🚀
Sorry, something went wrong.
|
Sorry for the force-push but I read another PR of @rluvaton, this new way is a faster (793%->872%) and cleaner way to do the same thing. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM. Out of curiosity though, with the skip throw thing in the constructor, can the perf be improved even further by putting the init behaviour directly in the constructor after the skipped throw?
Sorry, something went wrong.
|
@Qard, I need to try, but it may not change significantly as it will be essentially the same operations. Also, I don't know if there is any spec compliance with the constructor I avoid changing the arguments of the Performance Entry, without = undefined, it breaks the webidl tests. |
Sorry, something went wrong.
Sorry, something went wrong.
|
Is there something I can do about the failing checks? |
Sorry, something went wrong.
Sorry, something went wrong.
|
@anonrig has to start them over and over again, till they are green :P |
Sorry, something went wrong.
PR-URL: #49803 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
PR-URL: #49803 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
PR-URL: nodejs#49803 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
| Back | FazBrowse Home | New Git URL |
Continuing the work started on nodejs/performance#109
Removed two references for ReflectConstruct, the improvements for createPerformanceNodeEntry can be seen using the timerfied function:
The createPerformanceEntry is not used, should I remove it?
/cc @nodejs/performance