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 benchmarks #35

Closed
Woyten opened this issue Apr 10, 2021 · 1 comment
Closed

Add benchmarks #35

Woyten opened this issue Apr 10, 2021 · 1 comment
Assignees
Labels
good first issue Good for newcomers microwave Impact on microwave only performance Possibility to improve performance. Please measure!

Comments

@Woyten
Copy link
Owner

Woyten commented Apr 10, 2021

The current performance does not seem to be a a problem. microwave can render 800 Sin stages and 1600 Sawtooth stages simultaneously on a single Core i7-6700HQ CPU @ 2.60GHz. There is still room for improvement by rendering the Sin function to a wavetable (#28) and by using all CPU cores.

However, thinking about performance without measuring it is a problem. Therefore, I would like to add some benchmark tests that confirm or disprove performance considerations.

Vision:

  • Add a bench subcommand which runs some performance test (e.g. measures the time to render 100.000 Sin stages into a buffer)
  • Create an independent github action which will build the microwave executable for all commits since the latest release tag in --release mode
  • Run microwave bench for all builds multiple times and create a benchmark report
@Woyten Woyten added good first issue Good for newcomers microwave Impact on microwave only performance Possibility to improve performance. Please measure! labels Apr 10, 2021
@Woyten Woyten self-assigned this May 17, 2022
@Woyten
Copy link
Owner Author

Woyten commented May 20, 2022

Added with 84d8c75.

@Woyten Woyten closed this as completed May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers microwave Impact on microwave only performance Possibility to improve performance. Please measure!
Projects
None yet
Development

No branches or pull requests

1 participant