PERF: Add benchmarking?
See original GitHub issueBecause xarray is all python and generally not doing much compute itself (i.e. it marshals other libraries to do that), this hasn’t been that important.
IIRC most of the performance issues have arisen where xarray builds on (arguably) shaky foundations, like PeriodIndex
.
Though as we mature, is it worth adding some benchmarks?
If so, what’s a good way to do this? Pandas uses asv successfully. I don’t have experience with https://github.com/ionelmc/pytest-benchmark but that could be a lower cost way of getting started. Any others?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
piotrmurach/benchmark-perf - GitHub
Measure execution time and iterations per second. The Benchmark::Perf is used by rspec-benchmark. Installation. Add this line to your application's Gemfile: gem ...
Read more >Tutorial - Perf Wiki
The perf bench command includes a number of multi-threaded microbenchmarks to exercise different subsystems in the Linux kernel and system calls ...
Read more >perf-bench Benchmark - OpenBenchmarking.org
perf -bench. This test profile is used for running Linux perf-bench, the benchmark support within the Linux kernel's perf tool.
Read more >perf-bench(1) - Linux manual page - man7.org
This perf bench command is a general framework for benchmark suites. COMMON OPTIONS top. -r, --repeat= Specify amount of times to repeat the...
Read more >How to get consistent results when benchmarking on Linux?
1) Disable turboboost; 2) Disable hyper threading; 3) Set scaling_governor to 'performance'; 4) Set cpu affinity; 5) Set process priority; 6) ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
One issue is that unit tests are often not good benchmarks. Ideal unit tests are as fast as possible, whereas ideal benchmarks should be run on more typical inputs, which may be much slower.
@TomAugspurger has done some ASV work with Dask itself