Skip to content

Instantly share code, notes, and snippets.

@etishor
Created April 29, 2015 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save etishor/32d2a502086d86ebe117 to your computer and use it in GitHub Desktop.
Save etishor/32d2a502086d86ebe117 to your computer and use it in GitHub Desktop.
impact of adding a metrics.net timer
WorkWithoutTimer 1 threads 27,634 ops/sec | avg duration 36,189 ns | 27,634 avg ops/sec per thread
WorkWithoutTimer 2 threads 55,202 ops/sec | avg duration 36,231 ns | 27,601 avg ops/sec per thread
WorkWithoutTimer 4 threads 103,718 ops/sec | avg duration 38,568 ns | 25,930 avg ops/sec per thread
WorkWithoutTimer 6 threads 140,080 ops/sec | avg duration 42,840 ns | 23,347 avg ops/sec per thread
WorkWithoutTimer 8 threads 165,714 ops/sec | avg duration 48,968 ns | 20,714 avg ops/sec per thread
WorkWithoutTimer 16 threads 175,750 ops/sec | avg duration 113,574 ns | 10,984 avg ops/sec per thread
WorkWithoutTimer 32 threads 156,296 ops/sec | avg duration 212,504 ns | 5,861 avg ops/sec per thread
WorkWithTimer 1 threads 27,202 ops/sec | avg duration 36,762 ns | 27,202 avg ops/sec per thread
WorkWithTimer 2 threads 53,966 ops/sec | avg duration 37,063 ns | 26,983 avg ops/sec per thread
WorkWithTimer 4 threads 101,960 ops/sec | avg duration 39,233 ns | 25,490 avg ops/sec per thread
WorkWithTimer 6 threads 137,238 ops/sec | avg duration 43,722 ns | 22,873 avg ops/sec per thread
WorkWithTimer 8 threads 169,868 ops/sec | avg duration 47,101 ns | 21,234 avg ops/sec per thread
WorkWithTimer 16 threads 175,578 ops/sec | avg duration 98,439 ns | 10,974 avg ops/sec per thread
WorkWithTimer 32 threads 155,645 ops/sec | avg duration 245,781 ns | 5,837 avg ops/sec per thread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment