Skip to content

Commit 2d1a158

Browse files
committed
gas report benchmarking, 200 optimization runs
1 parent e1876c3 commit 2d1a158

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

gasreport200

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
| src/DelegationRegistry.sol:DelegationRegistry contract | | | | | |
2+
|--------------------------------------------------------|-----------------|--------|--------|--------|---------|
3+
| Deployment Cost | Deployment Size | | | | |
4+
| 1247295 | 6262 | | | | |
5+
| Function Name | min | avg | median | max | # calls |
6+
| checkDelegateForAll | 1588 | 2338 | 1588 | 3588 | 8 |
7+
| checkDelegateForContract | 1706 | 3417 | 4786 | 4786 | 9 |
8+
| checkDelegateForToken | 1978 | 4594 | 5645 | 8186 | 10 |
9+
| delegateForAll | 5216 | 150923 | 167237 | 190137 | 20 |
10+
| delegateForContract | 5553 | 139465 | 162658 | 210458 | 19 |
11+
| delegateForToken | 5940 | 157903 | 183041 | 230841 | 20 |
12+
| getContractLevelDelegations | 3221 | 7964 | 8211 | 10534 | 6 |
13+
| getDelegatesForAll | 3273 | 5350 | 5026 | 7730 | 6 |
14+
| getDelegatesForContract | 1353 | 5728 | 6649 | 8260 | 4 |
15+
| getDelegatesForToken | 1377 | 6140 | 7140 | 8906 | 4 |
16+
| getDelegationsByDelegate | 9526 | 13364 | 13917 | 18051 | 8 |
17+
| getTokenLevelDelegations | 3200 | 9378 | 10121 | 11861 | 6 |
18+
| revokeAllDelegates | 21478 | 21478 | 21478 | 21478 | 4 |
19+
| revokeDelegate | 22131 | 22131 | 22131 | 22131 | 4 |
20+
| revokeSelf | 22133 | 22133 | 22133 | 22133 | 1 |

0 commit comments

Comments
 (0)