-
Notifications
You must be signed in to change notification settings - Fork 2
Benchpress/minebench #5
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
base: master
Are you sure you want to change the base?
Conversation
c2f54cf to
0d382dd
Compare
adhanotia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Just a couple of minor nits.
| #!/bin/bash | ||
| set -e | ||
| set -x | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a section for prerequisites and add the libraries we assume are going to be installed.
Maybe use our test host as baseline and then add any additional libraries that were installed before we can run this benchmark
| #!/bin/bash | ||
| set -e | ||
|
|
||
| /usr/bin/time -p "$@" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Time might not always be in /usr/bin. Maybe just call 'time' and assume its added in the path?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
time is a built-in shell command in zsh and bash. /usr/bin/time provides more detailed data. But yes it's true, potentially time might not be installed.
I'll verify with time and see if it's enough. Ideally, Benchpress itself should measure the duration.
0d382dd to
d7190f7
Compare
Adds MineBench's KMeans, PLSA and RSearch benchmarks.