Skip to content

Commit

Permalink
Add t.arr() benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
maranomynet committed Jan 30, 2016
1 parent 324b3e2 commit 5103c1f
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion benchmark.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,18 @@ <h2>Test Results:</h2>
t(key, replacements);
}
};
}
},
replacementArray: function ( t, keys ) {
return t.arr && function(){
for (var key in keys)
{
t.arr(key, replacements);
t.arr(key, replacements);
t.arr(key, replacements);
t.arr(key, replacements);
}
};
},
}


Expand Down Expand Up @@ -137,6 +148,13 @@ <h2>Test Results:</h2>
// opts: undefined,
fn: testFuncs.replacement,
},
{
//disabled: true,
name: 'Replacement multiple keys (VDOM)',
keys: testKeys.multiKeyed, // or self-running function;
// opts: undefined,
fn: testFuncs.replacementArray,
},
];


Expand Down

0 comments on commit 5103c1f

Please sign in to comment.