[Speed] option in performance to invoke number of worker preocess

Victor Stinner victor.stinner at gmail.com
Wed Jul 26 08:16:52 EDT 2017


There is a --fast option to spawn less processes:
http://pyperformance.readthedocs.io/usage.html#run

But I don't suggest you to use it since it's less reliable ;-)

For me, it's really important to get stable benchmarks:
http://pyperformance.readthedocs.io/usage.html#how-to-get-stable-benchmarks

Most benchmarks can be run a standalone scripts: see
performance/benchmarks/ in the source code (performance.benchmarks
module). These scripts provide the full perf CLI, all options:
http://perf.readthedocs.io/en/latest/runner.html

Victor

2017-07-25 20:24 GMT+02:00 Pintu Kumar <pintukumar79 at gmail.com>:
> Hi,
>
> I think performance is a kind of wrapper over perf if I am correct. As I
> come across thing that perf internally creates 20 worker process to run over
> benchmark program. So, is there a way to run any particular number of
> workers from command line of performance like perf.
>
> Thanks!
>
> _______________________________________________
> Speed mailing list
> Speed at python.org
> https://mail.python.org/mailman/listinfo/speed
>


More information about the Speed mailing list