Skip to content

Conversation

@paulgessinger
Copy link
Member

I added a benchmark for the various bounds checks in AnnulusBounds. I'm following @HadrienG2's example in BoundaryCheckBenchmark.cpp, and pick out a few special points to test best-case and worst-case performance. Also included are random test points.

This indicates the covariance check is about 10x slower than the tolerance and absolute checks. (Which is not really unexpected, I just wanted to quantify)

@paulgessinger paulgessinger added the Bug Something isn't working label Jul 16, 2020
@paulgessinger paulgessinger added this to the v0.29.00 milestone Jul 16, 2020
@paulgessinger
Copy link
Member Author

Ok, I think this time I didn't mess it up.

@asalzburger
Copy link
Contributor

I like this initiative!

@codecov
Copy link

codecov bot commented Jul 16, 2020

Codecov Report

Merging #334 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #334   +/-   ##
=======================================
  Coverage   48.67%   48.67%           
=======================================
  Files         325      325           
  Lines       16397    16397           
  Branches     7599     7599           
=======================================
  Hits         7981     7981           
  Misses       3104     3104           
  Partials     5312     5312           
Impacted Files Coverage Δ
Core/include/Acts/Surfaces/AnnulusBounds.hpp 55.26% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a9632bd...447b51d. Read the comment docs.

@asalzburger
Copy link
Contributor

Why is this labeled as bug?

@paulgessinger paulgessinger added Improvement Changes to an existing feature and removed Bug Something isn't working labels Jul 16, 2020
@paulgessinger
Copy link
Member Author

Why is this labeled as bug?

Because after having opened this PR wrongly two times before this one, I labelled it incorrectly. 😅

Copy link
Contributor

@asalzburger asalzburger left a comment

Choose a reason for hiding this comment

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

Conditionally approved, if you don't need the other code block, just remove it.

@paulgessinger paulgessinger merged commit 94b1472 into acts-project:master Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improvement Changes to an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants