File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
docs/source/user-guide/dataframe Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,6 @@ A simple benchmark is provided in `benchmarks/collect_gil_bench.py`.
3636Run it twice to compare serial and parallel conversions:
3737
3838``` bash
39- RAYON_NUM_THREADS=1 python benchmarks/collect_gil_bench.py # serial
40- python benchmarks/collect_gil_bench.py # parallel
39+ RAYON_NUM_THREADS=1 python benchmarks/collect_gil_bench.py --batches 20 --partitions 8 --workload all # serial
40+ RAYON_NUM_THREADS=8 python benchmarks/collect_gil_bench.py --batches 20 --partitions 8 --workload all # parallel
4141```
42-
43- On this container, collecting 128 1 M‑row batches took around 1.5 s with
44- ` RAYON_NUM_THREADS=1 ` and 0.8 s with the default thread pool, demonstrating
45- that releasing the GIL allows conversions to run in parallel.
You can’t perform that action at this time.
0 commit comments