Avatar for the FuelLabs user
FuelLabs
sway
BlogDocsChangelog

LSP: Support multiple workspaces

#7214
Comparing
josh/multi_workspace
(
aacebd7
) with
master
(
0e24afd
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
24
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

format
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::format
CodSpeed Performance Gauge
+2%
478.7 ms
469 ms
code_lens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_lens
CodSpeed Performance Gauge
+1%
4.9 µs
4.9 µs
traverse
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::traverse
CodSpeed Performance Gauge
+1%
111.7 ms
110.5 ms
goto_definition
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::goto_definition
CodSpeed Performance Gauge
+1%
1.5 ms
1.5 ms
tokens_for_program
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_for_program
CodSpeed Performance Gauge
+1%
527.1 µs
523 µs
prepare_rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::prepare_rename
CodSpeed Performance Gauge
+1%
1.5 ms
1.5 ms
token_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::token_at_position
CodSpeed Performance Gauge
+1%
1.5 ms
1.5 ms
completion
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::completion
CodSpeed Performance Gauge
+1%
4.8 ms
4.8 ms
tokens_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_at_position
CodSpeed Performance Gauge
0%
2.8 ms
2.8 ms
parent_decl_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::parent_decl_at_position
CodSpeed Performance Gauge
0%
2.8 ms
2.8 ms
highlight
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::highlight
CodSpeed Performance Gauge
0%
5.3 ms
5.3 ms
document_symbol
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::document_symbol
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
find_all_references
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::find_all_references
CodSpeed Performance Gauge
0%
4.9 ms
4.9 ms
rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::rename
CodSpeed Performance Gauge
0%
4.9 ms
4.9 ms
code_action
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_action
CodSpeed Performance Gauge
0%
7 ms
7 ms
compile
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::compile
CodSpeed Performance Gauge
0%
5 s
5 s
inlay_hints
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::inlay_hints
CodSpeed Performance Gauge
0%
1.9 ms
1.9 ms
open_all_example_workspace_members
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::open_all_example_workspace_members
CodSpeed Performance Gauge
0%
8.1 s
8.1 s
idents_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::idents_at_position
CodSpeed Performance Gauge
0%
468.3 µs
468.5 µs
tokens_for_file
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_for_file
CodSpeed Performance Gauge
0%
1.5 ms
1.5 ms
on_enter
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::on_enter
CodSpeed Performance Gauge
0%
125.3 µs
125.4 µs
hover
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::hover
CodSpeed Performance Gauge
0%
3.7 ms
3.7 ms
did_change_with_caching
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::did_change_with_caching
CodSpeed Performance Gauge
0%
3.8 ms
3.8 ms
semantic_tokens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::semantic_tokens
CodSpeed Performance Gauge
-1%
2.8 ms
2.8 ms

Commits

Click on a commit to change the comparison range
Base
master
0e24afd
0%
benchmarks pass again
47e75f7
2 days ago
by JoshuaBatty
0%
Add Tokio runtime support and refactor async block execution in source module
eef22a2
19 hours ago
by JoshuaBatty
0%
Refactor `block_on_any_runtime` to always use a new Tokio runtime when not in an existing one, enhancing async execution handling.
aacebd7
16 hours ago
by JoshuaBatty
© 2025 CodSpeed Technology
Home Terms Privacy Docs