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

CURA-12175 Fix scarf seam and coasting interaction #2155

Merged
merged 6 commits into from
Oct 31, 2024

Conversation

wawanbreton
Copy link
Contributor

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

wawanbreton and others added 2 commits October 23, 2024 16:37
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.
Copy link
Member

@rburema rburema left a 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

Copy link
Member

@rburema rburema left a 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.

src/LayerPlan.cpp Outdated Show resolved Hide resolved
@wawanbreton
Copy link
Contributor Author

Performance spike got back to normal as I expected. We had a similar case last week, quite annoying 🤔

@HellAholic HellAholic merged commit 981ac86 into 5.9 Oct 31, 2024
27 checks passed
@HellAholic HellAholic deleted the CURA-12175_Coasting-Scarf-seam-creates-two-seams branch October 31, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants