Skip to content

Add RNTuple benchmark for ATLAS file - #170

Merged
guitargeek merged 5 commits into
root-project:masterfrom
kamahori:atlas-rntuple
Sep 3, 2026
Merged

Add RNTuple benchmark for ATLAS file#170
guitargeek merged 5 commits into
root-project:masterfrom
kamahori:atlas-rntuple

Conversation

@kamahori

Copy link
Copy Markdown
Contributor
  • I add a benchmark for ATLAS file with RNTuple format (RNTupleATLASBenchmarks.cxx and gen_atlas.cxx)
  • And to avoid confusion, changed the name of another benchmark RNTupleAnalysisBenchmarks -> RNTupleH1Benchmarks.

@kamahori

Copy link
Copy Markdown
Contributor Author

@oshadura Can you also review this PR?

@oshadura
oshadura self-requested a review November 13, 2020 12:40
kamahori and others added 5 commits September 3, 2026 22:23
The original implementation built the RNTuple model by hand from the
TTree branches, using low-level RField interfaces that no longer exist
in current ROOT. ROOT has since gained RNTupleImporter, which does this
conversion generically, so use it instead. Like gen_h1, the tool is now
also a no-op if the output file already exists.
The RNTuple classes moved out of the ROOT::Experimental namespace. Also
remove the many unused includes and link gen_atlas against the
libraries it actually needs.
The input file is about 1.9 GB, so converting it once per compression
algorithm dominates the setup time of the benchmark. Keep zstd (the
RNTuple default), lzma (the strongest) and uncompressed as the
extremes, and drop zlib and lz4.

@guitargeek guitargeek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for adding this nice benchmark!

@guitargeek
guitargeek merged commit 28ea11b into root-project:master Sep 3, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants