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

Move benchmark as a mix task #73

Merged
merged 3 commits into from Apr 13, 2024
Merged

Conversation

jaeyson
Copy link
Owner

@jaeyson jaeyson commented Apr 12, 2024

Closes #72

Using mix run benchmarks/basic_algo.exs seems error prone and
lots of typing. We could move this as a mix task like:

# list of available functions to be benchmarked
mix bench --list

# bench a specific function
mix bench repeat_string

# get results as html
mix bench repeat_string --html

@jaeyson jaeyson self-assigned this Apr 12, 2024
@jaeyson jaeyson linked an issue Apr 12, 2024 that may be closed by this pull request
@jaeyson jaeyson merged commit 51f8fdb into main Apr 13, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

Move benchmark as a mix task
1 participant