Permalink
Browse files

fixed typo in index.html

  • Loading branch information...
1 parent 88a9a99 commit 2e46899f6c6fba85814d200aeed0237ae1fb295e Andrea Giammarchi committed Mar 14, 2013
Showing with 3 additions and 2 deletions.
  1. +1 −1 index.html
  2. +2 −1 test/benchmark.js
View
@@ -7,7 +7,7 @@
var TESTS = ["circular-json"];
</script>
<script>// don't change code here
- for(var i = 0; i < TESTS.length; ++i && document.write('<script src="build/' + TESTS + '.max.js"><' + '/script>'));
+ for(var i = 0; i < TESTS.length; ++i && document.write('<script src="build/' + TESTS[i - 1] + '.max.js"><' + '/script>'));
function wru(wru){
var
all = [],
View
@@ -47,6 +47,8 @@ dummy100 = dummy50.concat(dummy50);
console.log('-----------------------------------');
run(CircularJSON.stringify, dummy100);
run(CircularJSON.parse, r);
+run(JSON.stringify, dummy100);
+run(JSON.parse, r);
console.log('-----------------------------------');
console.log('90% same objects');
dummy100 = [].concat(
@@ -56,6 +58,5 @@ dummy100 = [].concat(
console.log('-----------------------------------');
run(CircularJSON.stringify, dummy100);
run(CircularJSON.parse, r);
-
run(JSON.stringify, dummy100);
run(JSON.parse, r);

0 comments on commit 2e46899

Please sign in to comment.