Skip to content

CURA-13226 Engine adjustments for benchmark tooling#2345

Open
Erwan MATHIEU (wawanbreton) wants to merge 15 commits into
mainfrom
CURA-13226_slice-speed-benchmark-tooling
Open

CURA-13226 Engine adjustments for benchmark tooling#2345
Erwan MATHIEU (wawanbreton) wants to merge 15 commits into
mainfrom
CURA-13226_slice-speed-benchmark-tooling

Conversation

@wawanbreton

Copy link
Copy Markdown
Contributor

This PR provides two minor improvements that were necessary for the new benchmarking tools:

  • Improve the OBJ file loading to fully support files exported with assimp
  • Export the GCode header irregardless of the communication type. Since we now resolve the whole GCode at the end of the slicing, the header can be treated the same and always be fully generated. Thus the Communication objects don't need the isSequential method anymore, and they will all get the very same GCode header. The header is also now sent as a regular GCode part, so we don't need the specific GCodePrefix message.

CURA-13226

CURA-13226
Now that the GCode resolving is fully done at the end of the processing, we can generate the full header regardless of the communication method. Thus the isSequential() and the sendGCodeprefix() are no more required. The header is not sent as a regular piece of GCode using sendGCodePart().
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Test Results

31 tests   31 ✅  4s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 50e76d7.

♻️ This comment has been updated with latest results.

@wawanbreton Erwan MATHIEU (wawanbreton) left a comment

Copy link
Copy Markdown
Contributor Author

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: 0b3f822 Previous: 4d5fb16 Ratio
SimplifyTestFixture/simplify_local 8.381421742923362 ns/iter 1.2540880137436994 ns/iter 6.68

This comment was automatically generated by workflow using github-action-benchmark.

CC: Jelle Spijker (@jellespijker) Erwan MATHIEU (@wawanbreton) Casper Lamboo (@casperlamboo) HellAholic

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.

1 participant