Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Chrome 78
Windows
Desktop
5 years ago
Test name Executions per second
positive hashcode 1 75541.3 Ops/sec
positive hashcode 2 73296.1 Ops/sec
32 bit hashcode 76367.2 Ops/sec
many bit hashcode 77489.4 Ops/sec
positive hashcode 1.1 77826.5 Ops/sec
positive hashcode 2.1 75278.9 Ops/sec
positive hashcode 2.2 2186117.8 Ops/sec
positive hashcode 1.2 4077986.8 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