mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-26 23:21:36 +00:00
migrating repo to Bodyrep org
This commit is contained in:
17
node_modules/qs/benchmark.js
generated
vendored
Normal file
17
node_modules/qs/benchmark.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
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);
|
||||
Reference in New Issue
Block a user