File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ Slots are kept tightly packed in a plain `std::vector`, making them more likely
2121Keeping a sentinel slot always empty wastes capacity. The distinction between full and
2222empty is implicit in the difference between the two cursors, with no wasted slot.
2323
24- ** See the resulting GCC x86-64 assembly on https://godbolt.org/z/r7qTK5qPY . **
24+ ** See the resulting GCC x86-64 assembly on https://godbolt.org/z/xzxTjf6nW **
2525
2626# Benchmarks
2727
2828To run local benchmark:
2929* For ** Zig** implementation: ` zig run src/zig/benchmark.zig -O ReleaseFast -fomit-frame-pointer `
3030* For ** C++** implementation: ` g++ src/cpp/benchmark.cpp -o benchmark -O3; ./benchmark `
3131
32- Tested benchmark on ` Intel i7-12700H ` with WSL2:
32+ Benchmarked on ` Intel i7-12700H ` with WSL2:
3333
3434| Queue (C++ version) | Throughput (ops/ms) | Latency RTT (ns) |
3535| -------------------------- | ------------------: | ---------------: |
@@ -43,7 +43,7 @@ Tested benchmark on `Intel i7-12700H` with WSL2:
4343| SPSCQueue (Andrea Vaccaro) | (p90) 1350722 | (p90) 189 |
4444| SPSCQueue (Andrea Vaccaro) | (p99) 1357763 | (p99) 190 |
4545
46- Other queues:
46+ Other queues (recommended to benchmark with [ rigtorp' benchmark ] ( https://github.com/rigtorp/SPSCQueue/blob/master/src/SPSCQueueBenchmark.cpp ) ) :
4747
4848| Queue | Throughput (ops/ms) | Latency RTT (ns) |
4949| --------------------- | ------------------: | ---------------: |
You can’t perform that action at this time.
0 commit comments