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

Consider alternative benchmark groupings #13

Open
dgeb opened this issue Jul 15, 2019 · 0 comments
Open

Consider alternative benchmark groupings #13

dgeb opened this issue Jul 15, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@dgeb
Copy link
Contributor

dgeb commented Jul 15, 2019

The current groupings evolved a bit awkwardly as different benchmarking scenarios were added to the mix.

These groupings could be refactored to more natural categories, such as:

  • Language:

    • JS
    • WASM - emscripten-generated
  • Thread spawning / teardown:

    • Spawn / teardown threads for each test
    • Reuse pre-spawned threads
  • Algorithm:

    • Fibonacci(50)
    • Simple multiplication
    • Quicksort

Work location:

  • On main thread only
  • On each background thread
  • On main thread + each background thread
  • On main thread, invoked once from each background thread
  • On main thread, invoked for each iteration
  • Work iterations

    • min
    • max
    • step
  • Background threads

    • min
    • max

Although these groupings are arguably more clearly divided, they would lead to a larger matrix of results.

@dgeb dgeb added the enhancement New feature or request label Jul 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant