rust-glancer LSP comparison

summary

fixture

fixture
rust_analyzer
root
/Users/popzxc/workspace/rust-glancer/reference/rust-analyzer
Query count
261
Opened files
27
Equivalence score
95.2%
textDocument/references
37
textDocument/references includeDeclaration
28
textDocument/definition
33
textDocument/typeDefinition
22
textDocument/implementation
14
textDocument/prepareRename
14
textDocument/rename
14
textDocument/documentHighlight
16
textDocument/documentSymbol
13
workspace/symbol
17
textDocument/inlayHint
14
textDocument/hover
67
servers

servers

# server command Initialize Ready
1 rust-glancer /Users/popzxc/workspace/rust-glancer/target/release/rust-glancer lsp 89 ms 3.92 s
2 rust-analyzer rust-analyzer 45 ms 3.60 s
aggregates

aggregates

# method queries comparable non comparable Scored rust glancer rust analyzer matched compatible missing extra Match score Recall Precision unmapped rg unmapped ra
1 textDocument/references 37 37 0 true 389 393 389 0 4 0 99.5% 99.0% 100.0% 0 0
2 textDocument/definition 33 33 0 true 34 35 32 0 3 2 92.8% 91.4% 94.1% 0 0
3 textDocument/typeDefinition 22 22 0 true 24 24 24 0 0 0 100.0% 100.0% 100.0% 3 3
4 textDocument/implementation 14 14 0 true 111 112 111 2 1 0 99.6% 99.1% 100.0% 0 0
5 textDocument/prepareRename 14 14 0 true 14 14 14 14 0 0 100.0% 100.0% 100.0% - -
6 textDocument/rename 14 14 0 true 252 252 251 0 1 1 99.6% 99.6% 99.6% 0 0
7 textDocument/documentHighlight 16 16 0 true 58 58 58 0 0 0 100.0% 100.0% 100.0% - -
8 textDocument/documentSymbol 13 13 0 true 843 838 775 24 63 68 92.2% 92.5% 91.9% 0 0
9 workspace/symbol 17 17 0 true 52 76 47 4 29 5 73.4% 61.8% 90.4% 3 0
10 textDocument/inlayHint 14 14 0 false 2602 2133 1507 0 626 1095 63.7% 70.7% 57.9% - -
11 textDocument/hover 67 67 0 false 65 67 65 0 2 0 98.5% 97.0% 100.0% - -
query highlights
# method query rust-glancer rust-analyzer outcome Match score Recall Precision
1 textDocument/references references/declarative-macro: format_to_acc 2.55 s 6 ms locations 100.0% 100.0% 100.0%
2 textDocument/references references/generic-type: NonEmptyVec 1.11 s 1.64 s locations 85.7% 75.0% 100.0%
3 textDocument/references references/derived-type: FileSet 460 ms 48 ms locations 100.0% 100.0% 100.0%
4 textDocument/references references/type: CallHierarchyConfig 434 ms 387 ms locations 100.0% 100.0% 100.0%
5 textDocument/references references/field: CallItem.target 305 ms 321 ms locations 100.0% 100.0% 100.0%
6 textDocument/references references/type: NavigationTarget 240 ms 279 ms locations 100.0% 100.0% 100.0%
7 textDocument/references references/type: HoverConfig 158 ms 17 ms locations 100.0% 100.0% 100.0%
8 textDocument/references references/field: CallItem.ranges 149 ms 63 ms locations 100.0% 100.0% 100.0%
9 textDocument/references references/field: ReferenceSearchResult.references 140 ms 57 ms locations 100.0% 100.0% 100.0%
10 textDocument/references references/function: child_modules 131 ms 340 ms locations 100.0% 100.0% 100.0%
# method query Match score Recall Precision rust glancer count rust analyzer count matched compatible missing extra
1 textDocument/definition definition/qualified-call: goto_definition 0.0% 0.0% 0.0% 1 1 0 0 1 1
2 textDocument/definition definition/macro-generated-method: variance marker 0.0% 0.0% 0.0% 1 2 0 0 2 1
3 workspace/symbol workspace_symbol/declarative-macro: format_to_acc 0.0% 0.0% - 0 2 0 0 2 0
4 workspace/symbol workspace_symbol/type: FilePosition 13.3% 10.0% 20.0% 5 10 1 0 9 4
5 workspace/symbol workspace_symbol/derived-type: FileSet 54.5% 42.9% 75.0% 4 7 3 0 4 1
6 workspace/symbol workspace_symbol/type: HoverConfig 57.1% 40.0% 100.0% 2 5 2 0 3 0
7 workspace/symbol workspace_symbol/type: CallItem 66.7% 50.0% 100.0% 1 2 1 0 1 0
8 workspace/symbol workspace_symbol/type: CallHierarchyConfig 66.7% 50.0% 100.0% 1 2 1 0 1 0
9 workspace/symbol workspace_symbol/type: GotoDefinitionConfig 66.7% 50.0% 100.0% 1 2 1 0 1 0
10 workspace/symbol workspace_symbol/type: GotoImplementationConfig 66.7% 50.0% 100.0% 1 2 1 0 1 0
# method query Match score Recall rust glancer count rust analyzer count matched missing
1 textDocument/definition definition/qualified-call: goto_definition 0.0% 0.0% 1 1 0 1
2 textDocument/definition definition/macro-generated-method: variance marker 0.0% 0.0% 1 2 0 2
3 workspace/symbol workspace_symbol/declarative-macro: format_to_acc 0.0% 0.0% 0 2 0 2
4 workspace/symbol workspace_symbol/type: FilePosition 13.3% 10.0% 5 10 1 9
5 workspace/symbol workspace_symbol/type: HoverConfig 57.1% 40.0% 2 5 2 3
6 workspace/symbol workspace_symbol/derived-type: FileSet 54.5% 42.9% 4 7 3 4
7 workspace/symbol workspace_symbol/type: CallItem 66.7% 50.0% 1 2 1 1
8 workspace/symbol workspace_symbol/type: CallHierarchyConfig 66.7% 50.0% 1 2 1 1
9 workspace/symbol workspace_symbol/type: GotoDefinitionConfig 66.7% 50.0% 1 2 1 1
10 workspace/symbol workspace_symbol/type: GotoImplementationConfig 66.7% 50.0% 1 2 1 1
# method query Match score Precision rust glancer count rust analyzer count matched extra
1 textDocument/definition definition/qualified-call: goto_definition 0.0% 0.0% 1 1 0 1
2 textDocument/definition definition/macro-generated-method: variance marker 0.0% 0.0% 1 2 0 1
3 workspace/symbol workspace_symbol/type: FilePosition 13.3% 20.0% 5 10 1 4
4 textDocument/documentSymbol document_symbol/file: navigation_target 66.9% 66.9% 121 121 81 40
5 workspace/symbol workspace_symbol/derived-type: FileSet 54.5% 75.0% 4 7 3 1
6 textDocument/documentSymbol document_symbol/file: derived-file-sets 80.5% 80.5% 41 41 33 8
7 textDocument/rename rename/field: target 83.3% 83.3% 6 6 5 1
8 textDocument/documentSymbol document_symbol/file: thread-local-and-nested-functions 87.5% 87.5% 8 8 7 1
9 textDocument/documentSymbol document_symbol/file: generic-non-empty-vec 90.0% 90.0% 10 10 9 1
10 textDocument/documentSymbol document_symbol/file: generic-ast-traits 90.0% 90.0% 60 60 54 6
queries
# query rust-glancer rust-analyzer outcome rust glancer count rust analyzer count matched compatible missing extra Match score Recall Precision
1 references/function: child_modules 131 ms 340 ms locations 2 2 2 0 0 0 100.0% 100.0% 100.0%
2 references/type: CallHierarchyConfig 434 ms 387 ms locations 12 12 12 0 0 0 100.0% 100.0% 100.0%
3 references/field: CallItem.target 305 ms 321 ms locations 6 6 6 0 0 0 100.0% 100.0% 100.0%
4 references/field: CallItem.ranges 149 ms 63 ms locations 5 5 5 0 0 0 100.0% 100.0% 100.0%
5 references/function: incoming_calls 16 ms 1 ms locations 2 2 2 0 0 0 100.0% 100.0% 100.0%
6 references/local: calls 4 ms 11 ms locations 4 4 4 0 0 0 100.0% 100.0% 100.0%
7 references/type: HoverConfig 158 ms 17 ms locations 35 35 35 0 0 0 100.0% 100.0% 100.0%
8 references/type: NavigationTarget 240 ms 279 ms locations 133 133 133 0 0 0 100.0% 100.0% 100.0%
9 references/trait: TryToNav 23 ms 2 ms locations 37 37 37 0 0 0 100.0% 100.0% 100.0%
10 references/type: ReferenceSearchResult 71 ms 4 ms locations 7 7 7 0 0 0 100.0% 100.0% 100.0%
11 references/type: Declaration 107 ms 9 ms locations 3 3 3 0 0 0 100.0% 100.0% 100.0%
12 references/field: ReferenceSearchResult.declaration 63 ms 11 ms locations 5 5 5 0 0 0 100.0% 100.0% 100.0%
13 references/field: ReferenceSearchResult.references 140 ms 57 ms locations 8 8 8 0 0 0 100.0% 100.0% 100.0%
14 references/config: FindAllRefsConfig 67 ms 4 ms locations 11 11 11 0 0 0 100.0% 100.0% 100.0%
15 references/function: find_all_refs 14 ms 1 ms locations 4 4 4 0 0 0 100.0% 100.0% 100.0%
16 references/helper-call: retain_adt_literal_usages 8 ms 0 ms locations 2 2 2 0 0 0 100.0% 100.0% 100.0%
17 references/helper-call: handle_control_flow_keywords 10 ms 0 ms locations 2 2 2 0 0 0 100.0% 100.0% 100.0%
18 references/function: find_defs 23 ms 0 ms locations 3 3 3 0 0 0 100.0% 100.0% 100.0%
19 references/generic-type: NonEmptyVec 1.11 s 1.64 s locations 3 4 3 0 1 0 85.7% 75.0% 100.0%
20 references/derived-type: FileSet 460 ms 48 ms locations 16 16 16 0 0 0 100.0% 100.0% 100.0%
21 references/declarative-macro: format_to_acc 2.55 s 6 ms locations 23 23 23 0 0 0 100.0% 100.0% 100.0%
22 references/module: non_empty_vec 46 ms 3 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
23 references/module: call_hierarchy 113 ms 1 ms locations 5 5 5 0 0 0 100.0% 100.0% 100.0%
24 references/macro-binding: match_ast block 5 ms 0 ms locations 2 2 2 0 0 0 100.0% 100.0% 100.0%
25 references/closure-local: formatting accumulator 20 ms 5 ms locations 2 2 2 0 0 0 100.0% 100.0% 100.0%
26 references/captured-local: snake-case words 16 ms 2 ms locations 5 5 5 0 0 0 100.0% 100.0% 100.0%
27 references/destructured-local: enumerated paths 13 ms 1 ms locations 2 2 2 0 0 0 100.0% 100.0% 100.0%
28 references/macro-generated-static: CTX 11 ms 1 ms locations 2 2 2 0 0 0 100.0% 100.0% 100.0%
29 references/local-no-decl: source_file 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
30 references/local-no-decl: calls 4 ms 0 ms locations 3 3 3 0 0 0 100.0% 100.0% 100.0%
31 references/config-no-decl: FindAllRefsConfig 67 ms 3 ms locations 10 10 10 0 0 0 100.0% 100.0% 100.0%
32 references/method-no-decl: focus_or_full_range 101 ms 27 ms locations 21 24 21 0 3 0 93.3% 87.5% 100.0%
33 references/field-no-decl: search_scope 80 ms 3 ms locations 5 5 5 0 0 0 100.0% 100.0% 100.0%
34 references/macro-binding-no-decl: match_ast if 5 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
35 references/inferred-local-no-decl: cloned path 11 ms 1 ms locations 2 2 2 0 0 0 100.0% 100.0% 100.0%
36 references/while-let-no-decl: string offset 12 ms 1 ms locations 3 3 3 0 0 0 100.0% 100.0% 100.0%
37 references/closure-param-no-decl: RefCell 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
# query rust-glancer rust-analyzer outcome rust glancer count rust analyzer count matched compatible missing extra Match score Recall Precision
1 definition/qualified-call: goto_definition 4 ms 2 ms locations 1 1 0 0 1 1 0.0% 0.0% 0.0%
2 definition/config-constructor: GotoDefinitionConfig 4 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
3 definition/trait-method-call: try_to_nav 8 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
4 definition/helper-call: find_node_at_offset 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
5 definition/associated-function: from_module_to_decl 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
6 definition/method-call: focus_or_full_range 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
7 definition/helper-call: impls_for_trait_item 3 ms 8 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
8 definition/helper-call: try_lookup_include_path 4 ms 8 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
9 definition/enum-variant-import: SyntaxKind::IDENT 4 ms 13 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
10 definition/body-macro: format_to 33 ms 1 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
11 definition/body-macro: wln 5 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
12 definition/reexport: GotoDefinitionConfig 4 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
13 definition/reexport: HoverConfig 4 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
14 definition/reexport: NavigationTarget 4 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
15 definition/reexport: FindAllRefsConfig 4 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
16 definition/helper-call: retain_adt_literal_usages 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
17 definition/method-call: focus_or_full_range-extra-ref 4 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
18 definition/helper-call: handle_control_flow_keywords 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
19 definition/helper-call: find_defs 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
20 definition/glob-enum-variant: SyntaxKind::IDENT 4 ms 7 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
21 definition/inferred-receiver: cloned VfsPath 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
22 definition/indexed-receiver: FileSet 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
23 definition/iterator-item: VfsPath 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
24 definition/shadowed-param: anchored path 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
25 definition/macro-local-use: match_ast block 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
26 definition/macro-type-argument: BlockExpr 4 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
27 definition/macro-type-argument: Punct 8 ms 0 ms locations 2 2 2 0 0 0 100.0% 100.0% 100.0%
28 definition/macro-expression-argument: attr 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
29 definition/macro-generated-static: CTX 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
30 definition/macro-generated-type: PhantomCovariant 9 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
31 definition/macro-generated-method: variance marker 12 ms 0 ms locations 1 2 0 0 2 1 0.0% 0.0% 0.0%
32 definition/try-call: TtIter.expect_leaf 9 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
33 definition/generic-closure-call: change_case 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
# query rust-glancer rust-analyzer outcome rust glancer count rust analyzer count matched compatible missing extra Match score Recall Precision
1 type_definition/local: calls 4 ms 1 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
2 type_definition/local: source_file 4 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
3 type_definition/field: NavigationTarget 4 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
4 type_definition/field: FileRange 4 ms 0 ms locations 2 2 2 0 0 0 100.0% 100.0% 100.0%
5 type_definition/local: original_token 4 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
6 type_definition/field: Markup 4 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
7 type_definition/field: HoverAction 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
8 type_definition/field: Symbol 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
9 type_definition/local: syntax 4 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
10 type_definition/local: declaration 4 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
11 type_definition/param: FilePosition 4 ms 0 ms locations 2 2 2 0 0 0 100.0% 100.0% 100.0%
12 type_definition/try-and-clone: VfsPath 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
13 type_definition/try-result: VfsPath 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
14 type_definition/nested-iterator-item: VfsPath 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
15 type_definition/opaque-iterator-item: FileId 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
16 type_definition/opaque-iterator-reference: VfsPath 3 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
17 type_definition/macro-binding: BlockExpr 4 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
18 type_definition/closure-param: Attr 4 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
19 type_definition/derived-clone: VfsPath 6 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
20 type_definition/deref-wrapper: JodChild 14 ms 1 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
21 type_definition/match-binding: TtIter 10 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
22 type_definition/nested-pattern: Punct 7 ms 0 ms locations 1 1 1 0 0 0 100.0% 100.0% 100.0%
# query rust-glancer rust-analyzer outcome rust glancer count rust analyzer count matched compatible missing extra Match score Recall Precision
1 implementation/helper-type: CallLocations 9 ms 5 ms locations 2 2 2 0 0 0 100.0% 100.0% 100.0%
2 implementation/enum: HoverAction 9 ms 0 ms locations 6 6 6 0 0 0 100.0% 100.0% 100.0%
3 implementation/type: NavigationTarget 9 ms 0 ms locations 7 7 7 0 0 0 100.0% 100.0% 100.0%
4 implementation/trait: ToNav 8 ms 0 ms locations 4 4 4 0 0 0 100.0% 100.0% 100.0%
5 implementation/trait: TryToNav 9 ms 0 ms locations 19 19 19 0 0 0 100.0% 100.0% 100.0%
6 implementation/trait-method: try_to_nav 3 ms 1 ms locations 19 19 19 0 0 0 100.0% 100.0% 100.0%
7 implementation/inherent-impl: NavigationTarget 3 ms 0 ms locations 7 7 7 0 0 0 100.0% 100.0% 100.0%
8 implementation/trait-impl: TryToNav 4 ms 0 ms locations 19 19 19 0 0 0 100.0% 100.0% 100.0%
9 implementation/derived-traits: FileSet 5 ms 0 ms locations 6 6 6 0 0 0 100.0% 100.0% 100.0%
10 implementation/derived-traits: VfsPath 4 ms 0 ms locations 11 11 11 0 0 0 100.0% 100.0% 100.0%
11 implementation/derived-enum: TtElement 6 ms 0 ms locations 3 4 3 0 1 0 85.7% 75.0% 100.0%
12 implementation/macro-generated-impls: Variance 4 ms 0 ms locations 2 2 2 2 0 0 100.0% 100.0% 100.0%
13 implementation/generic-derived-type: AstChildren 5 ms 0 ms locations 4 4 4 0 0 0 100.0% 100.0% 100.0%
14 implementation/default-and-hasher: TypeIdHasher 4 ms 0 ms locations 2 2 2 0 0 0 100.0% 100.0% 100.0%
# query rust-glancer rust-analyzer outcome rust glancer count rust analyzer count matched compatible missing extra Match score Recall Precision
1 prepare_rename/type: CallHierarchyConfig 5 ms 1 ms prepare_renames 1 1 1 1 0 0 100.0% 100.0% 100.0%
2 prepare_rename/field: target 3 ms 0 ms prepare_renames 1 1 1 1 0 0 100.0% 100.0% 100.0%
3 prepare_rename/function: incoming_calls 3 ms 0 ms prepare_renames 1 1 1 1 0 0 100.0% 100.0% 100.0%
4 prepare_rename/local: calls 3 ms 0 ms prepare_renames 1 1 1 1 0 0 100.0% 100.0% 100.0%
5 prepare_rename/function: impls_for_trait_item 3 ms 0 ms prepare_renames 1 1 1 1 0 0 100.0% 100.0% 100.0%
6 prepare_rename/type: HoverConfig 4 ms 0 ms prepare_renames 1 1 1 1 0 0 100.0% 100.0% 100.0%
7 prepare_rename/type: NavigationTarget 3 ms 0 ms prepare_renames 1 1 1 1 0 0 100.0% 100.0% 100.0%
8 prepare_rename/trait: TryToNav 3 ms 0 ms prepare_renames 1 1 1 1 0 0 100.0% 100.0% 100.0%
9 prepare_rename/field: search_scope 3 ms 0 ms prepare_renames 1 1 1 1 0 0 100.0% 100.0% 100.0%
10 prepare_rename/function: find_all_refs 3 ms 0 ms prepare_renames 1 1 1 1 0 0 100.0% 100.0% 100.0%
11 prepare_rename/macro-binding: match_ast block 4 ms 0 ms prepare_renames 1 1 1 1 0 0 100.0% 100.0% 100.0%
12 prepare_rename/closure-local: formatting accumulator 3 ms 0 ms prepare_renames 1 1 1 1 0 0 100.0% 100.0% 100.0%
13 prepare_rename/destructured-local: enumerated paths 3 ms 0 ms prepare_renames 1 1 1 1 0 0 100.0% 100.0% 100.0%
14 prepare_rename/captured-local: snake-case words 3 ms 0 ms prepare_renames 1 1 1 1 0 0 100.0% 100.0% 100.0%
# query rust-glancer rust-analyzer outcome rust glancer count rust analyzer count matched compatible missing extra Match score Recall Precision
1 rename/type: CallHierarchyConfig 17 ms 1 ms rename_edits 12 12 12 0 0 0 100.0% 100.0% 100.0%
2 rename/field: target 48 ms 4 ms rename_edits 6 6 5 0 1 1 83.3% 83.3% 83.3%
3 rename/function: incoming_calls 13 ms 0 ms rename_edits 2 2 2 0 0 0 100.0% 100.0% 100.0%
4 rename/local: calls 4 ms 0 ms rename_edits 4 4 4 0 0 0 100.0% 100.0% 100.0%
5 rename/function: impls_for_trait_item 6 ms 0 ms rename_edits 3 3 3 0 0 0 100.0% 100.0% 100.0%
6 rename/type: HoverConfig 26 ms 1 ms rename_edits 35 35 35 0 0 0 100.0% 100.0% 100.0%
7 rename/type: NavigationTarget 38 ms 4 ms rename_edits 132 132 132 0 0 0 100.0% 100.0% 100.0%
8 rename/trait: TryToNav 23 ms 1 ms rename_edits 37 37 37 0 0 0 100.0% 100.0% 100.0%
9 rename/field: search_scope 25 ms 1 ms rename_edits 6 6 6 0 0 0 100.0% 100.0% 100.0%
10 rename/function: find_all_refs 15 ms 0 ms rename_edits 4 4 4 0 0 0 100.0% 100.0% 100.0%
11 rename/macro-binding: match_ast block 4 ms 0 ms rename_edits 2 2 2 0 0 0 100.0% 100.0% 100.0%
12 rename/closure-local: formatting accumulator 4 ms 0 ms rename_edits 2 2 2 0 0 0 100.0% 100.0% 100.0%
13 rename/destructured-local: enumerated paths 3 ms 0 ms rename_edits 2 2 2 0 0 0 100.0% 100.0% 100.0%
14 rename/captured-local: snake-case words 4 ms 0 ms rename_edits 5 5 5 0 0 0 100.0% 100.0% 100.0%
# query rust-glancer rust-analyzer outcome rust glancer count rust analyzer count matched compatible missing extra Match score Recall Precision
1 document_highlight/function: incoming_calls 5 ms 0 ms ranges 1 1 1 0 0 0 100.0% 100.0% 100.0%
2 document_highlight/local: calls 3 ms 0 ms ranges 4 4 4 0 0 0 100.0% 100.0% 100.0%
3 document_highlight/local: source_file 3 ms 0 ms ranges 2 2 2 0 0 0 100.0% 100.0% 100.0%
4 document_highlight/local: original_token 3 ms 0 ms ranges 3 3 3 0 0 0 100.0% 100.0% 100.0%
5 document_highlight/function: hover 6 ms 35 ms ranges 1 1 1 0 0 0 100.0% 100.0% 100.0%
6 document_highlight/trait: TryToNav 5 ms 0 ms ranges 22 22 22 0 0 0 100.0% 100.0% 100.0%
7 document_highlight/method: focus_or_full_range 5 ms 0 ms ranges 1 1 1 0 0 0 100.0% 100.0% 100.0%
8 document_highlight/local: syntax 4 ms 0 ms ranges 4 4 4 0 0 0 100.0% 100.0% 100.0%
9 document_highlight/function: find_all_refs 6 ms 0 ms ranges 1 1 1 0 0 0 100.0% 100.0% 100.0%
10 document_highlight/function: find_defs 6 ms 0 ms ranges 2 2 2 0 0 0 100.0% 100.0% 100.0%
11 document_highlight/macro-binding: match_ast block 3 ms 0 ms ranges 2 2 2 0 0 0 100.0% 100.0% 100.0%
12 document_highlight/macro-generated-static: CTX 3 ms 0 ms ranges 2 2 2 0 0 0 100.0% 100.0% 100.0%
13 document_highlight/captured-local: snake-case words 3 ms 0 ms ranges 5 5 5 0 0 0 100.0% 100.0% 100.0%
14 document_highlight/destructured-local: enumerated paths 3 ms 0 ms ranges 2 2 2 0 0 0 100.0% 100.0% 100.0%
15 document_highlight/shadowed-local: joined path 3 ms 0 ms ranges 2 2 2 0 0 0 100.0% 100.0% 100.0%
16 document_highlight/branch-inferred-local: output buffer 15 ms 2 ms ranges 4 4 4 0 0 0 100.0% 100.0% 100.0%
# query rust-glancer rust-analyzer outcome rust glancer count rust analyzer count matched compatible missing extra Match score Recall Precision
1 document_symbol/file: call_hierarchy 3 ms 1 ms symbols 33 33 32 0 1 1 97.0% 97.0% 97.0%
2 document_symbol/file: child_modules 2 ms 0 ms symbols 7 7 7 0 0 0 100.0% 100.0% 100.0%
3 document_symbol/file: goto_definition 4 ms 2 ms symbols 189 189 189 0 0 0 100.0% 100.0% 100.0%
4 document_symbol/file: goto_implementation 3 ms 0 ms symbols 26 26 26 0 0 0 100.0% 100.0% 100.0%
5 document_symbol/file: hover 3 ms 1 ms symbols 62 57 56 1 1 6 94.1% 98.2% 90.3%
6 document_symbol/file: lib 4 ms 2 ms symbols 150 150 145 7 5 5 96.7% 96.7% 96.7%
7 document_symbol/file: navigation_target 4 ms 2 ms symbols 121 121 81 4 40 40 66.9% 66.9% 66.9%
8 document_symbol/file: references 4 ms 1 ms symbols 128 128 128 0 0 0 100.0% 100.0% 100.0%
9 document_symbol/file: macro-generated-variance 2 ms 0 ms symbols 8 8 8 0 0 0 100.0% 100.0% 100.0%
10 document_symbol/file: thread-local-and-nested-functions 2 ms 0 ms symbols 8 8 7 0 1 1 87.5% 87.5% 87.5%
11 document_symbol/file: generic-non-empty-vec 2 ms 0 ms symbols 10 10 9 1 1 1 90.0% 90.0% 90.0%
12 document_symbol/file: derived-file-sets 3 ms 0 ms symbols 41 41 33 3 8 8 80.5% 80.5% 80.5%
13 document_symbol/file: generic-ast-traits 3 ms 1 ms symbols 60 60 54 8 6 6 90.0% 90.0% 90.0%
# query rust-glancer rust-analyzer outcome rust glancer count rust analyzer count matched compatible missing extra Match score Recall Precision
1 workspace_symbol/function: child_modules 112 ms 137 ms symbols 4 4 4 1 0 0 100.0% 100.0% 100.0%
2 workspace_symbol/type: CallItem 28 ms 5 ms symbols 1 2 1 0 1 0 66.7% 50.0% 100.0%
3 workspace_symbol/type: CallHierarchyConfig 26 ms 5 ms symbols 1 2 1 0 1 0 66.7% 50.0% 100.0%
4 workspace_symbol/type: FilePosition 26 ms 5 ms symbols 5 10 1 0 9 4 13.3% 10.0% 20.0%
5 workspace_symbol/function: find_all_refs 26 ms 10 ms symbols 23 24 23 3 1 0 97.9% 95.8% 100.0%
6 workspace_symbol/type: GotoDefinitionConfig 25 ms 5 ms symbols 1 2 1 0 1 0 66.7% 50.0% 100.0%
7 workspace_symbol/type: GotoImplementationConfig 25 ms 5 ms symbols 1 2 1 0 1 0 66.7% 50.0% 100.0%
8 workspace_symbol/type: HoverConfig 27 ms 5 ms symbols 2 5 2 0 3 0 57.1% 40.0% 100.0%
9 workspace_symbol/type: NavigationTarget 26 ms 5 ms symbols 1 2 1 0 1 0 66.7% 50.0% 100.0%
10 workspace_symbol/type: ReferenceSearchResult 25 ms 5 ms symbols 1 2 1 0 1 0 66.7% 50.0% 100.0%
11 workspace_symbol/type: SearchScope 26 ms 5 ms symbols 3 4 3 0 1 0 85.7% 75.0% 100.0%
12 workspace_symbol/trait: TryToNav 26 ms 5 ms symbols 1 2 1 0 1 0 66.7% 50.0% 100.0%
13 workspace_symbol/generic-type: NonEmptyVec 25 ms 5 ms symbols 1 1 1 0 0 0 100.0% 100.0% 100.0%
14 workspace_symbol/derived-type: FileSet 25 ms 5 ms symbols 4 7 3 0 4 1 54.5% 42.9% 75.0%
15 workspace_symbol/macro-generated-type: PhantomCovariant 29 ms 5 ms symbols 2 4 2 0 2 0 66.7% 50.0% 100.0%
16 workspace_symbol/declarative-macro: format_to_acc 24 ms 9 ms symbols 0 2 0 0 2 0 0.0% 0.0% -
17 workspace_symbol/derived-default: TypeIdHasher 25 ms 5 ms symbols 1 1 1 0 0 0 100.0% 100.0% 100.0%
# query rust-glancer rust-analyzer outcome rust glancer count rust analyzer count matched compatible missing extra Match score Recall Precision
1 inlay_hint/file: call_hierarchy 24 ms 46 ms inlay_hints 222 201 151 0 50 71 71.4% 75.1% 68.0%
2 inlay_hint/file: child_modules 28 ms 5 ms inlay_hints 29 28 13 0 15 16 45.6% 46.4% 44.8%
3 inlay_hint/file: goto_definition 61 ms 107 ms inlay_hints 630 437 262 0 175 368 49.1% 60.0% 41.6%
4 inlay_hint/file: goto_implementation 16 ms 10 ms inlay_hints 94 90 49 0 41 45 53.3% 54.4% 52.1%
5 inlay_hint/file: hover 51 ms 28 ms inlay_hints 269 280 200 0 80 69 72.9% 71.4% 74.3%
6 inlay_hint/file: lib 61 ms 35 ms inlay_hints 153 156 135 0 21 18 87.4% 86.5% 88.2%
7 inlay_hint/file: navigation_target 64 ms 24 ms inlay_hints 360 368 291 0 77 69 79.9% 79.1% 80.8%
8 inlay_hint/file: references 62 ms 51 ms inlay_hints 497 251 133 0 118 364 35.6% 53.0% 26.8%
9 inlay_hint/file: std-iterators-and-closures 39 ms 15 ms inlay_hints 196 168 142 0 26 54 78.0% 84.5% 72.4%
10 inlay_hint/file: generic-vec-and-option 4 ms 0 ms inlay_hints 3 3 2 0 1 1 66.7% 66.7% 66.7%
11 inlay_hint/file: thread-local-and-closures 13 ms 2 ms inlay_hints 8 7 6 0 1 2 80.0% 85.7% 75.0%
12 inlay_hint/file: io-and-deref 18 ms 12 ms inlay_hints 50 51 41 0 10 9 81.2% 80.4% 82.0%
13 inlay_hint/file: collections-and-derives 20 ms 6 ms inlay_hints 40 43 36 0 7 4 86.7% 83.7% 90.0%
14 inlay_hint/file: token-patterns-and-iterators 35 ms 6 ms inlay_hints 51 50 46 0 4 5 91.1% 92.0% 90.2%
# query rust-glancer rust-analyzer outcome rust glancer count rust analyzer count matched compatible missing extra Match score Recall Precision
1 hover/type: CallItem 4 ms 8 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
2 hover/field: target 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
3 hover/local: calls 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
4 hover/function: outgoing_calls 6 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
5 hover/function: child_modules 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
6 hover/helper: impls_for_trait_item 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
7 hover/config: HoverConfig 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
8 hover/enum: HoverAction 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
9 hover/enum-variant: Implementation 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
10 hover/type: HoverResult 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
11 hover/function: hover 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
12 hover/body-macro: format 6 ms 2 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
13 hover/helper: hover_offset 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
14 hover/enum-variant: Err 31 ms 3 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
15 hover/reexport: NavigationTarget 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
16 hover/type: NavigationTarget 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
17 hover/trait: TryToNav 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
18 hover/enum-variant: Ok 5 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
19 hover/enum-variant: Some 5 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
20 hover/enum-variant: None 5 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
21 hover/field: search_scope 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
22 hover/inferred-collection: Vec<String> 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
23 hover/std-str: trim_start_matches 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
24 hover/inferred-iterator-item: split 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
25 hover/inferred-iterator-item: chars 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
26 hover/std-extend: generic iterator 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
27 hover/closure-bound: Fn(char) -> I 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
28 hover/closure-destructure: fold accumulator 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
29 hover/inferred-closure-param: mapped String 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
30 hover/try-in-closure: char 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
31 hover/reference-pattern: filter closure 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
32 hover/std-string: replace_range 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
33 hover/inferred-closure-param: split_inclusive 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
34 hover/std-cow: Borrowed 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
35 hover/std-conversion: String into Cow 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
36 hover/generic-closure-param: slice item 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
37 hover/std-slice: partition_point 5 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
38 hover/std-autoderef: Vec to slice 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
39 hover/std-option: mutable generic reference 5 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
40 hover/std-vec: generic pop 6 ms 1 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
41 hover/branch-inference: mutable Vec 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
42 hover/std-iterator: Drain 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
43 hover/std-string: from_utf8_lossy 6 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
44 hover/std-cow-deref: lines item 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
45 hover/std-deref-method: Child wait 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
46 hover/std-deref-field: Child stdout 5 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
47 hover/std-trait-object: panic hook 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
48 hover/std-sync: Once call_once 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
49 hover/std-cell: RefCell borrow_mut 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
50 hover/std-hash-map: entry through alias 9 ms 1 ms hover 0 1 0 0 1 0 0.0% 0.0% -
51 hover/expected-type: array conversion 18 ms 1 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
52 hover/iterator-destructure: nested Vec 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
53 hover/mutable-tuple-pattern: dedup_by 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
54 hover/macro-binding: match_ast block 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
55 hover/macro-expression-argument: accumulator 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
56 hover/macro-generated-static: CTX 3 ms 36 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
57 hover/macro-generated-type: PhantomCovariant 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
58 hover/macro-generated-method: variance marker 5 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
59 hover/derived-clone: VfsPath 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
60 hover/derived-clone-result: VfsPath 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
61 hover/derived-default: FileSet 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
62 hover/derived-clone-repeat: Vec<FileSet> 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
63 hover/derived-default: FileSetConfigBuilder 4 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
64 hover/derived-enum-clone: TtElement 13 ms 1 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
65 hover/derived-equality-operand: Spacing 3 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%
66 hover/builtin-derive: FileId Hash 3 ms 0 ms hover 0 1 0 0 1 0 0.0% 0.0% -
67 hover/associated-function-item: generic AstNode 9 ms 0 ms hover 1 1 1 0 0 0 100.0% 100.0% 100.0%