Skip to content

Instantly share code, notes, and snippets.

@kwando
Created January 12, 2016 12:43
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 kwando/6d1668f96e0930563ecc to your computer and use it in GitHub Desktop.
Save kwando/6d1668f96e0930563ecc to your computer and use it in GitHub Desktop.
dry-v benchmarks
user system total real
DV: 1 thread 0.830000 0.020000 0.850000 ( 0.761257)
AM: 1 thread 5.880000 0.160000 6.040000 ( 5.992480)
DV: 2 threads 0.750000 0.010000 0.760000 ( 0.374995)
AM: 2 threads 5.370000 0.080000 5.450000 ( 2.780504)
Calculating -------------------------------------
DV: 1 thread 1.000 i/100ms
AM: 1 thread 1.000 i/100ms
DV: 2 threads 1.000 i/100ms
AM: 2 threads 1.000 i/100ms
-------------------------------------------------
DV: 1 thread 1.373 (± 0.0%) i/s - 7.000
AM: 1 thread 0.188 (± 0.0%) i/s - 1.000 in 5.324000s
DV: 2 threads 2.453 (± 0.0%) i/s - 12.000
AM: 2 threads 0.401 (± 0.0%) i/s - 3.000 in 7.491000s
Comparison:
DV: 2 threads: 2.5 i/s
DV: 1 thread: 1.4 i/s - 1.79x slower
AM: 2 threads: 0.4 i/s - 6.12x slower
AM: 1 thread: 0.2 i/s - 13.06x slower
user system total real
DV: 1 thread 1.110000 0.030000 1.140000 ( 1.162093)
AM: 1 thread 6.440000 0.130000 6.570000 ( 6.714051)
DV: 2 threads 1.110000 0.020000 1.130000 ( 1.153741)
AM: 2 threads 6.400000 0.120000 6.520000 ( 6.651159)
Calculating -------------------------------------
DV: 1 thread 1.000 i/100ms
AM: 1 thread 1.000 i/100ms
DV: 2 threads 1.000 i/100ms
AM: 2 threads 1.000 i/100ms
-------------------------------------------------
DV: 1 thread 0.862 (± 0.0%) i/s - 5.000 in 5.809375s
AM: 1 thread 0.149 (± 0.0%) i/s - 1.000 in 6.690320s
DV: 2 threads 0.905 (± 0.0%) i/s - 5.000 in 5.527568s
AM: 2 threads 0.151 (± 0.0%) i/s - 1.000 in 6.614798s
Comparison:
DV: 2 threads: 0.9 i/s
DV: 1 thread: 0.9 i/s - 1.05x slower
AM: 2 threads: 0.2 i/s - 5.99x slower
AM: 1 thread: 0.1 i/s - 6.06x slower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment