Skip to content

Run individual benchmarks in separate sub-processes - #32

Open
psalz wants to merge 1 commit into
masterfrom
spawn-subprocess
Open

Run individual benchmarks in separate sub-processes#32
psalz wants to merge 1 commit into
masterfrom
spawn-subprocess

Conversation

@psalz

@psalz psalz commented Feb 18, 2020

Copy link
Copy Markdown
Collaborator

To increase resilience against hard-crashing benchmarks, this change causes the framework to no longer directly execute the individual benchmarks. Instead, for each call to BenchmarkApp::run(), a subprocess
is spawned, which, based on an environment variable, decides what benchmark to execute.

To increase resilience against hard-crashing benchmarks, this change
causes the framework to no longer directly execute the individual
benchmarks. Instead, for each call to BenchmarkApp::run(), a subprocess
is spawned, which, based on an environment variable, decides what
benchmark to execute.
@psalz

psalz commented Feb 18, 2020

Copy link
Copy Markdown
Collaborator Author

Okay so this definitely needs a signal handler or something to kill the parent process :D

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.

1 participant