HTML Preparation code:
AخA
 
1
..
Script Preparation code:
x
 
    var ka = ['id', 'token', 'family', 'grade', 'hex'];
    var ko = {
      id: undefined,
      token: undefined,
      family: undefined,
      grade: undefined,
      hex: undefined
    };
    var k = 'token';
Tests:
  • fn arr

     
        const fl = function(e) {
          return e !== k
        };
        const fna = function() {
          return ka.filter(fl)
        };
        fna();
  • fn obj

     
      const fno = function() {
          const {[k]: _, ...rest} = ko;
          return Object.keys(rest);
        };
      fno();
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    fn arr
    fn obj

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
Chrome 113 on Linux
View result in a separate tab
Test name Executions per second
fn arr 1005017.4 Ops/sec
fn obj 1442963.2 Ops/sec