diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2018-11-11 16:44:19 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2018-11-20 05:14:34 +0800 |
commit | a365bb9cb100514efc3f57f7fac03d0679f73ff5 (patch) | |
tree | 447ea47ec5cee90a2c326849328dee21ee6c25d0 /benchmark/string_decoder | |
parent | 5f25dd1e2eaa73ffb0a51e6d5b5150bcd5d0447e (diff) | |
download | android-node-v8-a365bb9cb100514efc3f57f7fac03d0679f73ff5.tar.gz android-node-v8-a365bb9cb100514efc3f57f7fac03d0679f73ff5.tar.bz2 android-node-v8-a365bb9cb100514efc3f57f7fac03d0679f73ff5.zip |
benchmark: pre-generate data set for URL benchmarks
This patch:
- Introduces `common.bakeUrlData` which can be used to pre-generate
the data set for the URL benchmarks to loop through instead of
looping over a constant.
- Add the option to use WPT data in benchmarks for better diversity
in the input
- Add the option to benchmark URL parsing with base URLs (whatwg only)
- Moves the data in `benchmark/fixtures/url-inputs.js` to
`benchmark/common.js`
PR-URL: https://github.com/nodejs/node/pull/24302
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'benchmark/string_decoder')
0 files changed, 0 insertions, 0 deletions