Skip to content

Instantly share code, notes, and snippets.

@antonfirsov
Last active February 12, 2017 17:30
Show Gist options
  • Save antonfirsov/e4383e526432d4c6a95ff9914c8d6640 to your computer and use it in GitHub Desktop.
Save antonfirsov/e4383e526432d4c6a95ff9914c8d6640 to your computer and use it in GitHub Desktop.
      Method | InputSize |          Mean |    StdDev | Scaled | Scaled-StdDev |

---------------- |---------- |-------------- |---------- |------- |-------------- | Standard | 16 | 55.6822 ns | 0.1794 ns | 1.00 | 0.00 | Bithack | 16 | 143.3762 ns | 0.4225 ns | 2.57 | 0.01 | BithackBatched | 16 | 110.5777 ns | 7.4833 ns | 1.99 | 0.13 | BatchedPointers | 16 | 49.9270 ns | 0.1580 ns | 0.90 | 0.00 | | | | | | | Standard | 64 | 234.1635 ns | 0.7504 ns | 1.00 | 0.00 | Bithack | 64 | 576.1446 ns | 1.0512 ns | 2.46 | 0.01 | BithackBatched | 64 | 214.5398 ns | 0.4343 ns | 0.92 | 0.00 | BatchedPointers | 64 | 204.8881 ns | 0.7850 ns | 0.87 | 0.00 | | | | | | | Standard | 256 | 929.5568 ns | 2.2845 ns | 1.00 | 0.00 | Bithack | 256 | 2,305.6338 ns | 6.0712 ns | 2.48 | 0.01 | BithackBatched | 256 | 611.5000 ns | 0.4999 ns | 0.66 | 0.00 | BatchedPointers | 256 | 802.4935 ns | 3.8433 ns | 0.86 | 0.00 | | | | | | | Standard | 1024 | 3.7388 us | 0.0187 us | 1.00 | 0.00 | Bithack | 1024 | 9.2494 us | 0.0346 us | 2.47 | 0.01 | BithackBatched | 1024 | 2.3130 us | 0.0133 us | 0.62 | 0.00 | BatchedPointers | 1024 | 3.2566 us | 0.0472 us | 0.87 | 0.01 |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment