Uh oh!
There was an error while loading. Please reload this page.
benchmark: unify input to url-related benchmarks - #11264
Conversation
There was a problem hiding this comment.
Ooop, thanks for catching that.
There was a problem hiding this comment.
This is covered in legacy-vs-whatwg-url-serialize.js with method="whatwg", also href is an alias of toString so we can just look at the results of href.
mscdex
commented
Feb 9, 2017
There's a typo in the second commit message. |
7a15a68 to
95157e9Comparejoyeecheung
commented
Feb 12, 2017
@mscdex Thanks for the review, updated, PTAL. |
joyeecheung
commented
Feb 12, 2017
joyeecheung
commented
Feb 13, 2017
@mscdex Can I have a LGTM please? Thanks! |
95157e9 to
b486814Comparejoyeecheung
commented
Feb 15, 2017
Rebased |
| ws: 'ws://localhost:9229/f46db715-70df-43ad-a359-7f9949f39868', | ||
| javascript: 'javascript:alert("node is awesome");', | ||
| percent: 'https://%E4%BD%A0/foo', | ||
| dot: 'https://example.org/./a/../b/./c' |
There was a problem hiding this comment.
Could we add mailto:domain@example.com into here as an example case of mailto protocol?
There was a problem hiding this comment.
That should probably just hit the same code paths as 'javascript:alert("node is awesome");'
mscdex
commented
Feb 15, 2017
mscdex
commented
Feb 15, 2017
CI is green, LGTM. |
PR-URL: #11264 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
PR-URL: #11264 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
PR-URL: #11264 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
jasnell
commented
Feb 15, 2017
Landed in e571fd4...7ee9504 |
PR-URL: nodejs#11264 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
PR-URL: nodejs#11264 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
PR-URL: #11264 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
PR-URL: #11264 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
This PR moves common input to url-related benchmarks into
fixturesand removes duplicate benchmarksurl-parse.jsis covered bylegacy-vs-whatwg-url-parse.jswithmethod="legacy"whatwg-url-properties.jsis covered bylegacy-vs-whatwg-url-serialize.jswithmethod="legacy"(it is still worth keeping becauselegacy-vs-whatwg-url-get-prop.jsbenchmarks getting all properties at once whilewhatwg-url-properties.jsbenchmarks getting/setting individual property)Some of the search params cases are taken from #11234 per suggestion from #11170 (review)
cc @nodejs/url
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
benchmark, url