Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
Firefox 67
Windows
Desktop
5 years ago
Test name Executions per second
positive hashcode 1 2866802.0 Ops/sec
positive hashcode 2 2836167.5 Ops/sec
32 bit hashcode 2812882.5 Ops/sec
many bit hashcode 2841063.5 Ops/sec
positive hashcode 1.1 2884021.2 Ops/sec
positive hashcode 2.1 2823150.8 Ops/sec
positive hashcode 2.2 3163128.5 Ops/sec
positive hashcode 1.2 3203880.0 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