Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.90 Safari/537.36
Chrome 75
Windows
Desktop
5 years ago
Test name Executions per second
positive hashcode 1 45082.7 Ops/sec
positive hashcode 2 44256.9 Ops/sec
32 bit hashcode 44505.8 Ops/sec
many bit hashcode 46072.5 Ops/sec
positive hashcode 1.1 45513.2 Ops/sec
positive hashcode 2.1 44023.3 Ops/sec
positive hashcode 2.2 1103620.8 Ops/sec
positive hashcode 1.2 1947015.1 Ops/sec
Script Preparation code:
Tests:
  • positive hashcode 1

  • positive hashcode 2

  • 32 bit hashcode

  • many bit hashcode

  • positive hashcode 1.1

  • positive hashcode 2.1

  • positive hashcode 2.2

  • positive hashcode 1.2