Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
JS: write text 1912033.1 Ops/sec
JQuery: write text 1913336.4 Ops/sec
JS: write int 1933515.9 Ops/sec
JQuery: write int 1979427.8 Ops/sec
JS: increment (r+w) int w/o parsing 1938204.0 Ops/sec
JQuery: increment (r+w) int w/o parsing 2050809.8 Ops/sec
JS: increment (r+w) int with parsing 1966267.6 Ops/sec
HTML Preparation code:
Tests:
  • JS: write text

  • JQuery: write text

  • JS: write int

  • JQuery: write int

  • JS: increment (r+w) int w/o parsing

  • JQuery: increment (r+w) int w/o parsing

  • JS: increment (r+w) int with parsing