Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36
Chrome 91
Mac OS X 10.14.4
Desktop
2 years ago
Test name Executions per second
codepointat tostring 12374830.0 Ops/sec
charcodeat tostring 12229670.0 Ops/sec
codepointat 13269170.0 Ops/sec
charcodeat 13242250.0 Ops/sec
Script Preparation code:
Tests:
  • codepointat tostring

  • charcodeat tostring

  • codepointat

  • charcodeat