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

Internal/quantify/random access #615

Merged
merged 55 commits into from
Feb 26, 2024
Merged

Conversation

SSoelvsten
Copy link
Owner

Closes #488 to then close #483 .

Prior to this, one could end in the random-access case with two non-canonical diagrams
Some parts of the naming scheme, e.g. 'request_t' are still broken. To fix
these, we need to also touch the Nested Sweeping framework.
This allows us to split the loops in two and thereby hopefully drastically improve the code quality
As far as I can tell, the canonicity of 'resolve_request' already takes care of
this case?
@SSoelvsten SSoelvsten added the ✨ optimisation It's all about speed / space label Feb 23, 2024
@SSoelvsten SSoelvsten self-assigned this Feb 23, 2024
Copy link

Cppcheck

nofile:0:0: information: Cppcheck cannot find all the include files (use --check-config for details) [missingInclude]

Copy link

codecov bot commented Feb 23, 2024

Codecov Report

Attention: Patch coverage is 98.91304% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 97.224%. Comparing base (fba2df5) to head (c8883dd).

Files Patch % Lines
src/adiar/internal/algorithms/quantify.h 98.299% 5 Missing ⚠️
src/adiar/internal/algorithms/nested_sweeping.h 96.667% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##              main      #615       +/-   ##
=============================================
+ Coverage   97.159%   97.224%   +0.066%     
=============================================
  Files           88        90        +2     
  Lines         6124      6341      +217     
=============================================
+ Hits          5950      6165      +215     
- Misses         174       176        +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SSoelvsten
Copy link
Owner Author

SSoelvsten commented Feb 23, 2024

The missing coverage is due to

  • External Priority Queue cases ( unsolveable(ish) )
  • Secondary Priority Queue case for Repeated Transposition
  • Secondary Priority Queue case for entry point to Nested Sweeping
  • PQ variant leaving a node behind during repeated transposition.

Furthermore:

  • There are no unit tests to cover bdd_forall(f, int)

Copy link

github-actions bot commented Feb 23, 2024

🟡 Regression Test (Picotrav 'mem_ctrl')

'origin/internal/quantify/random-access' is a change in performance of -0.51% (stdev: 1.30%).

... origin/main origin/internal/quantify/random-access
Mean 112564.33 113137.33
Standard Deviation 1468.94 220.10

Number of samples: 3

Copy link

github-actions bot commented Feb 23, 2024

🟢 Regression Test (QBF 'breakthrough/3x5_11_bwnib')

'origin/internal/quantify/random-access' is a change in performance of 24.05% (stdev: 1.23%).

... origin/main origin/internal/quantify/random-access
Mean 9945.60 7553.40
Standard Deviation 122.29 40.48

Number of samples: 5

Copy link

github-actions bot commented Feb 23, 2024

🟢 Regression Test (Picotrav 'adder')

'origin/internal/quantify/random-access' is a change in performance of 0.52% (stdev: 9.07%).

... origin/main origin/internal/quantify/random-access
Mean 9649.00 9599.00
Standard Deviation 872.47 870.73

Number of samples: 10

Copy link

github-actions bot commented Feb 23, 2024

🟡 Regression Test (Picotrav 'arbiter')

'origin/internal/quantify/random-access' is a change in performance of -0.76% (stdev: 1.27%).

... origin/main origin/internal/quantify/random-access
Mean 62574.00 63050.25
Standard Deviation 792.03 488.66

Number of samples: 4

Copy link

github-actions bot commented Feb 23, 2024

🟢 Regression Test (QBF 'domineering/5x5_13_bwnib')

'origin/internal/quantify/random-access' is a change in performance of 28.61% (stdev: 4.52%).

... origin/main origin/internal/quantify/random-access
Mean 31274.00 22326.00
Standard Deviation 1414.00 14.88

Number of samples: 4

Copy link

github-actions bot commented Feb 23, 2024

🟢 Regression Test (QBF 'breakthrough/3x4_19_bwnib')

'origin/internal/quantify/random-access' is a change in performance of 12.73% (stdev: 1.39%).

... origin/main origin/internal/quantify/random-access
Mean 29051.00 25354.25
Standard Deviation 402.84 316.02

Number of samples: 4

Copy link

github-actions bot commented Feb 23, 2024

🟢 Regression Test (QBF 'ep/8x8_7_e-8-1_p-3-4_bwnib')

'origin/internal/quantify/random-access' is a change in performance of 38.08% (stdev: 5.75%).

... origin/main origin/internal/quantify/random-access
Mean 44209.10 27375.70
Standard Deviation 2541.89 133.48

Number of samples: 10

@SSoelvsten SSoelvsten force-pushed the internal/quantify/random-access branch from 10417f9 to 32c274b Compare February 26, 2024 09:57
@SSoelvsten SSoelvsten merged commit acd18b0 into main Feb 26, 2024
53 of 54 checks passed
@SSoelvsten SSoelvsten deleted the internal/quantify/random-access branch March 7, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ optimisation It's all about speed / space
Projects
None yet
1 participant