mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-24 18:34:34 +01:00
Revert "cargo: Disable LTO.."
This reverts commit 4943217045 to get 5%
of performance back.
Before:
```
limbo/Execute prepared statement: 'SELECT 1'
time: [111.45 ns 111.52 ns 111.61 ns]
thrpt: [8.9594 Melem/s 8.9667 Melem/s 8.9727 Melem/s]
Found 8 outliers among 100 measurements (8.00%)
2 (2.00%) low mild
2 (2.00%) high mild
4 (4.00%) high severe
```
```
limbo/Execute prepared statement: 'SELECT 1'
time: [106.22 ns 106.48 ns 106.85 ns]
thrpt: [9.3587 Melem/s 9.3911 Melem/s 9.4142 Melem/s]
change:
time: [-4.8335% -4.6750% -4.5222%] (p = 0.00 < 0.05)
thrpt: [+4.7364% +4.9043% +5.0790%]
Performance has improved.
```
This commit is contained in:
@@ -58,7 +58,7 @@ github-attestations = true
|
||||
debug = "line-tables-only"
|
||||
codegen-units = 1
|
||||
panic = "abort"
|
||||
lto = "off"
|
||||
lto = true
|
||||
|
||||
[profile.bench-profile]
|
||||
inherits = "release"
|
||||
@@ -66,3 +66,4 @@ debug = true
|
||||
|
||||
[profile.dist]
|
||||
inherits = "release"
|
||||
lto = "thin"
|
||||
|
||||
Reference in New Issue
Block a user