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

Memory estimate? #311

Open
jariji opened this issue Jun 3, 2023 · 0 comments
Open

Memory estimate? #311

jariji opened this issue Jun 3, 2023 · 0 comments

Comments

@jariji
Copy link

jariji commented Jun 3, 2023

BenchmarkTools.Trial: 4103 samples with 1 evaluation.
 Range (min … max):  1.112 ms …  1.475 ms  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     1.210 ms              ┊ GC (median):    0.00%
 Time  (mean ± σ):   1.213 ms ± 41.653 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

                   ▂▄▅▆▆█▆▇▅▄▄▅▂▂    ▁▃▄▃▇▄▄▅▄▁               
  ▁▁▂▂▃▄▄▄▅▅▃▅▄▆▅▆▇████████████████▇████████████▆▆▄▄▃▃▃▂▂▁▁▁ ▅
  1.11 ms        Histogram: frequency by time        1.31 ms <

 Memory estimate: 10.14 KiB, allocs estimate: 147.

I'm wondering why are the memory and allocations a single "estimate"? If the amount of memory usage varies over the samples, then statistics and a histogram could give a more complete picture.

@gdalle gdalle added this to the v2.0 milestone Sep 18, 2023
@gdalle gdalle removed this from the v2.0 milestone Jan 5, 2024
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