| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/NodeJSDevelopment/node-querystring/master/benchmark.js | [Back] [Original] |
var qs = require('./');
var times = 100000
, start = new Date
, n = times;
console.log('times: %d', times);
while (n--) qs.parse('foo=bar');
console.log('simple: %dms', new Date - start);
var start = new Date
, n = times;
while (n--) qs.parse('user[name][first]=tj&user[name][last]=holowaychuk');
console.log('nested: %dms', new Date - start);
| Web Proxy Viewer | New URL | Original Page |