get.pme.sh/pnats@v0.0.0-20240304004023-26bb5a137ed0/test/bench_results.txt (about) 1 2017 iMac Pro 3Ghz (Turbo 4Ghz) 10-Core Skylake 2 OSX High Sierra 10.13.2 3 4 =================== 5 Go version go1.9.2 6 =================== 7 8 Benchmark_____Pub0b_Payload-20 30000000 55.1 ns/op 199.78 MB/s 9 Benchmark_____Pub8b_Payload-20 30000000 55.8 ns/op 340.21 MB/s 10 Benchmark____Pub32b_Payload-20 20000000 63.4 ns/op 694.34 MB/s 11 Benchmark___Pub128B_Payload-20 20000000 79.8 ns/op 1766.47 MB/s 12 Benchmark___Pub256B_Payload-20 20000000 98.1 ns/op 2741.51 MB/s 13 Benchmark_____Pub1K_Payload-20 5000000 283 ns/op 3660.72 MB/s 14 Benchmark_____Pub4K_Payload-20 1000000 1395 ns/op 2945.30 MB/s 15 Benchmark_____Pub8K_Payload-20 500000 2846 ns/op 2882.35 MB/s 16 Benchmark_AuthPub0b_Payload-20 10000000 126 ns/op 86.82 MB/s 17 Benchmark____________PubSub-20 10000000 135 ns/op 18 Benchmark____PubSubTwoConns-20 10000000 136 ns/op 19 Benchmark____PubTwoQueueSub-20 10000000 152 ns/op 20 Benchmark___PubFourQueueSub-20 10000000 152 ns/op 21 Benchmark__PubEightQueueSub-20 10000000 152 ns/op 22 Benchmark___RoutedPubSub_0b-20 5000000 385 ns/op 23 Benchmark___RoutedPubSub_1K-20 1000000 1076 ns/op 24 Benchmark_RoutedPubSub_100K-20 20000 78501 ns/op 25 26 27 2015 iMac5k 4Ghz i7 Haswell 28 OSX El Capitan 10.11.3 29 30 =================== 31 Go version go1.6 32 =================== 33 34 Benchmark____PubNo_Payload-8 20000000 88.6 ns/op 124.11 MB/s 35 Benchmark____Pub8b_Payload-8 20000000 89.8 ns/op 211.63 MB/s 36 Benchmark___Pub32b_Payload-8 20000000 97.3 ns/op 452.20 MB/s 37 Benchmark__Pub256B_Payload-8 10000000 129 ns/op 2078.43 MB/s 38 Benchmark____Pub1K_Payload-8 5000000 216 ns/op 4791.00 MB/s 39 Benchmark____Pub4K_Payload-8 1000000 1123 ns/op 3657.53 MB/s 40 Benchmark____Pub8K_Payload-8 500000 2309 ns/op 3553.09 MB/s 41 Benchmark___________PubSub-8 10000000 210 ns/op 42 Benchmark___PubSubTwoConns-8 10000000 205 ns/op 43 Benchmark___PubTwoQueueSub-8 10000000 231 ns/op 44 Benchmark__PubFourQueueSub-8 10000000 233 ns/op 45 Benchmark_PubEightQueueSub-8 5000000 231 ns/op 46 47 OSX Yosemite 10.10.5 48 49 =================== 50 Go version go1.4.2 51 =================== 52 53 Benchmark___PubNo_Payload 10000000 133 ns/op 82.44 MB/s 54 Benchmark___Pub8b_Payload 10000000 135 ns/op 140.27 MB/s 55 Benchmark__Pub32b_Payload 10000000 147 ns/op 297.56 MB/s 56 Benchmark_Pub256B_Payload 10000000 211 ns/op 1273.82 MB/s 57 Benchmark___Pub1K_Payload 3000000 447 ns/op 2321.55 MB/s 58 Benchmark___Pub4K_Payload 1000000 1677 ns/op 2450.43 MB/s 59 Benchmark___Pub8K_Payload 300000 3670 ns/op 2235.80 MB/s 60 Benchmark__________PubSub 5000000 263 ns/op 61 Benchmark__PubSubTwoConns 5000000 268 ns/op 62 Benchmark__PubTwoQueueSub 2000000 936 ns/op 63 Benchmark_PubFourQueueSub 1000000 1103 ns/op 64 65 =================== 66 Go version go1.5.0 67 =================== 68 69 Benchmark___PubNo_Payload-8 10000000 122 ns/op 89.94 MB/s 70 Benchmark___Pub8b_Payload-8 10000000 124 ns/op 152.72 MB/s 71 Benchmark__Pub32b_Payload-8 10000000 135 ns/op 325.73 MB/s 72 Benchmark_Pub256B_Payload-8 10000000 159 ns/op 1685.78 MB/s 73 Benchmark___Pub1K_Payload-8 5000000 256 ns/op 4047.90 MB/s 74 Benchmark___Pub4K_Payload-8 1000000 1164 ns/op 3530.77 MB/s 75 Benchmark___Pub8K_Payload-8 500000 2444 ns/op 3357.34 MB/s 76 Benchmark__________PubSub-8 5000000 254 ns/op 77 Benchmark__PubSubTwoConns-8 5000000 245 ns/op 78 Benchmark__PubTwoQueueSub-8 2000000 845 ns/op 79 Benchmark_PubFourQueueSub-8 1000000 1004 ns/op