Avatar for the FuelLabs user
FuelLabs
sway
BlogDocsChangelog

IR support for `switch` instructions

#7536
Comparing
vaivaswatha/ir_switch
(
62f3856
) with
master
(
f9de545
)
CodSpeed Performance Gauge
0%
Untouched
25

Benchmarks

25 total
on_enter
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
+1%
125.5 µs124.4 µs
format
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
+1%
388.6 ms386.2 ms
semantic_tokens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
3 ms3 ms
build_std_lib_docs
forc-plugins/forc-doc/benches/bench_main.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
269.4 ms269 ms
traverse
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
110.8 ms110.7 ms
idents_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
469.8 µs469.2 µs
open_all_example_workspace_members
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
8.4 s8.4 s
goto_definition
sway-lsp/benches/lsp_benchmarks/requests.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
compile
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
5.3 s5.3 s
hover
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
1.5 ms1.5 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
code_action
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
prepare_rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
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
tokens_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
tokens_for_file
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
did_change_with_caching
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
3.7 ms3.7 ms
document_symbol
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
tokens_for_program
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks
CodSpeed Performance Gauge
-1%
525.8 µs528.6 µs
code_lens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks
CodSpeed Performance Gauge
-1%
5 µs5 µs

Commits

Click on a commit to change the comparison range
Base
master
f9de545
+0.06%
Merge branch 'master' into vaivaswatha/ir_switch
9988e37
1 month ago
by ironcev
+0.11%
Merge branch 'master' into vaivaswatha/ir_switch
da29f71
1 month ago
by ironcev
+0.11%
Typos, comments and renamings
f7605f3
21 days ago
by ironcev
-0.21%
Fix fmt issues
2fa5d55
21 days ago
by ironcev
-20.2%
Refactor copy-pastes in `TextContext::run` and capture bytecode perf
af91c69
21 days ago
by ironcev
+8.44%
Add ASM printing capability to "ir_run" tests
b58f86e
20 days ago
by ironcev
+11.68%
Improve printing of ASM and bytecode
208c958
20 days ago
by ironcev
+0.05%
Add additional tests
62f3856
20 days ago
by ironcev
© 2026 CodSpeed Technology
Home Terms Privacy Docs