The Wayback Machine - https://web.archive.org/web/20201108124305/https://github.com/topics/benchmark
Skip to content
#

benchmark

Here are 2,328 public repositories matching this topic...

hyperfine
sharkdp
sharkdp commented Nov 5, 2020

If running a benchmark with --ignore-failure, it might be interesting to know if some of the commands actually failed.

For example, consider a long running compile-time benchmark:

hyperfine \
  --runs 3 \
  --ignore-failure \
  --parameter-list git_tag "v0.1,v0.2,v0.3,v0.4,v0.4.1,v0.5" \
  --prepare "git checkout --force {git_tag}; make clean" \
  --export-json "compile_time.j
BenchmarkDotNet
aaubry
aaubry commented Sep 17, 2020

When I have a MsBuildArgument whose value ends in a backslash, there is an error somewhere along the intermediate code generation that causes the generated program to receive malformed arguments, resulting in a parsing exception. Here's an example of such:

var summary = BenchmarkRunner.Run<MyBenchmark>(DefaultConfig.Instance
    .AddJob(Job.Default
        .WithArguments(new[]
     
cedric-sun
cedric-sun commented Sep 24, 2020

In #466 a description about how to "disable" CPU performance scaling on Linux was added. It works by setting the cpufreq governor to performance (which is arguably not the only way to stabilize CPU frequency) and, later after the benchmark is done, setting that to powersave.

I personally think it's more appropriate to memorize what the previous governor was by a simple shell variable, and l

Improve this page

Add a description, image, and links to the benchmark topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the benchmark topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.