Skip to content

[ntuple] Address some RNTupleProcessor performance bottlenecks#22593

Merged
enirolf merged 3 commits into
root-project:masterfrom
enirolf:ntuple-proc-chain-bottleneck
Jun 16, 2026
Merged

[ntuple] Address some RNTupleProcessor performance bottlenecks#22593
enirolf merged 3 commits into
root-project:masterfrom
enirolf:ntuple-proc-chain-bottleneck

Conversation

@enirolf

@enirolf enirolf commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

This change prevents the unnecessary re-connection of inner RNTuples in a chain upon calling LoadEntry, by first checking whether the requested entry is before or after the currently loaded entry.

In addition, some unnecessary calls to Initialize and Connect in RNTupleSingleProcessor::GetNEntries have been factored out.

@enirolf enirolf requested review from hahnjo, pcanal and vepadulano June 12, 2026 11:34
@enirolf enirolf self-assigned this Jun 12, 2026
@enirolf enirolf requested a review from jblomer as a code owner June 12, 2026 11:34
@enirolf enirolf requested a review from silverweed as a code owner June 12, 2026 11:34
Comment thread tree/ntuple/src/RNTupleProcessor.cxx Outdated
Comment thread tree/ntuple/src/RNTupleProcessor.cxx
@enirolf enirolf force-pushed the ntuple-proc-chain-bottleneck branch from be1986b to 0c7ea38 Compare June 12, 2026 11:57
@enirolf enirolf force-pushed the ntuple-proc-chain-bottleneck branch from 724d342 to d7d839b Compare June 12, 2026 13:00
@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown

Test Results

    21 files      21 suites   3d 5h 44m 41s ⏱️
 3 863 tests  3 863 ✅ 0 💤 0 ❌
72 810 runs  72 810 ✅ 0 💤 0 ❌

Results for commit d7d839b.

♻️ This comment has been updated with latest results.

Comment thread tree/ntuple/src/RNTupleProcessor.cxx
@enirolf enirolf merged commit 40ae624 into root-project:master Jun 16, 2026
80 of 83 checks passed
@enirolf enirolf deleted the ntuple-proc-chain-bottleneck branch June 16, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants