HTML Preparation code:
AخA
 
1
..
Script Preparation code:
 
  var ka = ['id', 'token', 'family', 'grade', 'hex'];
  var k = 'token';    
  var fl = function(e) {
      return e !== k
};
Tests:
  • fn named

     
    ka.filter(fl);
  • fn anon

     
    ka.filter(e => e !== k);
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    fn named
    fn anon

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15
Safari 16 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
fn named 2126580.2 Ops/sec
fn anon 2441566.5 Ops/sec