File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,16 +7,19 @@ import queryString from "query-string";
77await benchmark (
88 {
99 qs ( ) {
10- return qs . parse ( "hello=world&foo=bar " ) ;
10+ return qs . parse ( "frappucino=muffin&goat%5B%5D=scone&pond=moose " ) ;
1111 } ,
1212 "fast-querystring" ( ) {
13- return fastQueryString . parse ( "hello=world&foo=bar " ) ;
13+ return fastQueryString . parse ( "frappucino=muffin&goat%5B%5D=scone&pond=moose " ) ;
1414 } ,
1515 "node:querystring" ( ) {
16- return native . parse ( "hello=world&foo=bar " ) ;
16+ return native . parse ( "frappucino=muffin&goat%5B%5D=scone&pond=moose " ) ;
1717 } ,
1818 "query-string" ( ) {
19- return queryString . parse ( "hello=world&foo=bar" ) ;
19+ return queryString . parse ( "frappucino=muffin&goat%5B%5D=scone&pond=moose" ) ;
20+ } ,
21+ URLSearchParams ( ) {
22+ return new URLSearchParams ( "frappucino=muffin&goat%5B%5D=scone&pond=moose" ) ;
2023 } ,
2124 } ,
2225 { warmup : true , print : { compare : true , compareMode : "previous" } } ,
You can’t perform that action at this time.
0 commit comments