Skip to content

Commit d15c1d9

Browse files
committed
wip
1 parent d446876 commit d15c1d9

File tree

3 files changed

+0
-27
lines changed

3 files changed

+0
-27
lines changed

benchmark/reports/bytecode_size_comparison.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Generated on: 2025-12-19
1111
| fibonacci_ink | PVM | 1,879 | +330.0% |
1212
| Fibonacci_pvm | PVM | 2,714 | +521.1% |
1313

14-
1514
## SimpleToken Implementations
1615

1716
| Contract | VM Type | Size (bytes) | vs Smallest |
@@ -20,5 +19,3 @@ Generated on: 2025-12-19
2019
| simple_token_no_alloc_rust | PVM | 4,370 | +643.2% |
2120
| SimpleToken_pvm | PVM | 5,241 | +791.3% |
2221
| simple_token_ink | PVM | 8,345 | +1319.2% |
23-
24-

benchmark/reports/contract_comparison.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Comparison of gas usage across different contract implementations.
1313
| Fibonacci_pvm | 1,570,958,680 | +3.0% | 0.7% | 6,934 |
1414
| fibonacci_ink | 1,732,998,392 | +13.6% | 10.7% | 17,191 |
1515

16-
1716
## Fibonacci - fib_10
1817

1918
| Implementation | ref_time | vs Best | % metered | pov |
@@ -23,7 +22,6 @@ Comparison of gas usage across different contract implementations.
2322
| Fibonacci_evm | 1,533,530,869 | +49.9% | 40.5% | 8,432 |
2423
| Fibonacci_pvm | 1,619,349,144 | +58.2% | 43.6% | 11,146 |
2524

26-
2725
## SimpleToken - deploy
2826

2927
| Implementation | ref_time | vs Best | % metered | pov |
@@ -33,7 +31,6 @@ Comparison of gas usage across different contract implementations.
3331
| SimpleToken_pvm | 1,610,852,522 | +5.4% | 0.6% | 6,934 |
3432
| simple_token_ink | 1,864,343,762 | +22.0% | 11.5% | 17,191 |
3533

36-
3734
## SimpleToken - mint
3835

3936
| Implementation | ref_time | vs Best | % metered | pov |
@@ -42,5 +39,3 @@ Comparison of gas usage across different contract implementations.
4239
| SimpleToken_pvm | 1,497,388,823 | +4.6% | 39.0% | 54,800 |
4340
| simple_token_no_alloc_rust | 1,505,513,738 | +5.2% | 39.3% | 53,929 |
4441
| simple_token_ink | 1,731,583,752 | +21.0% | 47.2% | 57,968 |
45-
46-

benchmark/reports/opcode_analysis.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Generated on: 2025-12-19
2323
| JUMPDEST | 1 | 1 | 1.0 | 0.9% | 0.0% |
2424
| RETURN | 0 | 1 | 0.0 | 0.0% | 0.0% |
2525

26-
2726
### Fibonacci_evm - fib_10
2827

2928
- **Total Gas Used:** 62,284
@@ -51,7 +50,6 @@ Generated on: 2025-12-19
5150
| PUSH1 | 3 | 1 | 3.0 | 0.2% | 0.0% |
5251
| PUSH2 | 3 | 1 | 3.0 | 0.2% | 0.0% |
5352

54-
5553
### SimpleToken_evm - deploy
5654

5755
- **Total Gas Used:** 174,399
@@ -71,7 +69,6 @@ Generated on: 2025-12-19
7169
| JUMPDEST | 1 | 1 | 1.0 | 0.7% | 0.0% |
7270
| RETURN | 0 | 1 | 0.0 | 0.0% | 0.0% |
7371

74-
7572
### SimpleToken_evm - mint
7673

7774
- **Total Gas Used:** 68,273
@@ -99,7 +96,6 @@ Generated on: 2025-12-19
9996
| ISZERO | 3 | 1 | 3.0 | 0.0% | 0.0% |
10097
| LT | 3 | 1 | 3.0 | 0.0% | 0.0% |
10198

102-
10399
## Chain: eth-rpc
104100

105101
### Fibonacci_evm - deploy
@@ -124,7 +120,6 @@ Generated on: 2025-12-19
124120
| POP | 0 | 1 | 0.0 | 30,560 | 0 | 2.0% | 0.0% |
125121
| RETURN | 0 | 1 | 0.0 | 0 | 0 | 0.0% | 0.0% |
126122

127-
128123
### Fibonacci_pvm - deploy
129124

130125
- **Total Gas Used:** 12,465,075
@@ -139,7 +134,6 @@ Generated on: 2025-12-19
139134
| call_data_size | 6 | 1 | 6.0 | 330,000 | 0 | 3.1% | 0.0% |
140135
| value_transferred | 6 | 1 | 6.0 | 319,000 | 0 | 3.0% | 0.0% |
141136

142-
143137
### fibonacci_ink - deploy
144138

