Skip to content

Commit 12e253e

Browse files
committed
.
1 parent afe195f commit 12e253e

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ The instructions below assume you're on Linux.
120120

121121
## Benchmark results
122122

123+
The following results were obtained by running the [benchmark_decoders.ipynb](./benchmarks/decoders/benchmark_decoders.ipynb) on a lightly-loaded 22-core machine. We first get the operation latency for various seek and decode patterns in a loop from a single python thread and then compute the FPS (= 1 / latency). Error bars show the FPS of the p25 and p75 operation latency.
124+
125+
If you are running multiple copies of the decoder (for example in a DataLoader) on multiple threads, it is best to use `num_threads=1` for the best performance. If you care about the operation latency (not throughput of many concurrent operations) you can set `num_threads=0` to utilize all cores of your computer.
126+
123127
![Benchmark Results](./benchmarks/decoders/benchmark_results.png)
124128

125129

benchmarks/decoders/benchmark_decoders.ipynb

Lines changed: 2 additions & 9 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)