Skip to content

Instantly share code, notes, and snippets.

@VSadov
Last active January 18, 2019 02:36
Show Gist options
  • Save VSadov/5dc4b9e9ddd418662e11e3b6d8b1e4a5 to your computer and use it in GitHub Desktop.
Save VSadov/5dc4b9e9ddd418662e11e3b6d8b1e4a5 to your computer and use it in GitHub Desktop.
Full results form ThreadPoolTaskTesting (master, 8 core machine)
Testing 2,621,440 calls, with GCs after 262,144 calls.
Operations per second on 8 Cores
Parallelism
Serial 2x 16x 64x 512x
QUWI No Queues (TP) 2.533 M 10.022 M 10.236 M 10.354 M 10.343 M
- Depth 2 9.165 M 9.012 M 8.810 M 9.313 M 9.315 M
- Depth 16 9.217 M 9.177 M 9.169 M 9.210 M 9.216 M
- Depth 64 9.354 M 9.350 M 9.351 M 9.367 M 9.378 M
- Depth 512 9.415 M 9.419 M 9.456 M 9.435 M 9.467 M
QUWI Queue Local (TP) 2.683 M 10.055 M 41.151 M 42.441 M 44.134 M
- Depth 2 9.051 M 17.424 M 41.740 M 41.952 M 41.376 M
- Depth 16 33.786 M 37.475 M 45.232 M 44.499 M 42.486 M
- Depth 64 41.260 M 42.302 M 45.802 M 44.993 M 42.716 M
- Depth 512 43.156 M 43.947 M 44.924 M 44.385 M 43.007 M
SubTask Chain Return (TP) 1.073 M 1.800 M 10.775 M 10.866 M 11.383 M
- Depth 2 1.116 M 1.857 M 10.139 M 11.226 M 11.806 M
- Depth 16 1.082 M 2.137 M 11.458 M 11.677 M 12.357 M
- Depth 64 1.082 M 2.248 M 11.388 M 12.113 M 12.533 M
- Depth 512 1.083 M 2.251 M 11.665 M 12.273 M 12.659 M
SubTask Chain Awaited (TP) 886.909 k 1.516 M 7.630 M 7.848 M 8.055 M
- Depth 2 913.808 k 1.621 M 7.783 M 7.860 M 8.125 M
- Depth 16 888.316 k 1.860 M 8.083 M 8.075 M 8.146 M
- Depth 64 863.105 k 1.903 M 7.937 M 8.287 M 8.458 M
- Depth 512 961.052 k 2.022 M 8.005 M 7.986 M 8.074 M
SubTask Fanout Awaited (TP) 470.433 k 837.715 k 3.840 M 4.211 M 4.173 M
- Depth 2 740.293 k 1.512 M 4.817 M 4.890 M 5.023 M
- Depth 16 1.907 M 3.772 M 5.816 M 5.852 M 5.966 M
- Depth 64 2.564 M 4.390 M 6.090 M 5.965 M 6.139 M
- Depth 512 2.870 M 4.584 M 5.960 M 6.152 M 5.325 M
Continuation Chain (TP) 336.524 k 614.596 k 3.730 M 4.313 M 4.379 M
- Depth 2 543.556 k 993.780 k 6.277 M 7.231 M 7.259 M
- Depth 16 1.182 M 2.192 M 16.268 M 16.447 M 16.288 M
- Depth 64 1.363 M 2.534 M 16.721 M 17.746 M 19.016 M
- Depth 512 1.425 M 2.523 M 19.548 M 19.696 M 19.458 M
Continuation Fanout (TP) 283.683 k 516.815 k 2.693 M 3.189 M 3.295 M
- Depth 2 478.248 k 1.015 M 4.751 M 5.018 M 5.137 M
- Depth 16 2.414 M 5.452 M 10.052 M 10.171 M 10.132 M
- Depth 64 2.092 M 5.629 M 11.541 M 11.542 M 11.456 M
- Depth 512 1.826 M 5.496 M 12.259 M 12.123 M 12.059 M
Yield Chain Awaited (TP) 1.198 M 1.881 M 8.737 M 9.322 M 9.507 M
- Depth 2 1.423 M 2.675 M 8.576 M 9.561 M 9.501 M
- Depth 16 1.996 M 5.340 M 9.198 M 9.740 M 9.609 M
- Depth 64 1.943 M 6.534 M 9.551 M 9.535 M 9.313 M
- Depth 512 1.933 M 6.660 M 8.695 M 9.028 M 8.066 M
Async Chain Awaited (TP) 1.037 M 1.646 M 10.378 M 10.553 M 10.677 M
- Depth 2 1.846 M 2.953 M 14.887 M 15.086 M 15.426 M
- Depth 16 4.714 M 7.249 M 23.798 M 23.765 M 23.928 M
- Depth 64 5.510 M 10.146 M 25.438 M 25.502 M 25.631 M
- Depth 512 5.591 M 10.647 M 25.877 M 25.869 M 26.283 M
Async Chain Return (TP) 1.041 M 1.672 M 9.325 M 10.511 M 10.720 M
- Depth 2 2.072 M 3.366 M 20.960 M 20.662 M 21.411 M
- Depth 16 16.537 M 25.377 M 155.937 M 163.090 M 159.350 M
- Depth 64 65.096 M 104.619 M 615.882 M 579.298 M 514.260 M
- Depth 512 428.676 M 705.523 M 3.099 B 2.475 B 1.513 B
Sync Chain Awaited (TP) 14.950 M 78.802 M 179.601 M 185.509 M 184.402 M
- Depth 2 49.161 M 96.389 M 199.880 M 200.214 M 198.858 M
- Depth 16 49.569 M 96.869 M 195.036 M 203.710 M 198.811 M
- Depth 64 52.076 M 88.149 M 199.781 M 205.153 M 201.114 M
- Depth 512 50.101 M 99.507 M 193.277 M 198.781 M 196.936 M
CachedTask Chain Await (TP) 14.454 M 75.706 M 173.557 M 181.927 M 178.491 M
- Depth 2 48.253 M 82.446 M 187.665 M 189.873 M 193.753 M
- Depth 16 47.456 M 87.854 M 197.939 M 197.405 M 202.600 M
- Depth 64 50.691 M 91.460 M 196.458 M 202.661 M 201.929 M
- Depth 512 51.216 M 91.251 M 191.602 M 191.944 M 193.810 M
CachedTask Chain Check (TP) 122.076 M 223.333 M 685.882 M 658.719 M 585.561 M
- Depth 2 148.951 M 278.279 M 770.762 M 794.159 M 677.953 M
- Depth 16 218.499 M 407.828 M 975.274 M 1.077 B 954.848 M
- Depth 64 235.826 M 438.405 M 1.137 B 1.092 B 926.075 M
- Depth 512 250.680 M 459.652 M 1.058 B 985.689 M 887.030 M
CachedTask Chain Return (TP) 120.490 M 232.440 M 683.682 M 686.492 M 612.615 M
- Depth 2 182.821 M 342.453 M 850.427 M 870.274 M 766.862 M
- Depth 16 331.346 M 596.121 M 3.198 B 4.856 B 1.249 B
- Depth 64 2.391 B 2.624 B 5.297 B 5.106 B 1.172 B
- Depth 512 2.810 B 2.921 B 5.954 B 5.943 B 1.188 B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment