Skip to content

Any suggestion for making dev env faster #14555

Answered by jszwedko
caibirdme asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @caibirdme !

You can see some tips here for speeding up compilation: https://github.com/vectordotdev/vector/blob/master/docs/DEVELOPING.md#tips-and-tricks . The most effective is using feature flags to only build the part of Vector you are actively developing (e.g. cargo check (or build or test) --no-default-features --features "sinks-elasticsearch" if you are just modifying the Elasticsearch sink). You can see the full list of feature flags in Cargo.toml.

We are hoping to make some improvements here in the future to make it easier to iterate on sub-components of Vector without needing to do a full build.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by caibirdme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants