Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed typo in index.html

  • Loading branch information...
commit 2e46899f6c6fba85814d200aeed0237ae1fb295e 1 parent 88a9a99
@WebReflection authored
Showing with 3 additions and 2 deletions.
  1. +1 −1  index.html
  2. +2 −1  test/benchmark.js
View
2  index.html
@@ -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
3  test/benchmark.js
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.