Add Benchmarks regarding Coil Optimization#2266
Open
YigitElma wants to merge 9 commits into
Open
Conversation
…s is redundant benchmark
Contributor
Memory benchmark result| Test Name | %Δ | Master (MB) | PR (MB) | Δ (MB) | Time PR (s) | Time Master (s) |
| -------------------------------------- | ------------ | ------------------ | ------------------ | ------------ | ------------------ | ------------------ |
test_objective_jac_w7x | -2.04 % | 4.024e+03 | 3.942e+03 | -82.01 | 32.06 | 29.54 |
test_proximal_jac_w7x_with_eq_update | 1.45 % | 6.514e+03 | 6.608e+03 | 94.19 | 154.59 | 155.13 |
test_proximal_freeb_jac | 0.15 % | 1.332e+04 | 1.334e+04 | 20.32 | 79.73 | 81.43 |
test_proximal_freeb_jac_blocked | 1.08 % | 7.645e+03 | 7.728e+03 | 82.85 | 69.69 | 69.18 |
test_proximal_freeb_jac_batched | -0.15 % | 7.670e+03 | 7.658e+03 | -11.17 | 69.30 | 68.70 |
test_proximal_jac_ripple | 1.23 % | 3.520e+03 | 3.563e+03 | 43.18 | 53.44 | 53.44 |
test_proximal_jac_ripple_bounce1d | 0.03 % | 3.772e+03 | 3.773e+03 | 1.06 | 68.85 | 67.52 |
test_eq_solve | 0.41 % | 1.975e+03 | 1.983e+03 | 8.00 | 57.98 | 57.36 |For the memory plots, go to the summary of |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2266 +/- ##
==========================================
- Coverage 94.32% 94.31% -0.02%
==========================================
Files 101 101
Lines 28866 28868 +2
==========================================
- Hits 27228 27226 -2
- Misses 1638 1642 +4
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
QuadraticFluxwith a mixed coilset that is complex enough.compute_magnetic_fieldpull_request_target, that means they always usemastercodeplot_coilsandCoilSet.from_symmetrythat ignored the givencheck_intersectioncheck_intersectionto coil set initializersLinearConstraintProjectionobject inperturbbenchmarks to make it faster. We internally use it in this way anyway. Also, we benchmarkLinearConstraintProjection.build()separately.Optional/can be reverted: