Skip to content

Conversation

mizvekov
Copy link
Collaborator

@mizvekov mizvekov commented Oct 1, 2025

This makes that step use rsync to upload the website and demos.

Besides supporting compression, rsync also only sends the changes
over the wire.

This improves the performance of that step by a wide margin, reducing
normal upload times from almost 9 minutes down to about 20s for the most
common changes.

Note we have seen some times this step take almost two hours, but it seems
circumstantial with unknown cause, and we are not sure what kind of improvement
this would have in that case.

This uses rsync's ability to also remove stale files, to make sure
we don't leave old files behind. (This ignores the directories which are
handled separately, like llvm+clang and demos).

There were some pretty stale things left behind that this now removes,
such as a sitemap.xml which was generated last year.

Fixes #1039

@mizvekov mizvekov self-assigned this Oct 1, 2025
@mizvekov mizvekov force-pushed the GH1039 branch 2 times, most recently from b1f3cdc to 77c1a73 Compare October 1, 2025 20:16
@alandefreitas
Copy link
Collaborator

👏

This makes that step use rsync to upload the website and demos.

Besides supporting compression, rsync also only sends the changes
over the wire.

This improves the performance of that step by a wide margin, reducing
normal upload times from almost 9 minutes down to about 20s for the most
common changes.

This uses rsync's ability to also remove stale files, to make sure
we don't leave old files behind. (This ignores the directories which are
handled separately, like llvm+clang and demos).

There were some pretty stale things left behind that this now removes,
such as a sitemap.xml which was generated last year.
@mizvekov mizvekov changed the title WIP - Publish website performance ci: improve the 'Publish website' step Oct 3, 2025
@mizvekov mizvekov marked this pull request as ready for review October 3, 2025 04:43
@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://1046.mrdocs.prtest2.cppalliance.org/index.html

If more commits are pushed to the pull request, the docs will rebuild at the same URL.

2025-10-03 04:52:01 UTC

@alandefreitas
Copy link
Collaborator

Wow! This is so much better.

Copy link
Contributor

@K-ballo K-ballo left a comment

Choose a reason for hiding this comment

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

LGTM

@mizvekov mizvekov merged commit ffc2762 into cppalliance:develop Oct 3, 2025
21 checks passed
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.

ci: compress everything and deflate it on the server

5 participants