Victor Stinner

Results 274 comments of Victor Stinner

> I got this warning: WARNING: unable to increase process priority for each process and one extra for each runner.timeit() call. The minimum work which can be done is to...

> install_requires=["psutil>=5.7;platform_system=='Windows'"] If you propose a PR to implement that, I can test it ;-)

IMHO your benchmark works as you expect, it's just that child worker processese are flooding stdout :-) See the documentation of the perf architecture: http://perf.readthedocs.io/en/latest/run_benchmark.html#perf-architecture Many processes are spawned. Even...

We can consider to add a new parameter to bench_func() to register a "setup function". In the meanwhile, you can work around the issue by writing a new script per...

pyperf internally stores numbers and an unit. Some part of the code ignore the unit and hardcodes seconds, but this should be fixed. You can already switch from seconds (time)...

Nowadays, the number of instruction executed per CPU cycle is not a constant and depends on the code placement, cache efficiency, various timing, and so I personally prefer wall clock...

> Outputting instruction counts doesn't prevent you using wall clock timings. If someone proposes a PR, I will review it and likely merge it ;-) As I wrote, pyperf design...

Oh right, currently, pyperf can only be used by running a script: https://pyperf.readthedocs.io/en/latest/examples.html To support REPL, Manager.worker_cmd() should be enhanced. Currently, there is a special Runner class for the ``python3...

I like the idea. You formula only works if the two lists have the same number of samples, right?

@serhiy-storchaka would you be interested to write a pull request to implement this idea?