Skip to content

CI: Double compute performance, halve build jobs#150

Open
ReinierMaas wants to merge 7 commits into
masterfrom
reinier/share-dependencies
Open

CI: Double compute performance, halve build jobs#150
ReinierMaas wants to merge 7 commits into
masterfrom
reinier/share-dependencies

Conversation

@ReinierMaas

Copy link
Copy Markdown
Contributor

More effective caching between the Nix builds by running in the same job.
Share feature flags between Rust builds by using cargo hakari.

@ReinierMaas ReinierMaas self-assigned this Jul 23, 2026
@ReinierMaas
ReinierMaas force-pushed the reinier/share-dependencies branch from 9f33d83 to 1095092 Compare July 23, 2026 14:45

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.

The Nix provided sqlite3 library is of a slightly different version that the one bundled with libsqlite-sys crate, which causes some small differences in the explanation of the query plans.

Comment thread Cargo.lock

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.

Here you can spot the reduction in dependencies! But the workspace hack still makes sense because that consolidates the feature selection as well, which also reduces the amount of recompiles of the same (transitive) dependency.

@ReinierMaas
ReinierMaas marked this pull request as ready for review July 24, 2026 13: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.

1 participant