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

Slow jitting benchmarks #15

Closed
pnkraemer opened this issue Aug 18, 2021 · 2 comments
Closed

Slow jitting benchmarks #15

pnkraemer opened this issue Aug 18, 2021 · 2 comments

Comments

@pnkraemer
Copy link
Owner

#14 introduces a benchmark-option that just-in-time-compiles the attempt_step functions.
This is for two reasons:

  1. It is interesting to see how much (wall-clock) run time one can gain by using a few additional tricks
  2. The run-time curves will look less noisy ("cleaner").

Since this makes the experiment really slow (compilation takes a while), it is turned off by default and should only be turned on when desired.

If we notice that we never turn it on, let's remove it again!

@pnkraemer
Copy link
Owner Author

At the moment the jitted experiments look better than the non-jitted:

1_attempt_step_lorenz_timing.pdf

(better in the sense that growth rates are more evident). Maybe that is an argument in favour of keeping them...!? Let's just keep an eye on them

@nathanaelbosch
Copy link
Collaborator

Without having experienced the slow compile times, I'm strongly in favor of just jitting everything we can! It seems like a super simple way to make things faster and so I don't see a good reason for reporting the slower runtimes, if we also have faster ones.

And the curves really do look much nicer :)

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

No branches or pull requests

2 participants