| GoLang:
Processing time: 5ms
Iterations: 1000, Workers: 1, Elapsed: 5.3568382s, Estimated: 5s, Loss: 356.8382ms
Iterations: 1000, Workers: 10, Elapsed: 583.9921ms, Estimated: 500ms, Loss: 83.9921ms
Iterations: 1000, Workers: 100, Elapsed: 590.8429ms, Estimated: 50ms, Loss: 540.8429ms
Iterations: 10000, Workers: 50, Elapsed: 1.3435108s, Estimated: 1s, Loss: 343.5108ms
Iterations: 10000, Workers: 100, Elapsed: 1.063587s, Estimated: 500ms, Loss: 563.587ms
Iterations: 10000, Workers: 200, Elapsed: 1.3624499s, Estimated: 250ms, Loss: 1.1124499s
Iterations: 100000, Workers: 50, Elapsed: 11.0128041s, Estimated: 10s, Loss: 1.0128041s
Iterations: 100000, Workers: 100, Elapsed: 5.9047845s, Estimated: 5s, Loss: 904.7845ms
Iterations: 100000, Workers: 200, Elapsed: 3.7495542s, Estimated: 2.5s, Loss: 1.2495542s
Iterations: 100000, Workers: 500, Elapsed: 3.7843446s, Estimated: 1s, Loss: 2.7843446s
Iterations: 100000, Workers: 1000, Elapsed: 5.911478s, Estimated: 500ms, Loss: 5.411478s
Iterations: 1000000, Workers: 100, Elapsed: 54.2715363s, Estimated: 50s, Loss: 4.2715363s
Iterations: 1000000, Workers: 200, Elapsed: 27.8255456s, Estimated: 25s, Loss: 2.8255456s
Iterations: 1000000, Workers: 500, Elapsed: 13.5996723s, Estimated: 10s, Loss: 3.5996723s
Iterations: 1000000, Workers: 1000, Elapsed: 11.1325319s, Estimated: 5s, Loss: 6.1325319s
Iteration 1, Elapsed 2m27.4934724s
Processing time: 100ms
Iterations: 1000, Workers: 10, Elapsed: 11.0497247s, Estimated: 10s, Loss: 1.0497247s
Iterations: 1000, Workers: 100, Elapsed: 11.0446942s, Estimated: 1s, Loss: 10.0446942s
Iterations: 10000, Workers: 50, Elapsed: 25.1061292s, Estimated: 20s, Loss: 5.1061292s
Iterations: 10000, Workers: 100, Elapsed: 20.0803274s, Estimated: 10s, Loss: 10.0803274s
Iterations: 10000, Workers: 200, Elapsed: 25.1038125s, Estimated: 5s, Loss: 20.1038125s
Iterations: 100000, Workers: 50, Elapsed: 3m25.7957s, Estimated: 3m20s, Loss: 5.7957s
Iterations: 100000, Workers: 100, Elapsed: 1m50.4477704s, Estimated: 1m40s, Loss: 10.4477704s
Iterations: 100000, Workers: 200, Elapsed: 1m10.3049015s, Estimated: 50s, Loss: 20.3049015s
Iterations: 100000, Workers: 500, Elapsed: 1m10.3096703s, Estimated: 20s, Loss: 50.3096703s
TPL:
Processing time: 5ms
Iterations: 1000, Workers: 1, Elapsed: 15.6350619s, Estimated: 5s, Loss: 10.6350619s
Iterations: 1000, Workers: 10, Elapsed: 1.7193998s, Estimated: 0.5s, Loss: 1.2193998s
Iterations: 1000, Workers: 100, Elapsed: 1.7178575s, Estimated: 0.05s, Loss: 1.6678575s
Iterations: 10000, Workers: 50, Elapsed: 3.9055687s, Estimated: 1s, Loss: 2.9055687s
Iterations: 10000, Workers: 100, Elapsed: 3.1233519s, Estimated: 0.5s, Loss: 2.6233519s
Iterations: 10000, Workers: 200, Elapsed: 3.9079247s, Estimated: 0.25s, Loss: 3.6579247s
Iterations: 100000, Workers: 50, Elapsed: 32.0285062s, Estimated: 10s, Loss: 22.0285062s
Iterations: 100000, Workers: 100, Elapsed: 17.2048496s, Estimated: 5s, Loss: 12.2048496s
Iterations: 100000, Workers: 500, Elapsed: 15.1436388s, Estimated: 1s, Loss: 14.1436388s
Iterations: 100000, Workers: 1000, Elapsed: 28.7291761s, Estimated: 0.5s, Loss: 28.2291761s
Iterations: 1000000, Workers: 100, Elapsed: 157.9577418s, Estimated: 50s, Loss: 107.9577418s
Iterations: 1000000, Workers: 200, Elapsed: 81.5264742s, Estimated: 25s, Loss: 56.5264742s
Iterations: 1000000, Workers: 500, Elapsed: 80.9878838s, Estimated: 10s, Loss: 70.9878838s
Iterations: 1000000, Workers: 1000, Elapsed: 144.7310845s, Estimated: 5s, Loss: 139.7310845s
Iteration: 1, Elapsed: 588.3252783s
Processing time: 100ms
Iterations: 1000, Workers: 10, Elapsed: 12.0203535s, Estimated: 10s, Loss: 2.0203535s
Iterations: 1000, Workers: 100, Elapsed: 12.0300487s, Estimated: 1s, Loss: 11.0300487s
Iterations: 10000, Workers: 50, Elapsed: 27.3427199s, Estimated: 20s, Loss: 7.3427199s
Iterations: 10000, Workers: 100, Elapsed: 21.8628653s, Estimated: 10s, Loss: 11.8628653s
Iterations: 10000, Workers: 200, Elapsed: 27.3254114s, Estimated: 5s, Loss: 22.3254114s
Iterations: 100000, Workers: 50, Elapsed: 224.1880851s, Estimated: 200s, Loss: 24.1880851s
Iterations: 100000, Workers: 100, Elapsed: 119.6893727s, Estimated: 100s, Loss: 19.6893727s
Альтернативный вариант Thread.Sleep и TPL:
Processing time: 5ms
Iterations: 1000, Workers: 1, Elapsed: 5.6992209s, Estimated: 5s, Loss: 0.699220899999999s
Iterations: 1000, Workers: 10, Elapsed: 0.7892746s, Estimated: 0.5s, Loss: 0.2892746s
Iterations: 1000, Workers: 100, Elapsed: 1.2913144s, Estimated: 0.05s, Loss: 1.2413144s
Iterations: 10000, Workers: 50, Elapsed: 7.5742033s, Estimated: 1s, Loss: 6.5742033s
Iterations: 10000, Workers: 100, Elapsed: 7.9033241s, Estimated: 0.5s, Loss: 7.4033241s
Iterations: 10000, Workers: 200, Elapsed: 8.4574322s, Estimated: 0.25s, Loss: 8.2074322s
Iterations: 100000, Workers: 50, Elapsed: 41.7972214s, Estimated: 10s, Loss: 31.7972214s
Iterations: 100000, Workers: 100, Elapsed: 13.6094305s, Estimated: 5s, Loss: 8.6094305s
Iterations: 100000, Workers: 500, Elapsed: 12.7404464s, Estimated: 1s, Loss: 11.7404464s
Iterations: 100000, Workers: 1000, Elapsed: 13.8424686s, Estimated: 0.5s, Loss: 13.3424686s
Iterations: 1000000, Workers: 100, Elapsed: 77.8382217s, Estimated: 50s, Loss: 27.8382217s
Iterations: 1000000, Workers: 200, Elapsed: 66.6656733s, Estimated: 25s, Loss: 41.6656733s
Iterations: 1000000, Workers: 500, Elapsed: 57.0298951s, Estimated: 10s, Loss: 47.0298951s
Iterations: 1000000, Workers: 1000, Elapsed: 53.365894s, Estimated: 5s, Loss: 48.365894s
Iteration: 1, Elapsed: 368.6105906s
Processing time: 100ms
Iterations: 1000, Workers: 10, Elapsed: 11.4807278s, Estimated: 10s, Loss: 1.4807278s
Iterations: 1000, Workers: 100, Elapsed: 16.9978477s, Estimated: 1s, Loss: 15.9978477s
Iterations: 10000, Workers: 50, Elapsed: 36.6479652s, Estimated: 20s, Loss: 16.6479652s
Iterations: 10000, Workers: 100, Elapsed: 24.3926649s, Estimated: 10s, Loss: 14.3926649s
Iterations: 10000, Workers: 200, Elapsed: 31.9125948s, Estimated: 5s, Loss: 26.9125948s
Iterations: 100000, Workers: 50, Elapsed: 206.0061483s, Estimated: 200s, Loss: 6.00614829999998s
Iterations: 100000, Workers: 100, Elapsed: 111.0950787s, Estimated: 100s, Loss: 11.0950787s
Iterations: 100000, Workers: 500, Elapsed: 119.0079956s, Estimated: 20s, Loss: 99.0079956s
|