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

changed boost::unordered_map for std::unordered_map in SiStripObjects #29944

Merged
merged 1 commit into from May 28, 2020

Conversation

camolezi
Copy link
Contributor

PR description:

std::unordered_map and boost::unordered_map have very similar performance. So, we can reduce boost dependency by replacing boost::unordered_map for std::unordered_map.

PR validation:

Passed on basic runTheMatrix test.

I've run some benchmarks to compare boost vs std unordered_maps performance:

Map search benchmark.
https://gist.github.com/camolezi/f14800fd4c60af7d2ef501b6b92f9ddd

Adding and removing elements.
https://gist.github.com/camolezi/a5a39539a8c7252d74ec8e6f17f6aa37

@vgvassilev @davidlange6

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-29944/15581

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @camolezi (Lucas Camolezi) for master.

It involves the following packages:

CalibFormats/SiStripObjects

@cmsbuild, @pohsun, @christopheralanwest, @tocheng, @tlampen can you please review it and eventually sign? Thanks.
@mmusich, @threus, @tocheng this is something you requested to watch as well.
@silviodonato, @dpiparo you are the release manager for this.

cms-bot commands are listed here

@smuzaffar smuzaffar modified the milestones: CMSSW_11_1_X, CMSSW_11_2_X May 22, 2020
@pohsun
Copy link

pohsun commented May 23, 2020

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 23, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/6533/console Started: 2020/05/23 10:00

@cmsbuild
Copy link
Contributor

+1
Tested at: ee945be
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-774ee5/6533/summary.html
CMSSW: CMSSW_11_1_X_2020-05-22-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-774ee5/6533/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 36
  • DQMHistoTests: Total histograms compared: 2780792
  • DQMHistoTests: Total failures: 16
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2780726
  • DQMHistoTests: Total skipped: 50
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 35 files compared)
  • Checked 152 log files, 16 edm output root files, 36 DQM output files

@pohsun
Copy link

pohsun commented May 28, 2020

+1

@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 (and backports should be raised in the release meeting by the corresponding L2)

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 6eceb77 into cms-sw:master May 28, 2020
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