Avatar for the FuelLabs user
FuelLabs
sway
BlogDocsChangelog

Fix: check ref mut mutability for method call arguments

#7630
Comparing
Dnreikronos:fix/ref-mut-method-check
(
6367ec9
) with
master
(
ac933ff
)
CodSpeed Performance Gauge
+11%
Improvement
1
Untouched
24

Benchmarks

25 total
tokens_for_program
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
+11%
591.2 µs532.5 µs
tokens_for_file
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
build_std_lib_docs
forc-plugins/forc-doc/benches/bench_main.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
287.3 ms286.7 ms
compile
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
5.4 s5.4 s
goto_definition
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
document_symbol
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
completion
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
4.6 ms4.6 ms
highlight
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
5.1 ms5.1 ms
rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
4.8 ms4.8 ms
find_all_references
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
4.8 ms4.8 ms
code_action
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
4.8 ms4.8 ms
prepare_rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
tokens_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
idents_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
468 µs468.1 µs
parent_decl_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
token_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
inlay_hints
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
1.8 ms1.8 ms
open_all_example_workspace_members
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
8.6 s8.6 s
traverse
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
109.2 ms109.4 ms
on_enter
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
124.2 µs124.5 µs
hover
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
did_change_with_caching
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
3.8 ms3.8 ms
semantic_tokens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
2.9 ms2.9 ms
format
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
-1%
389.8 ms392.7 ms
code_lens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
-1%
4.6 µs4.7 µs

Commits

Click on a commit to change the comparison range
Base
master
ac933ff
+12.5%
Merge branch 'master' into fix/ref-mut-method-check
8f8d910
5 hours ago
by Dnreikronos
-23.44%
Fix contract-call index skew in ref mut mutability check
5cff9da
4 hours ago
by Dnreikronos
+22.53%
Extract shared check_arg_mutability helper
9126caf
4 hours ago
by Dnreikronos
-0.59%
Apply rustfmt to method application argument loop
6367ec9
3 hours ago
by Dnreikronos
© 2026 CodSpeed Technology
Home Terms Privacy Docs