Skip to content

Commit bb15040

Browse files
committed
chore: update benchmark matrix and Cargo.toml profiles
1 parent f0eb4d6 commit bb15040

2 files changed

Lines changed: 18 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ make ci
2323
```
2424

2525
## Benchmark Matrix
26-
Test with [ckb-debugger 0.200.2](https://github.com/nervosnetwork/ckb-standalone-debugger)
26+
Test with [ckb-debugger 1.1.0](https://github.com/nervosnetwork/ckb-standalone-debugger)
2727

2828
| Curve | Cycles | Binary Size | Additional Information |
2929
|-------------|----------|----------|-----------------------|
@@ -34,6 +34,6 @@ Test with [ckb-debugger 0.200.2](https://github.com/nervosnetwork/ckb-standalone
3434
| schnorr | 3.5M Cycles | 80K Bytes | N/A |
3535
| k256 | 3.8M Cycles | 97K Bytes | Recovery |
3636
| sp1 verifier| 63.2M Cycles | 246K Bytes | Plonk |
37-
| ml-dsa-44 | 4.9M Cycles | 300K Bytes | N/A |
38-
| ml-dsa-65 | 8.0M cycles | 300K Bytes | N/A |
39-
| ml-dsa-87 | 13.0M Cycles | 300K Bytes | N/A |
37+
| ml-dsa-44 | 4.6M Cycles | 104K Bytes | N/A |
38+
| ml-dsa-65 | 7.4M cycles | 104K Bytes | N/A |
39+
| ml-dsa-87 | 12.3M Cycles | 104K Bytes | N/A |

contracts/ml-dsa-test/Cargo.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,17 @@ edition = "2021"
99
ckb-std = { version = "1.0.0", default-features = false, features = ["allocator", "dummy-atomic"] }
1010
ml-dsa = { git = "https://github.com/RustCrypto/signatures", default-features = false, rev = "66473ec" }
1111
hex = { version = "0.4", default-features = false, features = ["alloc"] }
12+
13+
[profile.release]
14+
overflow-checks = true
15+
opt-level = 3
16+
panic = 'abort'
17+
strip = true
18+
codegen-units = 1
19+
20+
[profile.dev]
21+
strip = true
22+
opt-level = 1
23+
debug = false
24+
panic = 'abort'
25+
debug-assertions = true

0 commit comments

Comments
 (0)