Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.141 YaBrowser/22.3.3.852 Yowser/2.5 Safari/537.36
Yandex Browser 22
Windows
Desktop
one year ago
Test name Executions per second
isEmpty empty string 2539563.0 Ops/sec
length empty string 4902169.0 Ops/sec
isEmpty filled string 2557629.0 Ops/sec
length filled string 4831106.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • isEmpty empty string

  • length empty string

  • isEmpty filled string

  • length filled string