Skip to content

Allow to run compiled benchmarks#52

Open
MasterEnoc wants to merge 1 commit intobheisler:mainfrom
MasterEnoc:precompiled
Open

Allow to run compiled benchmarks#52
MasterEnoc wants to merge 1 commit intobheisler:mainfrom
MasterEnoc:precompiled

Conversation

@MasterEnoc
Copy link

@MasterEnoc MasterEnoc commented Jun 18, 2022

Currently there is no way to run benchmarks without Cargo, which is awful since there is no way to benchmark binaries for projects that do not use Cargo This new flag allows to run and bench compiled binaries (linked to the criterion crate).

P.S. With "compiled binaries" I mean criterion benchmarks compiled using rustc and linked with the criterion crate.

This new flag allows to run, within Criterion, binaries
compiled previously by cargo or rustc.
@MasterEnoc MasterEnoc changed the title Add "--precompiled-bins" flags. Allow to run compiled benchmarks Jun 18, 2022
@tkann-galois
Copy link

I would also greatly benefit from this. I would like to be able to compile the benchmark binary for a specific target to test performance of different embedded hardware.

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