Skip to content

Speedup indexing with vscode + rustanalyzer#42

Merged
bkchr merged 1 commit intobkchr:masterfrom
alexggh:fix/vscode_indexing
Dec 6, 2023
Merged

Speedup indexing with vscode + rustanalyzer#42
bkchr merged 1 commit intobkchr:masterfrom
alexggh:fix/vscode_indexing

Conversation

@alexggh
Copy link
Copy Markdown
Contributor

@alexggh alexggh commented Dec 6, 2023

It seems calling cargo to determine the workspace path every time really slows down things when indexing polkadot-sdk(almost 10 minutes) so let's cache the workspace manifest path an call cargo locate only when building the cache entry, this gives us similar performance as 1.3.0 version of this crate.

Seems like calling cargo to determine the workspace path every time
really slows down things when indexing polkadot-sdk(almost 10 minutes)
so let's cache the workspace manifest path an call cargo locate only
when building the cache entry, this gives us similar performance as
1.3.0 version of this crate.

Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
@bkchr bkchr changed the title Fix indexing with vscode + rustanalyzer Speedup indexing with vscode + rustanalyzer Dec 6, 2023
Copy link
Copy Markdown
Owner

@bkchr bkchr left a comment

Choose a reason for hiding this comment

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

Thank you! Easy fix :D

@bkchr bkchr merged commit 57618a7 into bkchr:master Dec 6, 2023
alexggh added a commit to paritytech/polkadot-sdk that referenced this pull request May 15, 2024
This bump of versions:
https://github.com/paritytech/polkadot-sdk/pull/4409/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87eR11936

reintroduced a dependency to proc-macro-crate 2.0.0 which is suffering
from: bkchr/proc-macro-crate#42 this, so bump
parity-scale-codec to a newer version to eliminate the 2.0.0 dependency.

Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
github-merge-queue Bot pushed a commit to paritytech/polkadot-sdk that referenced this pull request May 15, 2024
This bump of versions:

https://github.com/paritytech/polkadot-sdk/pull/4409/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87eR11936

reintroduced a dependency to proc-macro-crate 2.0.0 which is suffering
from: bkchr/proc-macro-crate#42 this, so bump
parity-scale-codec to a newer version to eliminate the bad
proc-macro-crate 2.0.0 dependency.

---------

Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
Co-authored-by: command-bot <>
hitchhooker pushed a commit to ibp-network/polkadot-sdk that referenced this pull request Jun 5, 2024
This bump of versions:

https://github.com/paritytech/polkadot-sdk/pull/4409/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87eR11936

reintroduced a dependency to proc-macro-crate 2.0.0 which is suffering
from: bkchr/proc-macro-crate#42 this, so bump
parity-scale-codec to a newer version to eliminate the bad
proc-macro-crate 2.0.0 dependency.

---------

Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
Co-authored-by: command-bot <>
liuchengxu pushed a commit to liuchengxu/polkadot-sdk that referenced this pull request Jun 19, 2024
This bump of versions:

https://github.com/paritytech/polkadot-sdk/pull/4409/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87eR11936

reintroduced a dependency to proc-macro-crate 2.0.0 which is suffering
from: bkchr/proc-macro-crate#42 this, so bump
parity-scale-codec to a newer version to eliminate the bad
proc-macro-crate 2.0.0 dependency.

---------

Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
Co-authored-by: command-bot <>
TarekkMA pushed a commit to moonbeam-foundation/polkadot-sdk that referenced this pull request Aug 2, 2024
This bump of versions:

https://github.com/paritytech/polkadot-sdk/pull/4409/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87eR11936

reintroduced a dependency to proc-macro-crate 2.0.0 which is suffering
from: bkchr/proc-macro-crate#42 this, so bump
parity-scale-codec to a newer version to eliminate the bad
proc-macro-crate 2.0.0 dependency.

---------

Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
Co-authored-by: command-bot <>
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.

2 participants