FuelLabs
sway
BlogDocs

Improve document symbol hierarchy to match rust-analyzer layout

#6678
Comparing
josh/nested_outline
(
51e9478
) with
master
(
bcd15c3
)
-70%
Improvements
0
Regressions
1
Untouched
21
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

document_symbolRegression
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::document_symbol
-70%
5.3 ms
17.8 ms

Passed

format
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::format
+2%
464.9 ms
457.8 ms
tokens_for_file
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_for_file
0%
1.7 ms
1.7 ms
on_enter
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::on_enter
0%
126.1 µs
126 µs
hover
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::hover
0%
1.8 ms
1.8 ms
token_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::token_at_position
0%
1.7 ms
1.7 ms
completion
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::completion
0%
21 ms
21 ms
parent_decl_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::parent_decl_at_position
0%
18.7 ms
18.7 ms
did_change_with_caching
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::did_change_with_caching
0%
506.2 ms
506.2 ms
inlay_hints
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::inlay_hints
0%
18.6 ms
18.6 ms
tokens_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_at_position
0%
18.7 ms
18.7 ms
compile
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::compile
0%
5.4 s
5.4 s
rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::rename
0%
46.6 ms
46.6 ms
goto_definition
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::goto_definition
0%
1.7 ms
1.7 ms
find_all_references
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::find_all_references
0%
46.6 ms
46.6 ms
highlight
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::highlight
0%
44.1 ms
44.1 ms
code_action
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_action
0%
25.9 ms
25.9 ms
idents_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::idents_at_position
0%
481.7 µs
482 µs
prepare_rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::prepare_rename
0%
1.7 ms
1.7 ms
traverse
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::traverse
0%
212.3 ms
212.7 ms
semantic_tokens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::semantic_tokens
-3%
3.1 ms
3.2 ms
code_lens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_lens
-4%
5.2 µs
5.5 µs

Commits

Click on a commit to change the comparison range
Base
master
bcd15c3
-70%
rebase
ae95905
7 hours ago
by JoshuaBatty
0%
update test to account for new nested structure
51e9478
7 hours ago
by JoshuaBatty
Home Terms PrivacyDocs