Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize search algorithm for EventFilter/SiStripRawToDigi/plugins/WarningSummary.cc #32280

Merged

Conversation

mmusich
Copy link
Contributor

@mmusich mmusich commented Nov 25, 2020

PR description:

It has been suggested in #32220 (comment) (where a similar strategy for collecting warning messages is used) that a more efficient search algorithm for std::map can be used (by using its native O(log(n)) implementation).

PR validation:

It compiles.

if this PR is a backport please specify the original PR and why you need to backport that PR:

Not a backport, no backport needed

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32280/20072

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @mmusich (Marco Musich) for master.

It involves the following packages:

EventFilter/SiStripRawToDigi

@perrotta, @jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@makortel, @Martin-Grunewald, @pieterdavid, @robervalwalsh, @VinInn this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@mmusich
Copy link
Contributor Author

mmusich commented Nov 25, 2020

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 25, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+1
Tested at: 4401c26
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b101e2/11030/summary.html
CMSSW: CMSSW_11_2_X_2020-11-24-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b101e2/11030/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2282 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2963516
  • DQMHistoTests: Total failures: 54303
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2909190
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 158 log files, 34 edm output root files, 37 DQM output files

@slava77
Copy link
Contributor

slava77 commented Nov 27, 2020

+1

for #32280 4401c26

  • technical ; in line with the PR description
  • jenkins tests pass and comparisons show no relevant differences (diffs in 11642.911 are due to some reproducibility issues in the DD4HEP workflows)

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 71b6e37 into cms-sw:master Nov 27, 2020
@mmusich mmusich deleted the optimizeSearchAlgorithmWarningSummary branch November 27, 2020 21:19
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.

None yet

5 participants