IOSim performance improvement #149
coot
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
IOSim
Benchmarking results trying out the improvement suggested here ekmett/kan-extensions#79 (comment)
no changes
benchmarking delays/threadDelay
time 6.748 ns (6.531 ns .. 6.906 ns)
0.993 R² (0.989 R² .. 0.996 R²)
mean 6.789 ns (6.570 ns .. 6.963 ns)
std dev 670.1 ps (572.9 ps .. 798.3 ps)
variance introduced by outliers: 92% (severely inflated)
benchmarking delays/registerDelay
time 6.660 ns (6.293 ns .. 6.940 ns)
0.987 R² (0.976 R² .. 0.996 R²)
mean 6.367 ns (6.158 ns .. 6.607 ns)
std dev 751.5 ps (676.8 ps .. 841.8 ps)
variance introduced by outliers: 94% (severely inflated)
benchmarking delays/timeout/fail
time 6.343 ns (6.276 ns .. 6.414 ns)
0.997 R² (0.995 R² .. 0.999 R²)
mean 6.511 ns (6.359 ns .. 6.686 ns)
std dev 565.7 ps (460.3 ps .. 729.9 ps)
variance introduced by outliers: 90% (severely inflated)
benchmarking delays/timeout/succeed
time 7.429 ns (7.391 ns .. 7.475 ns)
1.000 R² (1.000 R² .. 1.000 R²)
mean 7.460 ns (7.421 ns .. 7.532 ns)
std dev 165.1 ps (100.6 ps .. 294.7 ps)
variance introduced by outliers: 36% (moderately inflated)
benchmarking delays/timeout/race
time 6.750 ns (6.680 ns .. 6.848 ns)
0.999 R² (0.999 R² .. 1.000 R²)
mean 6.770 ns (6.746 ns .. 6.806 ns)
std dev 100.0 ps (66.80 ps .. 166.5 ps)
variance introduced by outliers: 20% (moderately inflated)
benchmarking threads/50/async silent
time 6.735 ns (6.715 ns .. 6.760 ns)
1.000 R² (1.000 R² .. 1.000 R²)
mean 6.733 ns (6.713 ns .. 6.760 ns)
std dev 78.88 ps (57.27 ps .. 96.87 ps)
variance introduced by outliers: 14% (moderately inflated)
benchmarking threads/50/forkIO silent
time 6.085 ns (5.995 ns .. 6.155 ns)
0.999 R² (0.998 R² .. 1.000 R²)
mean 6.128 ns (6.087 ns .. 6.197 ns)
std dev 175.4 ps (73.11 ps .. 320.4 ps)
variance introduced by outliers: 49% (moderately inflated)
benchmarking threads/50/threadDelay bottleneck silent
time 7.245 ns (7.069 ns .. 7.407 ns)
0.997 R² (0.995 R² .. 0.999 R²)
mean 7.218 ns (7.095 ns .. 7.289 ns)
std dev 304.3 ps (191.7 ps .. 474.7 ps)
variance introduced by outliers: 67% (severely inflated)
benchmarking threads/50/async say
time 148.2 ns (143.2 ns .. 152.6 ns)
0.990 R² (0.982 R² .. 0.996 R²)
mean 146.2 ns (141.7 ns .. 150.0 ns)
std dev 14.58 ns (9.861 ns .. 19.57 ns)
variance introduced by outliers: 91% (severely inflated)
benchmarking threads/50/forkIO say
time 10.94 ns (10.38 ns .. 11.77 ns)
0.983 R² (0.978 R² .. 0.992 R²)
mean 11.85 ns (11.51 ns .. 12.09 ns)
std dev 971.7 ps (707.9 ps .. 1.308 ns)
variance introduced by outliers: 89% (severely inflated)
benchmarking threads/50/threadDelay bottleneck say
time 2.720 ms (2.619 ms .. 2.820 ms)
0.984 R² (0.973 R² .. 0.993 R²)
mean 2.507 ms (2.388 ms .. 2.584 ms)
std dev 306.2 μs (221.2 μs .. 376.1 μs)
variance introduced by outliers: 76% (severely inflated)
benchmarking threads/250/async
time 5.781 ns (5.600 ns .. 5.927 ns)
0.991 R² (0.985 R² .. 0.996 R²)
mean 5.859 ns (5.638 ns .. 6.089 ns)
std dev 767.3 ps (662.8 ps .. 882.1 ps)
variance introduced by outliers: 96% (severely inflated)
benchmarking threads/250/forkIO
time 6.219 ns (6.204 ns .. 6.236 ns)
1.000 R² (1.000 R² .. 1.000 R²)
mean 6.210 ns (6.198 ns .. 6.236 ns)
std dev 55.88 ps (32.82 ps .. 90.82 ps)
Remakrs
The
benchmarking threads/50/async silent
improved from6.7ns
to5.955ns
, butbenchmarking threads/250/async silent
only improved from5.781ns
to5.420ns
.Beta Was this translation helpful? Give feedback.
All reactions