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

Producing better benchmark time information #3

Open
purbon opened this issue Dec 8, 2014 · 2 comments
Open

Producing better benchmark time information #3

purbon opened this issue Dec 8, 2014 · 2 comments

Comments

@purbon
Copy link
Contributor

purbon commented Dec 8, 2014

We're actually using Benchmark.realtime in order to get time information for each run, this might be misleading in case of a competition for cpu cycles.

Will be interesting to use the cpu cycle as time, we can get more information by:

  • Using a system call like _times_.
  • Or using _getrusage_.

We should investigate the better usage of this under with jruby and/or MRI.

@jordansissel
Copy link

@purbon
Copy link
Contributor Author

purbon commented Dec 8, 2014

@jordansissel nice, very interesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants