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

Separate benchmarks #123

Merged
merged 16 commits into from
Sep 24, 2019
Merged

Separate benchmarks #123

merged 16 commits into from
Sep 24, 2019

Conversation

regexident
Copy link
Collaborator

This PR starts moving Surge's benchmark tests into a separate SurgeBenchmarkTests target.

Currently Travis CI takes 8 - 10 min to run. The test suite alone takes about 40 sec on my local machine.

With a separate test bundle we will hopefully be able to reduce this significantly.

Further more tests now use arrays/vectors/matrices of size 1000/100/100 respectively for speed.
While benchmarks use arrays/vectors/matrices of size 100_000/1000/1000 respectively for accuracy.

…c addInPlace`), not a derived wrapper function (e.g. `func add` or `func +`, etc.)

This also removed any previously added benchmarks. But not to worry we’ll add them back in a dedicated `SurgeBenchmarkTests` test target.
…c logInPlace`), not a derived wrapper function (e.g. `func log`)

This also removed any previously added benchmarks. But not to worry we’ll add them back in a dedicated `SurgeBenchmarkTests` test target.
@regexident regexident merged commit 5e9e974 into master Sep 24, 2019
@regexident regexident deleted the separate-benchmarks branch September 24, 2019 23:56
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

Successfully merging this pull request may close these issues.

1 participant