-
-
Notifications
You must be signed in to change notification settings - Fork 889
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
CURA-12175 Fix scarf seam and coasting interaction #2155
CURA-12175 Fix scarf seam and coasting interaction #2155
Conversation
CURA-12175 This is basically a rewrite of the coasting implementation. The coasting is now fully pre-calculated before processing the paths, because we need to do it partially anyway, then the second part just applies the result of the calculations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark 'C++ Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50
.
Benchmark suite | Current: f376224 | Previous: 669da73 | Ratio |
---|---|---|---|
SimplifyTestFixture/simplify_local |
8.658870874472235 ns/iter |
1.2420916705525211 ns/iter |
6.97 |
This comment was automatically generated by workflow using github-action-benchmark.
CC: @nallath @jellespijker @wawanbreton @casperlamboo @saumyaj3 @HellAholic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems much cleaner now!
I'm not sure how that performance warning got in there -- I don't think the commits on either side of it have touched the simplify algo.
The component test(s) will have to wait for next week, I want to give it some good attention.
Performance spike got back to normal as I expected. We had a similar case last week, quite annoying 🤔 |
A few things were incorrect in the current pre-calculation of the coasting settings. I also merged the pre-calculation with the post-calculation so that we don't calculate anything twice, which should make the whole thing faster. Now the second part just applied what the first part has calculated.
CURA-12175