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

Background indexing is too slow / demanding #1837

Open
MahdiBM opened this issue Nov 19, 2024 · 1 comment
Open

Background indexing is too slow / demanding #1837

MahdiBM opened this issue Nov 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@MahdiBM
Copy link
Contributor

MahdiBM commented Nov 19, 2024

Swift version

Swift 6.0.2 release

Platform

macOS 15

Editor

VS Code

Description

Background indexing looks to be 2-5x slower than Xcode's mechanism, and that's already a low bar to meet.

Perhaps we can have some benchmarks for sourcekit-lsp (through a package like ordo-one/package-benchmark), then we can both make sure that this doesn't regress any further, and also try to optimize it slowly but surely.

We'll need to discuss how to set up the benchmarking, if that's desirable.

Steps to Reproduce

Enable background indexing on a big-enough project.

Logging

No response

@MahdiBM MahdiBM added the bug Something isn't working label Nov 19, 2024
@ahoppen
Copy link
Member

ahoppen commented Nov 19, 2024

Synced to Apple’s issue tracker as rdar://140191254

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants