Run details:
Mozilla/5.0 (Linux; Android 9; G8142) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.120 Mobile Safari/537.36
Chrome Mobile 91
Android
Mobile
3 years ago
Test name Executions per second
clamp_50 324367.9 Ops/sec
clamp2_50 807210.6 Ops/sec
clamp_150 329325.6 Ops/sec
clamp2_150 815514.8 Ops/sec
Script Preparation code:
Tests:
  • clamp_50

  • clamp2_50

  • clamp_150

  • clamp2_150