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

editoast: bump osm4routing to avoid two compilations of protobuf #10160

Merged
merged 1 commit into from
Dec 22, 2024

Conversation

Tristramg
Copy link
Contributor

This allows a small compilation time improvement, as there is no longer two protobuf versions to compile

The total compilation time from scratch goes down from 186 seconds to 174. It’s a oneshot benchmark, so not very reliable, but there aren’t much downsides to this bump

Here is a screenshot of the situation before obtained by calling cargo build --timings
image

@Tristramg Tristramg requested a review from woshilapin December 20, 2024 18:24
@Tristramg Tristramg requested a review from a team as a code owner December 20, 2024 18:24
@github-actions github-actions bot added the area:editoast Work on Editoast Service label Dec 20, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 20, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.96%. Comparing base (97db49d) to head (6ee9f57).
Report is 1 commits behind head on dev.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev   #10160   +/-   ##
=======================================
  Coverage   79.96%   79.96%           
=======================================
  Files        1057     1057           
  Lines      106394   106367   -27     
  Branches      725      725           
=======================================
- Hits        85074    85054   -20     
+ Misses      21278    21271    -7     
  Partials       42       42           
Flag Coverage Δ
editoast 73.96% <ø> (-0.01%) ⬇️
front 89.21% <ø> (ø)
gateway 2.18% <ø> (ø)
osrdyne 3.28% <ø> (ø)
railjson_generator 87.50% <ø> (ø)
tests 87.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Contributor

@leovalais leovalais left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, less things to compile! ☢️ ⚡

Jean is vacationing btw.

Copy link
Contributor

@woshilapin woshilapin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Signed-off-by: Tristram Gräbener <tristram+git@tristramg.eu>
@Tristramg Tristramg self-assigned this Dec 21, 2024
@Tristramg Tristramg added this pull request to the merge queue Dec 22, 2024
Merged via the queue into dev with commit 76c6a0f Dec 22, 2024
27 checks passed
@Tristramg Tristramg deleted the bump_osm4routing branch December 22, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:editoast Work on Editoast Service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants