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

Cod 674 collect profiles while benchmarks are running #92

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

not-matthias
Copy link
Member

@not-matthias not-matthias commented Mar 25, 2025

TODO:

  • version bump to 2.10.0
  • criterion integration
  • common interface to start / stop benchmarks inside the compat crates

This comment was marked as outdated.

This comment was marked as outdated.

use std::os::unix::fs::OpenOptionsExt;
use std::path::PathBuf;

pub const RUNNER_CTL_FIFO: &str = "/tmp/runner.ctl.fifo";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could replace the /tmp previx with an env variable which would be set by the runner ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just thought about this again: I don't think it actually makes that much sense to do this. When having multiple runner instances, we would need to overwrite the env variable. So I think it makes this a bit more complicated for no added benefit

Is there any benefit to this that I'm missing?

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