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

Use airspeed velocity to track performance changes #476

Open
ketch opened this issue Nov 16, 2014 · 6 comments
Open

Use airspeed velocity to track performance changes #476

ketch opened this issue Nov 16, 2014 · 6 comments

Comments

@ketch
Copy link
Member

ketch commented Nov 16, 2014

Airspeed velocity is a tool for tracking performance of the code. Basically, it checks out a series of commits and runs some benchmarks on each one, then shows you how the performance has changed over time.

I managed to get it working on my computer by the following steps:

setup:

mkdir asv_pyclaw
cd asv_pyclaw
asv quickstart

Then replace your asv.conf.json file with this: https://gist.github.com/ketch/00e4f4cd33904bbfe6e2

Finally, you can run the benchmarks and see the output with this:

cd ~/asv_pyclaw
asv run v5.0.0..master  
asv publish
asv preview

It would be great to have a public-facing server that automatically does this and hosts the results.

image

@mandli
Copy link
Member

mandli commented Nov 16, 2014

I keep getting

IOError: trying to symlink /Users/mandli/src/clawpack/asv_pyclaw/clawpack/riemann/src/python/riemann: which does not exist

when trying the instructions. Any idea why this might happen?

@ahmadia
Copy link
Member

ahmadia commented Nov 16, 2014

Your master Clawpack and Riemann repositories are out of sync. Try bumping
to master on both.

On Sun, Nov 16, 2014 at 8:30 PM, Kyle Mandli notifications@github.com
wrote:

I keep getting

IOError: trying to symlink /Users/mandli/src/clawpack/asv_pyclaw/clawpack/riemann/src/python/riemann: which does not exist

when trying the instructions. Any idea why this might happen?


Reply to this email directly or view it on GitHub
#476 (comment).

@mandli
Copy link
Member

mandli commented Nov 17, 2014

Working now, thanks for knowing what the problem was so quickly @ahmadia.

Back to the issue, do we have a machine that could be dedicated to this and possibly have the output linked to the clawpack.org website?

@ketch
Copy link
Member Author

ketch commented Nov 17, 2014

I have machines, but they are behind the KAUST proxy so I can't serve pages publicly. Maybe they could be set to automatically upload results somewhere...

@mandli
Copy link
Member

mandli commented Nov 17, 2014

Maybe it's enough to compare subsequent release versions, then we can just include it in the static docs.

@ketch
Copy link
Member Author

ketch commented Nov 17, 2014

That would at least be a start.

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

3 participants