JuliaHEP / UnROOT.jl

Native Julia I/O package to work with CERN ROOT files objects (TTree and RNTuple)
https://juliahep.github.io/UnROOT.jl/
MIT License
102 stars 17 forks source link

cut RNTuple allocation by 40% #281

Closed Moelf closed 1 year ago

Moelf commented 1 year ago

Before

julia> @time main(df);
  3.259289 seconds (73.35 k allocations: 1.684 GiB, 3.64% gc time)

After:

julia> @time main(df);
  3.098389 seconds (48.93 k allocations: 960.076 MiB, 0.04% gc time)
codecov[bot] commented 1 year ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Files Coverage Δ
src/RNTuple/bootstrap.jl 96.00% <100.00%> (+0.34%) :arrow_up:
src/RNTuple/footer.jl 97.26% <100.00%> (+0.29%) :arrow_up:

:loudspeaker: Thoughts on this report? Let us know!.