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

add runtime benchmarking to rules #22

Open
kzuberi opened this issue Jan 12, 2015 · 0 comments
Open

add runtime benchmarking to rules #22

kzuberi opened this issue Jan 12, 2015 · 0 comments

Comments

@kzuberi
Copy link
Contributor

kzuberi commented Jan 12, 2015

Looks like we need to add a command to the various rules to tell the build system to store benchmark stats in some file: benchmark rules

So we could do something like:

rule RULE_A:
    input: whatever
    output: whatever
    benchmark: WORK+"/benchmarks/RULE_A.json"
    shell: whatever

so basically adding that extra 'benchmark:" line to the rule. Unfortunately it looks like we have to do this for all rules we want to measure. I'd recommend trying it on a couple and having a look at the output file and deciding if this will be useful.

@haroldr you might be interested in trying this later.

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

No branches or pull requests

1 participant