| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Review requested:
|
Sorry, something went wrong.
Sorry, something went wrong.
|
@mscdex afaik, benchmark ci is down... |
Sorry, something went wrong.
|
@anonrig Wait for it to come back up or ask @nodejs/build about it? |
Sorry, something went wrong.
Definitely, @mscdex. I created an issue: nodejs/build#3245 |
Sorry, something went wrong.
Sorry, something went wrong.
|
@nodejs/url please review |
Sorry, something went wrong.
| if ((typeof pair !== 'object' && typeof pair !== 'function') || | ||
| pair === null || | ||
| typeof pair[SymbolIterator] !== 'function') { | ||
| if (pair == null) { |
There was a problem hiding this comment.
Can we move this branch to be with the catch-all else? You'll need to change the if clause below to
if (pair == null ||
typeof pair !== 'object' && typeof pair !== 'function' ||
typeof pair[SymbolIterator] !== 'function')) {but it reads a bit nicer.
Sorry, something went wrong.
|
@mscdex I started a benchmark CI: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/1316/ @jasnell @nodejs/url Can you review? url/url-searchparams-creation.js n=1000000 inputType='iterable' type='array' *** 28.65 % ±3.66% ±4.87% ±6.34% url/url-searchparams-creation.js n=1000000 inputType='iterable' type='encodelast' *** 76.70 % ±5.39% ±7.22% ±9.49% url/url-searchparams-creation.js n=1000000 inputType='iterable' type='encodemany' *** 76.64 % ±5.16% ±6.92% ±9.11% url/url-searchparams-creation.js n=1000000 inputType='iterable' type='multiprimitives' *** 72.97 % ±5.19% ±6.94% ±9.10% url/url-searchparams-creation.js n=1000000 inputType='iterable' type='noencode' *** 82.60 % ±5.46% ±7.32% ±9.64% url/url-searchparams-creation.js n=1000000 inputType='object' type='array' 1.02 % ±3.15% ±4.20% ±5.46% url/url-searchparams-creation.js n=1000000 inputType='object' type='encodelast' -3.32 % ±3.88% ±5.16% ±6.72% url/url-searchparams-creation.js n=1000000 inputType='object' type='encodemany' -0.23 % ±2.83% ±3.76% ±4.89% url/url-searchparams-creation.js n=1000000 inputType='object' type='multiprimitives' 0.63 % ±3.51% ±4.66% ±6.07% url/url-searchparams-creation.js n=1000000 inputType='object' type='noencode' 1.00 % ±3.57% ±4.76% ±6.21% url/url-searchparams-creation.js n=1000000 inputType='string' type='array' 1.00 % ±4.28% ±5.70% ±7.41% url/url-searchparams-creation.js n=1000000 inputType='string' type='encodelast' -2.44 % ±2.92% ±3.89% ±5.06% url/url-searchparams-creation.js n=1000000 inputType='string' type='encodemany' -2.24 % ±2.74% ±3.64% ±4.74% url/url-searchparams-creation.js n=1000000 inputType='string' type='multiprimitives' -1.51 % ±3.47% ±4.61% ±6.00% url/url-searchparams-creation.js n=1000000 inputType='string' type='noencode' -0.19 % ±3.33% ±4.42% ±5.76% |
Sorry, something went wrong.
PR-URL: #47190 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
PR-URL: #47190 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
PR-URL: #47190 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
PR-URL: #47190 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
PR-URL: #47190 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
PR-URL: nodejs#47190 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
| Back | FazBrowse Home | New Git URL |
Summary
Footnote
There is one particular change made regarding to a comment written in 2017:
Upon investigating URL spec, I couldn't find any specific reasoning for this and removed it. The spec mentions that:
Benchmark Result
cc @nodejs/url