Benchmarktools explanation for dummies

Can someone explain what memory allocs estimate physically mean and how it differs from memory estimate in BenchmarkTools package in Julia?

Can you give an example of what you’re asking about?

1 Like


“memory estimate” is BenchmarkTools’ estimate of how much cumulative memory allocation the operation you are benchmarking performs—in this case 4.46×2^20 bytes. “allocs estimate” is the estimated number of allocations done by the operation you are benchmarking—in this case 13. So the 4.46×2^20 bytes were allocated in 13 separate chunks of various sizes.