Object/Array

Benchmark created by Joe Flateau on


Setup

function obj(){ return {"foo":"bar" }; }
    function arr(){ return ["bar"] }
    function val(){ return "bar"; }

Test runner

Ready to run.

Testing in
TestOps/sec
Obj
obj()
ready
arr
arr()
ready
val
val()
ready

Revisions

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

  • Revision 1: published by Joe Flateau on