145139
- **Total Gas Used:** 10,792,216
@@ -154,7 +148,6 @@ Generated on: 2025-12-19
154148
| seal_return | 11 | 1 | 11.0 | 529,465 | 0 | 0.3% | 0.0% |
155149
| value_transferred | 7 | 1 | 7.0 | 319,000 | 0 | 0.2% | 0.0% |
156150

157-
158151
### Fibonacci_evm - fib_10
159152

160153
- **Total Gas Used:** 350,587
@@ -185,7 +178,6 @@ Generated on: 2025-12-19
185178
| MSTORE | 1 | 1 | 1.0 | 45,840 | 0 | 0.0% | 0.0% |
186179
| POP | 1 | 1 | 1.0 | 30,560 | 0 | 0.0% | 0.0% |
187180

188-
189181
### Fibonacci_pvm - fib_10
190182

191183
- **Total Gas Used:** 352,303
@@ -201,7 +193,6 @@ Generated on: 2025-12-19
201193
| value_transferred | 7 | 1 | 7.0 | 319,000 | 0 | 0.0% | 0.0% |
202194
| call_data_size | 6 | 1 | 6.0 | 330,000 | 0 | 0.0% | 0.0% |
203195

204-
205196
### fibonacci_ink - fib_10
206197

207198
- **Total Gas Used:** 347,176
@@ -218,7 +209,6 @@ Generated on: 2025-12-19
218209
| seal_return | 10 | 1 | 10.0 | 529,465 | 0 | 0.1% | 0.0% |
219210
| value_transferred | 7 | 1 | 7.0 | 319,000 | 0 | 0.1% | 0.0% |
220211

221-
222212
### fibonacci_rust - fib_10
223213

224214
- **Total Gas Used:** 340,383
@@ -231,7 +221,6 @@ Generated on: 2025-12-19
231221
| deposit_event | 275 | 1 | 275.0 | 13,751,564 | 0 | 12.5% | 0.0% |
232222
| call_data_copy | 10 | 1 | 10.0 | 497,028 | 0 | 0.5% | 0.0% |
233223

234-
235224
### SimpleToken_evm - deploy
236225

237226
- **Total Gas Used:** 8,082,983
@@ -254,7 +243,6 @@ Generated on: 2025-12-19
254243
| JUMPDEST | 0 | 1 | 0.0 | 15,280 | 0 | 1.0% | 0.0% |
255244
| RETURN | 0 | 1 | 0.0 | 0 | 0 | 0.0% | 0.0% |
256245

257-
258246
### SimpleToken_pvm - deploy
259247

260248
- **Total Gas Used:** 17,673,493
@@ -269,7 +257,6 @@ Generated on: 2025-12-19
269257
| call_data_size | 7 | 1 | 7.0 | 330,000 | 0 | 3.2% | 0.0% |
270258
| value_transferred | 6 | 1 | 6.0 | 319,000 | 0 | 3.1% | 0.0% |
271259

272-
273260
### simple_token_ink - deploy
274261

275262
- **Total Gas Used:** 24,123,203
@@ -284,7 +271,6 @@ Generated on: 2025-12-19
284271
| seal_return | 11 | 1 | 11.0 | 529,465 | 0 | 0.2% | 0.0% |
285272
| value_transferred | 6 | 1 | 6.0 | 319,000 | 0 | 0.1% | 0.0% |
286273

287-
288274
### SimpleToken_evm - mint
289275

290276
- **Total Gas Used:** 520,147
@@ -315,7 +301,6 @@ Generated on: 2025-12-19
315301
| ISZERO | 1 | 1 | 1.0 | 45,840 | 0 | 0.0% | 0.0% |
316302
| JUMPDEST | 1 | 1 | 1.0 | 15,280 | 0 | 0.0% | 0.0% |
317303

318-
319304
### SimpleToken_pvm - mint
320305

321306
- **Total Gas Used:** 521,464
@@ -334,7 +319,6 @@ Generated on: 2025-12-19
334319
| call_data_size | 7 | 1 | 7.0 | 330,000 | 0 | 0.1% | 0.0% |
335320
| value_transferred | 6 | 1 | 6.0 | 319,000 | 0 | 0.1% | 0.0% |
336321

337-
338322
### simple_token_ink - mint
339323

340324
- **Total Gas Used:** 474,948
@@ -351,7 +335,6 @@ Generated on: 2025-12-19
351335
| seal_return | 10 | 1 | 10.0 | 529,465 | 0 | 0.1% | 0.0% |
352336
| value_transferred | 6 | 1 | 6.0 | 319,000 | 0 | 0.0% | 0.0% |
353337

354-
355338
### simple_token_no_alloc_rust - mint
356339

357340
- **Total Gas Used:** 521,627
@@ -367,5 +350,3 @@ Generated on: 2025-12-19
367350
| deposit_event | 275 | 1 | 275.0 | 13,751,564 | 0 | 2.3% | 0.0% |
368351
| call_data_copy | 10 | 1 | 10.0 | 504,260 | 0 | 0.1% | 0.0% |
369352
| call_data_size | 7 | 1 | 7.0 | 330,000 | 0 | 0.1% | 0.0% |
370-
371-

0 commit comments

Comments
 (0)