Avatar for the FuelLabs user
FuelLabs
sway
BlogDocsChangelog

Put function arguments into a local, to be optimised later

#6967
Comparing
vaivaswatha/ir2_pr3
(
b68a5a8
) with
master
(
bd38136
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
22
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

format
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::format
CodSpeed Performance Gauge
+3%
483.3 ms
468.7 ms
code_lens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_lens
CodSpeed Performance Gauge
+2%
5.5 µs
5.4 µs
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
on_enter
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::on_enter
CodSpeed Performance Gauge
0%
126 µs
125.8 µs
completion
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::completion
CodSpeed Performance Gauge
0%
5.3 ms
5.3 ms
code_action
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_action
CodSpeed Performance Gauge
0%
8.5 ms
8.5 ms
find_all_references
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::find_all_references
CodSpeed Performance Gauge
0%
5.2 ms
5.2 ms
rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::rename
CodSpeed Performance Gauge
0%
5.2 ms
5.2 ms
prepare_rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::prepare_rename
CodSpeed Performance Gauge
0%
1.7 ms
1.7 ms
goto_definition
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::goto_definition
CodSpeed Performance Gauge
0%
1.7 ms
1.7 ms
idents_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::idents_at_position
CodSpeed Performance Gauge
0%
466.8 µs
466.7 µs
highlight
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::highlight
CodSpeed Performance Gauge
0%
5.9 ms
5.9 ms
parent_decl_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::parent_decl_at_position
CodSpeed Performance Gauge
0%
3.1 ms
3.1 ms
token_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::token_at_position
CodSpeed Performance Gauge
0%
1.7 ms
1.7 ms
hover
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::hover
CodSpeed Performance Gauge
0%
4.9 ms
4.9 ms
tokens_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_at_position
CodSpeed Performance Gauge
0%
3.1 ms
3.1 ms
inlay_hints
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::inlay_hints
CodSpeed Performance Gauge
0%
2.2 ms
2.2 ms
compile
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::compile
CodSpeed Performance Gauge
0%
5.4 s
5.4 s
tokens_for_file
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_for_file
CodSpeed Performance Gauge
0%
1.7 ms
1.7 ms
traverse
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::traverse
CodSpeed Performance Gauge
-1%
117.7 ms
118.4 ms
document_symbol
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::document_symbol
CodSpeed Performance Gauge
-2%
3.1 ms
3.1 ms
semantic_tokens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::semantic_tokens
CodSpeed Performance Gauge
-2%
3.4 ms
3.4 ms

Commits

Click on a commit to change the comparison range
Base
master
bd38136
0%
Merge branch 'master' into vaivaswatha/ir2_pr3
1afcac1
2 months ago
by vaivaswatha
0%
Merge branch 'vaivaswatha/ir2_pr3' of github.com:FuelLabs/sway into vaivaswatha/ir2_pr3
8744043
2 months ago
by vaivaswatha
0%
Merge branch 'master' into vaivaswatha/ir2_pr3
aa423f3
2 months ago
by vaivaswatha
0%
Merge branch 'master' of github.com:FuelLabs/sway into vaivaswatha/ir2_pr3
66ec3b0
1 month ago
by vaivaswatha
0%
fix author in test
b58fefa
1 month ago
by vaivaswatha
0%
fix types of store destination
666fa87
1 month ago
by vaivaswatha
0%
possibly incorrect fix to how we compile deref
8e48bb3
1 month ago
by vaivaswatha
0%
bugfix in compile_deref_up_to_ptr
d89a86b
30 days ago
by vaivaswatha
0%
remove redundant .gitignore
0be798d
30 days ago
by vaivaswatha
0%
remove print introduced for debug
81a7d66
30 days ago
by vaivaswatha
0%
Merge branch 'vaivaswatha/ir2_pr3' of github.com:FuelLabs/sway into vaivaswatha/ir2_pr3
b68a5a8
21 hours ago
by vaivaswatha
© 2025 CodSpeed Technology
Home Terms PrivacyDocs