Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Chrome 111
Windows
Desktop
one year ago
Test name Executions per second
Class: direct 11485669.0 Ops/sec
Class: apply 5810203.0 Ops/sec
Class: bind 11344389.0 Ops/sec
Object literal: direct 11472298.0 Ops/sec
Object literal: apply 5281718.0 Ops/sec
Object literal: bind 11536628.0 Ops/sec
Object with context: direct 11034913.0 Ops/sec
Object with context: variable 11176395.0 Ops/sec
Script Preparation code:
Tests:
  • Class: direct

  • Class: apply

  • Class: bind

  • Object literal: direct

  • Object literal: apply

  • Object literal: bind

  • Object with context: direct

  • Object with context: variable


;