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

Deal with big sample sizes and the slow down they produce in the page #3

Open
PragTob opened this issue Nov 30, 2016 · 1 comment
Open

Comments

@PragTob
Copy link
Member

PragTob commented Nov 30, 2016

When particularly fast functions are benchmarked for long, the sample size gets too large and plotly.js basically crashes or takes VERY LONG to render.

Current work arounds:

  • reduce :time to indirectly reduce sample size
  • remove the individual graphs from the resulting HTML by hand (they are most of the cause of this happening) and maybe also the box plot (is also fed raw run times)

Proposed solutions (might go into separate issues)

  • print a warning when sample sizes exceed a certain threshold (like say 100_000)
  • provide the option to split the individual graphs into separate files and then link to them
  • render the box plot giving manually calculated quadrilles on the elixir side see this thread
@PragTob
Copy link
Member Author

PragTob commented May 7, 2017

Splitting of files for individual benchmarks is implemented in 0.2.0

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