FuelLabs
sway
BlogDocsChangelog

Add criterion benchmark to forc-doc + initial code quality pass

#7242Merged
Comparing
josh/forc_doc
(
7e4be66
) with
master
(
0ac606c
)
CodSpeed Performance Gauge
+13%
Improvements
1
Untouched
23
New
1

Benchmarks

Improved

tokens_for_program
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
+13%
593.7 µs525.1 µs

New

build_std_lib_docs
forc-plugins/forc-doc/benches/bench_main.rs::benches::benchmarks
CodSpeed Performance Gauge
N/A
N/A299.1 ms

Passed

semantic_tokens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
+5%
2.9 ms2.7 ms
tokens_for_file
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
+5%
1.5 ms1.5 ms
document_symbol
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
+2%
2.8 ms2.8 ms
code_lens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
+1%
4.9 µs4.8 µs
traverse
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
111.6 ms111.1 ms
find_all_references
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
4.9 ms4.9 ms
rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
4.9 ms4.9 ms
highlight
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
5.3 ms5.3 ms
code_action
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
4.9 ms4.9 ms
token_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
prepare_rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
open_all_example_workspace_members
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
9.2 s9.2 s
parent_decl_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
tokens_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
goto_definition
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
idents_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
468.8 µs468.8 µs
completion
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
4.9 ms4.9 ms
inlay_hints
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
hover
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
did_change_with_caching
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
3.8 ms3.8 ms
compile
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
5.1 s5.1 s
format
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
-1%
465.3 ms468.4 ms
on_enter
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
-1%
124.6 µs125.7 µs

Commits

Click on a commit to change the comparison range
Base
master
0ac606c
+0.28%
clippy
f195978
7 months ago
by JoshuaBatty
-0.07%
fmt
6929fd2
7 months ago
by JoshuaBatty
-0.47%
Merge branch 'master' into josh/forc_doc
7d51545
7 months ago
by JoshuaBatty
+0.78%
Merge branch 'master' into josh/forc_doc
319bba6
7 months ago
by JoshuaBatty
+12.54%
Merge branch 'master' into josh/forc_doc
7e4be66
7 months ago
by IGI-111
© 2026 CodSpeed Technology
Home Terms Privacy Docs