Avatar for the FuelLabs user
FuelLabs
sway
BlogDocsChangelog

codegen optimization: constant expression folding

#7149
Comparing
dento/asm-gen-opt-2
(
a762ce1
) with
master
(
a428376
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
23
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

code_lens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_lens
CodSpeed Performance Gauge
+2%
4.9 µs
4.8 µs
on_enter
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::on_enter
CodSpeed Performance Gauge
+1%
127.2 µs
125.5 µs
format
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::format
CodSpeed Performance Gauge
+1%
472 ms
466.7 ms
traverse
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::traverse
CodSpeed Performance Gauge
+1%
114.7 ms
113.7 ms
inlay_hints
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::inlay_hints
CodSpeed Performance Gauge
0%
1.9 ms
1.9 ms
token_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::token_at_position
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
idents_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::idents_at_position
CodSpeed Performance Gauge
0%
433.3 µs
433.2 µs
open_all_example_workspace_members
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::open_all_example_workspace_members
CodSpeed Performance Gauge
0%
8.6 s
8.6 s
completion
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::completion
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
parent_decl_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::parent_decl_at_position
CodSpeed Performance Gauge
0%
2.8 ms
2.8 ms
tokens_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_at_position
CodSpeed Performance Gauge
0%
2.8 ms
2.8 ms
highlight
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::highlight
CodSpeed Performance Gauge
0%
5.3 ms
5.3 ms
find_all_references
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::find_all_references
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::rename
CodSpeed Performance Gauge
0%
4.8 ms
4.8 ms
goto_definition
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::goto_definition
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
prepare_rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::prepare_rename
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
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
tokens_for_file
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_for_file
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
document_symbol
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::document_symbol
CodSpeed Performance Gauge
0%
2.9 ms
2.9 ms
compile
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::compile
CodSpeed Performance Gauge
-1%
5.3 s
5.3 s
code_action
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_action
CodSpeed Performance Gauge
-1%
8 ms
8 ms
hover
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::hover
CodSpeed Performance Gauge
-1%
4.6 ms
4.7 ms
semantic_tokens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::semantic_tokens
CodSpeed Performance Gauge
-3%
2.8 ms
2.9 ms

Commits

Click on a commit to change the comparison range
Base
master
a428376
0%
Re-integrate expr evaluation work
b85b864
17 days ago
by Dentosal
0%
Merge branch 'master' into dento/asm-gen-opt-2
1047ef0
10 days ago
by Dentosal
0%
Add initial MUL support
aaa319a
10 days ago
by Dentosal
0%
Add symbolic EQ operation optimization
eed8015
3 days ago
by Dentosal
0%
Update contract ids in tests
5765e1e
3 days ago
by Dentosal
0%
More test contractid updates
108f520
3 days ago
by Dentosal
0%
More contract id updates
e6e88c5
3 days ago
by Dentosal
0%
bugfix: Multiplication short circuit now produces zero and not one
24de184
3 days ago
by Dentosal
0%
0 != 1
6f6ddd7
3 days ago
by Dentosal
0%
Update snapshots
071bca4
3 days ago
by Dentosal
0%
Update log tests once more
f3af63c
3 days ago
by Dentosal
0%
Use value eq instead of structural eq
a762ce1
3 days ago
by Dentosal
© 2025 CodSpeed Technology
Home Terms PrivacyDocs