test hash speed (v2)

Revision 2 of this benchmark created by Paul Grenier on


Preparation HTML

<script>
 var hash = {}
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
alpha
hash['a']=1;
hash['aa']=1;
hash['aaa']=1;
hash['aaaa']=1;
ready
int
hash[1]=1;
hash[11]=1;
hash[111]=1;
hash[1111]=1;
ready
c
hash["2"]=1;
hash["22"]=1;
hash["222"]=1;
hash["2222"]=1;
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.

  • Revision 1: published by Kashey on
  • Revision 2: published by Paul Grenier on