Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mk: Don't run benchmarks with make check #14231

Closed
wants to merge 1 commit into from

Conversation

alexcrichton
Copy link
Member

The current suite of benchmarks for the standard distribution take a significant
amount of time to run, but it's unclear whether we're gaining any benefit from
running them. Some specific pain points:

  • No one is looking at the data generated by the benchmarks. We have no graphs
    or analysis of what's happening, so all the data is largely being cast into
    the void.
  • No benchmark has ever uncovered a bug, they have always run successfully.
  • Benchmarks not only take a significant amount of time to run, but also take a
    significant amount of time to compile. I don't think we should mitigate this
    for now because it's useful to ensure that they do indeed still compile.

This commit disables --bench test runs by default as part of make check,
flipping the NO_BENCH environment variable to a PLEASE_BENCH variable which will
manually enable benchmarking. If and when a dedicated bot is set up for
benchmarking, this flag can be enabled on that bot.

The current suite of benchmarks for the standard distribution take a significant
amount of time to run, but it's unclear whether we're gaining any benefit from
running them. Some specific pain points:

* No one is looking at the data generated by the benchmarks. We have no graphs
  or analysis of what's happening, so all the data is largely being cast into
  the void.

* No benchmark has ever uncovered a bug, they have always run successfully.

* Benchmarks not only take a significant amount of time to run, but also take a
  significant amount of time to compile. I don't think we should mitigate this
  for now because it's useful to ensure that they do indeed still compile.

This commit disables --bench test runs by default as part of `make check`,
flipping the NO_BENCH environment variable to a PLEASE_BENCH variable which will
manually enable benchmarking. If and when a dedicated bot is set up for
benchmarking, this flag can be enabled on that bot.
@alexcrichton alexcrichton deleted the no-bench branch May 16, 2014 00:44
@michaelwoerister
Copy link
Member

THANK YOU 👍 🐶 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants