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.
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