Skip to content

Instantly share code, notes, and snippets.

@dvbobrov
Created April 9, 2014 17:11
Show Gist options
  • Save dvbobrov/10293202 to your computer and use it in GitHub Desktop.
Save dvbobrov/10293202 to your computer and use it in GitHub Desktop.
---- 8< (cut here) -----------------------------------------
Java(TM) SE Runtime Environment, 1.8.0-b132
Java HotSpot(TM) 64-Bit Server VM, 25.0-b70
Linux, 3.12.9-calculate, amd64
Burning up to figure out the exact CPU count....... done!
Running with 1 threads and [-client]:
granularity_currentTime: 991014.722 +- 1795.988 ns
granularity_nanotime: 27.838 +- 0.044 ns
latency_currentTime: 35.437 +- 0.081 ns
latency_nanotime: 27.463 +- 0.061 ns
Running with 2 threads and [-client]:
granularity_currentTime: 993057.706 +- 993.317 ns
granularity_nanotime: 28.304 +- 0.312 ns
latency_currentTime: 36.011 +- 0.812 ns
latency_nanotime: 27.929 +- 0.515 ns
Running with 4 threads and [-client]:
granularity_currentTime: 999961.289 +- 7161.806 ns
granularity_nanotime: 48.561 +- 3.460 ns
latency_currentTime: 47.517 +- 1.279 ns
latency_nanotime: 47.006 +- 1.704 ns
Running with 1 threads and [-server]:
granularity_currentTime: 990296.995 +- 1879.717 ns
granularity_nanotime: 27.850 +- 0.068 ns
latency_currentTime: 35.358 +- 0.040 ns
latency_nanotime: 27.452 +- 0.054 ns
Running with 2 threads and [-server]:
granularity_currentTime: 993287.979 +- 918.781 ns
granularity_nanotime: 28.145 +- 0.174 ns
latency_currentTime: 35.525 +- 0.093 ns
latency_nanotime: 27.700 +- 0.129 ns
Running with 4 threads and [-server]:
granularity_currentTime: 997468.490 +- 1744.089 ns
granularity_nanotime: 47.265 +- 1.147 ns
latency_currentTime: 48.472 +- 1.775 ns
latency_nanotime: 46.306 +- 1.097 ns
---- 8< (cut here) -----------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment