Closed reconbot closed 5 years ago
They're about the same when processing data! Quite the same when processing slow data! When doing nothing, passthrough is faster than tap.
tap slow source x 19.60 ops/sec ±5.07% (50 runs sampled) stream tap slow source (PassThrough) x 21.27 ops/sec ±3.77% (53 runs sampled) tap fast source x 81.60 ops/sec ±1.73% (74 runs sampled) stream tap fast source (PassThrough) x 164 ops/sec ±1.06% (77 runs sampled) map slow source x 20.19 ops/sec ±1.98% (51 runs sampled) stream map slow source (transform) x 19.98 ops/sec ±3.62% (51 runs sampled) map fast source x 21.42 ops/sec ±1.80% (53 runs sampled) stream map fast source (transform) x 22.32 ops/sec ±3.18% (55 runs sampled)
They're about the same when processing data! Quite the same when processing slow data! When doing nothing, passthrough is faster than tap.