nim-taskpools/benchmarks/single_task_producer
Mamy André-Ratsimbazafy 216aabe629
initial commit
2021-06-28 16:47:06 +02:00
..
2021-06-28 16:47:06 +02:00
2021-06-28 16:47:06 +02:00

Simple single-producer multiple consumers benchmarks

SPC A Simple Producer-Consumer benchmark.

A single worker produces n tasks, each running for t microseconds. This benchmark allows us to test how many concurrent consumers a single producer can sustain.