Script Preparation code:
AخA
 
var array = new Float32Array(10000);
var array_with_attributes = new Float32Array(10000);
array_with_attributes.foo = 1;
Tests:
  • without attributes

     
    for (var i = 0, li = array.length; i < li; i++) { array[i] = i; }
  • with attributes

     
    for (var i = 0, li = array_with_attributes.length; i < li; i++) { array_with_attributes[i] = i; }
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    without attributes
    with attributes

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Chrome 53 on Mac OS X 10.11.6
View result in a separate tab
Test name Executions per second
without attributes 1115.5 Ops/sec
with attributes 1115.4 Ops/sec