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

dodging memory issues during detailed macro benchmarking #60

Closed
EmilRehnberg opened this issue Oct 4, 2019 · 2 comments
Closed

dodging memory issues during detailed macro benchmarking #60

EmilRehnberg opened this issue Oct 4, 2019 · 2 comments

Comments

@EmilRehnberg
Copy link

Hi! @jimhester
I've been trying to benchmark code that's a bit larger with a number of different parameters. But I end up getting problems due to that each run does ~100-300 MB memory allocations and the $memory part of the press results takes up huge memory after a few runs.

Is there a way to get the detailed benchmarking time results from press and mark but get away from the memory head aches? E.g. disable the memory checks?

@jimhester
Copy link
Member

You can use bench::bench_time() directly.

@EmilRehnberg
Copy link
Author

I'll refer to the discussion in the #62
I can see the use of going with bench::bench_time() by combining a list with arguments and purrr::pmap

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

No branches or pull requests

2 participants