github-action-benchmark icon indicating copy to clipboard operation
github-action-benchmark copied to clipboard

Track memory allocations

Open albertomercurio opened this issue 1 year ago • 3 comments

Hello,

I'm using this action in my Julia package, and it is very useful to track the benchmarks. However, sometimes the benchmark tracking on the execution time is not enough, and the memory allocations need to be tracked too.

Since BenchmarkTools.jl the memory allocations are already stored in the JSON file, is there a way to also keep track of these?

albertomercurio avatar Oct 15 '24 13:10 albertomercurio

Hello,

Any insights on this?

albertomercurio avatar Feb 11 '25 11:02 albertomercurio

hey @albertomercurio I'd love to expand the Julia tool to handle the memory allocations if they are provided in the output file. Since I don't work with Julia could you please provide me with an example where you have the necessary information in the JSON file but it's not being extracted by the action?

ktrz avatar Mar 29 '25 08:03 ktrz

The JSON file has also the properties allocs and memory, which give the number of allocations and the total memory allocated, respectively.

albertomercurio avatar Mar 29 '25 22:03 albertomercurio