Closed newhoggy closed 2 years ago
This compares to benchmark on:
Macbook Pro (16-inch, 2019)
Processor 2.4 GHz 8-Core Intel Core i9
Memory 32 GB 2667 MHz DDR4
Results:
Running 1 benchmarks...
Benchmark single: RUNNING...
Running 1 benchmarks...
Benchmark multi: RUNNING...
benchmarking Latency micro-benchmark/unagi-chan Unagi
Running with capabilities: 16
benchmarking Operations on 100000 messages/unagi-chan Unagi/async 1 writers 1 readers
time 44.48 ns (43.62 ns .. 45.60 ns)
0.998 R² (0.996 R² .. 0.999 R²)
mean 44.47 ns (44.08 ns .. 44.96 ns)
std dev 1.503 ns (1.227 ns .. 2.035 ns)
variance introduced by outliers: 54% (severely inflated)
benchmarking Latency micro-benchmark/unagi-chan Unagi.Unboxed
time 5.251 ms (5.111 ms .. 5.403 ms)
0.996 R² (0.994 R² .. 0.998 R²)
mean 5.238 ms (5.182 ms .. 5.297 ms)
std dev 176.3 μs (126.6 μs .. 251.1 μs)
variance introduced by outliers: 14% (moderately inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi/oversubscribing: async 100 writers 100 readers
time 58.56 ns (55.11 ns .. 62.85 ns)
0.962 R² (0.938 R² .. 0.985 R²)
mean 64.55 ns (58.39 ns .. 78.52 ns)
std dev 30.40 ns (12.41 ns .. 54.30 ns)
variance introduced by outliers: 100% (severely inflated)
benchmarking Latency micro-benchmark/unagi-chan Unagi.Bounded 1024
time 17.21 ms (15.94 ms .. 18.28 ms)
0.976 R² (0.952 R² .. 0.988 R²)
mean 16.01 ms (15.34 ms .. 16.69 ms)
std dev 1.692 ms (1.407 ms .. 2.048 ms)
variance introduced by outliers: 52% (severely inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi/async Int writer, main thread read and sum
time 52.91 ns (52.30 ns .. 53.64 ns)
0.999 R² (0.998 R² .. 0.999 R²)
mean 53.27 ns (52.75 ns .. 53.97 ns)
std dev 1.916 ns (1.456 ns .. 2.580 ns)
variance introduced by outliers: 56% (severely inflated)
benchmarking Latency micro-benchmark/unagi-chan Unagi.Bounded 1024 with tryWriteChan
time 7.038 ms (6.888 ms .. 7.208 ms)
0.996 R² (0.992 R² .. 0.998 R²)
mean 7.026 ms (6.951 ms .. 7.121 ms)
std dev 244.2 μs (171.4 μs .. 322.8 μs)
variance introduced by outliers: 14% (moderately inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi.Unboxed/async 1 writers 1 readers
time 3.986 ms (3.900 ms .. 4.097 ms)
0.996 R² (0.993 R² .. 0.999 R²)
mean 3.937 ms (3.896 ms .. 3.997 ms)
std dev 151.8 μs (117.4 μs .. 195.9 μs)
variance introduced by outliers: 21% (moderately inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi.Unboxed/oversubscribing: async 100 writers 100 readers
time 54.44 ns (53.66 ns .. 55.45 ns)
0.998 R² (0.997 R² .. 0.999 R²)
mean 55.02 ns (54.32 ns .. 55.79 ns)
std dev 2.428 ns (1.929 ns .. 3.030 ns)
variance introduced by outliers: 66% (severely inflated)
benchmarking Latency micro-benchmark/unagi-chan Unagi.NoBlocking
time 47.40 ns (45.68 ns .. 50.00 ns)
0.989 R² (0.977 R² .. 0.998 R²)
mean 48.01 ns (47.15 ns .. 49.64 ns)
std dev 3.676 ns (2.444 ns .. 6.225 ns)
variance introduced by outliers: 86% (severely inflated)
benchmarking Latency micro-benchmark/unagi-chan Unagi.NoBlocking.Unboxed
time 13.34 ms (12.54 ms .. 14.31 ms)
0.968 R² (0.945 R² .. 0.986 R²)
mean 12.82 ms (12.31 ms .. 13.49 ms)
std dev 1.640 ms (1.242 ms .. 2.194 ms)
variance introduced by outliers: 65% (severely inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi.Unboxed/async Int writer, main thread read and sum
time 30.77 ns (30.41 ns .. 31.15 ns)
0.999 R² (0.998 R² .. 0.999 R²)
mean 31.13 ns (30.77 ns .. 31.63 ns)
std dev 1.440 ns (1.196 ns .. 1.824 ns)
variance introduced by outliers: 69% (severely inflated)
benchmarking Throughput with 1000000 messages/sequential write all then read all/unagi-chan Unagi
time 3.990 ms (3.932 ms .. 4.039 ms)
0.999 R² (0.998 R² .. 0.999 R²)
mean 4.002 ms (3.977 ms .. 4.040 ms)
std dev 93.38 μs (73.16 μs .. 124.4 μs)
benchmarking Operations on 100000 messages/unagi-chan Unagi.Bounded/async 1 writers 1 readers
time 5.549 ms (5.455 ms .. 5.694 ms)
0.997 R² (0.995 R² .. 0.999 R²)
mean 5.557 ms (5.512 ms .. 5.600 ms)
std dev 136.4 μs (93.99 μs .. 186.1 μs)
benchmarking Operations on 100000 messages/unagi-chan Unagi.Bounded/oversubscribing: async 100 writers 100 readers
time 52.18 ms (50.80 ms .. 54.20 ms)
0.997 R² (0.992 R² .. 1.000 R²)
mean 53.53 ms (52.60 ms .. 54.90 ms)
std dev 2.107 ms (1.449 ms .. 3.166 ms)
benchmarking Throughput with 1000000 messages/sequential write all then read all/unagi-chan Unagi.Unboxed
time 16.50 ms (15.05 ms .. 17.83 ms)
0.959 R² (0.909 R² .. 0.989 R²)
mean 16.75 ms (16.06 ms .. 17.47 ms)
std dev 1.660 ms (1.380 ms .. 2.158 ms)
variance introduced by outliers: 46% (moderately inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi.Bounded/async Int writer, main thread read and sum
time 47.94 ms (44.39 ms .. 51.20 ms)
0.985 R² (0.967 R² .. 0.994 R²)
mean 51.47 ms (49.42 ms .. 54.47 ms)
std dev 4.913 ms (3.247 ms .. 6.784 ms)
variance introduced by outliers: 37% (moderately inflated)
benchmarking Throughput with 1000000 messages/sequential write all then read all/unagi-chan Unagi.Bounded
time 9.454 ms (9.328 ms .. 9.582 ms)
0.998 R² (0.996 R² .. 0.999 R²)
mean 9.391 ms (9.309 ms .. 9.497 ms)
std dev 247.9 μs (210.4 μs .. 313.2 μs)
benchmarking Operations on 100000 messages/unagi-chan Unagi.NoBlocking/async 1 writers 1 readers
time 86.09 ms (82.95 ms .. 89.95 ms)
0.998 R² (0.995 R² .. 1.000 R²)
mean 86.23 ms (83.66 ms .. 87.41 ms)
std dev 2.889 ms (1.347 ms .. 4.549 ms)
benchmarking Throughput with 1000000 messages/sequential write all then read all/unagi-chan Unagi.NoBlocking
time 1.925 ms (1.904 ms .. 1.964 ms)
0.998 R² (0.996 R² .. 0.999 R²)
mean 1.941 ms (1.923 ms .. 1.969 ms)
std dev 61.74 μs (46.21 μs .. 80.88 μs)
variance introduced by outliers: 18% (moderately inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi.NoBlocking/oversubscribing: async 100 writers 100 readers
time 42.22 ms (34.75 ms .. 54.13 ms)
0.890 R² (0.834 R² .. 1.000 R²)
mean 36.33 ms (34.91 ms .. 41.54 ms)
std dev 5.013 ms (831.7 μs .. 9.486 ms)
variance introduced by outliers: 52% (severely inflated)
benchmarking Throughput with 1000000 messages/sequential write all then read all/unagi-chan Unagi.NoBlocking Stream
time 20.55 ms (17.61 ms .. 23.45 ms)
0.899 R² (0.807 R² .. 0.962 R²)
mean 18.81 ms (17.35 ms .. 20.28 ms)
std dev 3.571 ms (2.949 ms .. 4.297 ms)
variance introduced by outliers: 76% (severely inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi.NoBlocking/async Int writer, main thread read and sum
time 48.93 ms (30.06 ms .. 73.88 ms)
0.744 R² (0.441 R² .. 0.991 R²)
mean 63.98 ms (54.74 ms .. 68.64 ms)
std dev 11.33 ms (5.270 ms .. 15.70 ms)
variance introduced by outliers: 65% (severely inflated)
benchmarking Throughput with 1000000 messages/sequential write all then read all/unagi-chan Unagi.NoBlocking.Unboxed
time 3.559 ms (3.517 ms .. 3.602 ms)
0.999 R² (0.998 R² .. 0.999 R²)
mean 3.712 ms (3.662 ms .. 3.784 ms)
std dev 181.8 μs (140.5 μs .. 228.6 μs)
variance introduced by outliers: 29% (moderately inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi.NoBlocking Stream/async 1 writers 1 readers
time 32.57 ms (31.92 ms .. 33.25 ms)
0.999 R² (0.997 R² .. 1.000 R²)
mean 32.34 ms (32.08 ms .. 32.74 ms)
std dev 709.2 μs (467.7 μs .. 1.056 ms)
benchmarking Throughput with 1000000 messages/sequential write all then read all/unagi-chan Unagi.NoBlocking.Unboxed Stream
time 3.058 ms (3.010 ms .. 3.127 ms)
0.998 R² (0.997 R² .. 1.000 R²)
mean 3.018 ms (3.001 ms .. 3.044 ms)
std dev 69.72 μs (47.29 μs .. 97.81 μs)
benchmarking Operations on 100000 messages/unagi-chan Unagi.NoBlocking Stream/oversubscribing: async 100 writers 100 readers
time 41.77 ms (30.22 ms .. 51.38 ms)
0.883 R² (0.836 R² .. 0.996 R²)
mean 32.56 ms (30.52 ms .. 36.43 ms)
std dev 5.917 ms (1.305 ms .. 8.683 ms)
variance introduced by outliers: 67% (severely inflated)
benchmarking Throughput with 1000000 messages/repeated write some, read some/unagi-chan Unagi
time 20.95 ms (18.57 ms .. 23.15 ms)
0.944 R² (0.876 R² .. 0.982 R²)
mean 19.38 ms (18.10 ms .. 20.49 ms)
std dev 2.790 ms (2.142 ms .. 3.757 ms)
variance introduced by outliers: 67% (severely inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi.NoBlocking Stream/async Int writer, main thread read and sum
time 46.60 ms (22.41 ms .. 86.93 ms)
0.680 R² (0.270 R² .. 0.979 R²)
mean 76.52 ms (65.43 ms .. 85.46 ms)
std dev 17.58 ms (12.24 ms .. 21.54 ms)
variance introduced by outliers: 71% (severely inflated)
benchmarking Throughput with 1000000 messages/repeated write some, read some/unagi-chan Unagi.Unboxed
time 3.701 ms (3.649 ms .. 3.769 ms)
0.997 R² (0.995 R² .. 0.998 R²)
mean 4.007 ms (3.950 ms .. 4.066 ms)
std dev 193.0 μs (168.5 μs .. 236.7 μs)
variance introduced by outliers: 28% (moderately inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi.NoBlocking.Unboxed/async 1 writers 1 readers
time 36.59 ms (35.77 ms .. 37.78 ms)
0.998 R² (0.995 R² .. 1.000 R²)
mean 38.23 ms (37.72 ms .. 38.85 ms)
std dev 1.102 ms (821.5 μs .. 1.570 ms)
benchmarking Throughput with 1000000 messages/repeated write some, read some/unagi-chan Unagi.Bounded
time 1.919 ms (1.904 ms .. 1.954 ms)
0.997 R² (0.989 R² .. 1.000 R²)
mean 1.925 ms (1.913 ms .. 1.964 ms)
std dev 70.47 μs (31.05 μs .. 125.1 μs)
variance introduced by outliers: 23% (moderately inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi.NoBlocking.Unboxed/oversubscribing: async 100 writers 100 readers
time 70.40 ms (45.35 ms .. 97.89 ms)
0.832 R² (0.756 R² .. 1.000 R²)
mean 51.48 ms (47.21 ms .. 63.77 ms)
std dev 12.09 ms (2.924 ms .. 19.50 ms)
variance introduced by outliers: 74% (severely inflated)
benchmarking Throughput with 1000000 messages/repeated write some, read some/unagi-chan Unagi.NoBlocking
time 22.24 ms (18.11 ms .. 27.10 ms)
0.865 R² (0.783 R² .. 0.944 R²)
mean 20.89 ms (18.94 ms .. 23.27 ms)
std dev 4.293 ms (3.216 ms .. 5.783 ms)
variance introduced by outliers: 80% (severely inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi.NoBlocking.Unboxed/async Int writer, main thread read and sum
time 29.38 ms (21.34 ms .. 41.26 ms)
0.766 R² (0.549 R² .. 0.920 R²)
mean 40.79 ms (36.67 ms .. 44.63 ms)
std dev 7.981 ms (6.185 ms .. 10.06 ms)
variance introduced by outliers: 72% (severely inflated)
benchmarking Throughput with 1000000 messages/repeated write some, read some/unagi-chan Unagi.NoBlocking Stream
time 3.570 ms (3.513 ms .. 3.625 ms)
0.998 R² (0.997 R² .. 0.999 R²)
mean 3.920 ms (3.845 ms .. 3.991 ms)
std dev 219.4 μs (197.8 μs .. 250.8 μs)
variance introduced by outliers: 35% (moderately inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi.NoBlocking.Unboxed Stream/async 1 writers 1 readers
time 26.77 ms (26.27 ms .. 27.17 ms)
0.998 R² (0.996 R² .. 1.000 R²)
mean 27.11 ms (26.87 ms .. 27.37 ms)
std dev 543.8 μs (373.1 μs .. 775.1 μs)
benchmarking Throughput with 1000000 messages/repeated write some, read some/unagi-chan Unagi.NoBlocking.Unboxed
time 3.291 ms (3.236 ms .. 3.381 ms)
0.994 R² (0.986 R² .. 0.999 R²)
mean 3.150 ms (3.113 ms .. 3.238 ms)
std dev 177.0 μs (112.9 μs .. 261.7 μs)
variance introduced by outliers: 37% (moderately inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi.NoBlocking.Unboxed Stream/oversubscribing: async 100 writers 100 readers
time 43.74 ms (31.42 ms .. 54.53 ms)
0.872 R² (0.817 R² .. 0.999 R²)
mean 34.14 ms (31.80 ms .. 38.60 ms)
std dev 6.331 ms (978.4 μs .. 9.668 ms)
variance introduced by outliers: 72% (severely inflated)
benchmarking Throughput with 1000000 messages/repeated write some, read some/unagi-chan Unagi.NoBlocking.Unboxed Stream
time 22.25 ms (20.32 ms .. 24.33 ms)
0.957 R² (0.919 R² .. 0.982 R²)
mean 20.98 ms (19.58 ms .. 22.26 ms)
std dev 3.367 ms (2.556 ms .. 4.795 ms)
variance introduced by outliers: 70% (severely inflated)
benchmarking Operations on 100000 messages/unagi-chan Unagi.NoBlocking.Unboxed Stream/async Int writer, main thread read and sum
time 29.00 ms (19.15 ms .. 40.94 ms)
0.764 R² (0.536 R² .. 0.916 R²)
mean 43.45 ms (38.77 ms .. 46.74 ms)
std dev 8.365 ms (6.088 ms .. 10.10 ms)
variance introduced by outliers: 72% (severely inflated)
Benchmark single: FINISH
time 3.714 ms (3.650 ms .. 3.806 ms)
0.996 R² (0.994 R² .. 0.998 R²)
mean 3.956 ms (3.918 ms .. 3.998 ms)
std dev 139.0 μs (111.3 μs .. 161.7 μs)
variance introduced by outliers: 17% (moderately inflated)
Benchmark multi: FINISH
Thanks! This is released now
Thanks so much!
Benchmark on
Results: