Skip to content

Conversation

baltzell
Copy link
Collaborator

@baltzell baltzell commented Aug 9, 2025

Adding a dedicated CI test first ...

@baltzell baltzell requested a review from c-dilks August 9, 2025 00:10
@baltzell baltzell force-pushed the speedups branch 3 times, most recently from 933faac to e1734b3 Compare August 12, 2025 23:10
@baltzell
Copy link
Collaborator Author

getting consistently ~40% faster on ifarm/cache, github actions, and lappi

@baltzell baltzell changed the title Decoding speedups Decoder speedups Aug 19, 2025
raffaelladevita
raffaelladevita previously approved these changes Sep 4, 2025
@baltzell
Copy link
Collaborator Author

baltzell commented Sep 8, 2025

See #815, the difference comes from a CCDB conflict for run 809, with LTCC and helicity sharing crate/slot 19/19.

@baltzell
Copy link
Collaborator Author

baltzell commented Sep 9, 2025

As it turns out, LTCC winning over helicity is correct for 809 (now, with first match in the arbitrarily ordered list winning, instead of last as previously), and the helicity FADC reading in the KPP test were always bogus. Correct?

@baltzell
Copy link
Collaborator Author

And the extra event disappears after only the CCDB changes (CI jobs won't show it until they pickup the weekly CCDB sqlite snapshot).

@baltzell baltzell merged commit c90777b into development Sep 13, 2025
36 checks passed
@baltzell baltzell deleted the speedups branch September 13, 2025 01:06
c-dilks pushed a commit that referenced this pull request Sep 15, 2025
* add access by hash

* use hash-based access in decoding

* remove clas6 detectors

* add docs

* only if necessary

* break loop upon first c/s/c-detector match

* use table-name-only initializer

* use DetectorType instead of String, preload tables once

* remove clas6 detectors

* change hash accessor names (workaround long->int... precedence)

* 10k events per decoder test job

* add a static for speed

* speedup swap table initialization

* use default (static) generator

* more less hashing

* speedup initialization

* optimize swap table initialization

* cleanup

* more comments

* check CCDB tanslation tables for crate/slot/channel conflicts

* add more performant accessors and use them in decoding

* remove cp, use cached
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