Skip to content

Commit 10da01a

Browse files
committed
chore(bench): Update
1 parent 2ab93ce commit 10da01a

File tree

2 files changed

+113
-113
lines changed

2 files changed

+113
-113
lines changed

bench/COMPUTE_UNITS.md

Lines changed: 89 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -16,95 +16,95 @@ The programs and their tests are located in [/tests/bench](https://github.com/co
1616

1717
Solana version: 2.3.0
1818

19-
| Instruction | Compute Units | - |
20-
| --------------------------- | ------------- | -------------------- |
21-
| accountInfo1 | 723 | 🔴 **+38 (5.55%)** |
22-
| accountInfo2 | 1,099 | 🔴 **+46 (4.37%)** |
23-
| accountInfo4 | 1,796 | 🔴 **+46 (2.63%)** |
24-
| accountInfo8 | 3,186 | 🔴 **+51 (1.63%)** |
25-
| accountEmptyInit1 | 5,447 | 🔴 **+532 (10.82%)** |
26-
| accountEmpty1 | 790 | 🔴 **+16 (2.07%)** |
27-
| accountEmptyInit2 | 9,326 | 🔴 **+533 (6.06%)** |
28-
| accountEmpty2 | 1,187 | 🔴 **+13 (1.11%)** |
29-
| accountEmptyInit4 | 17,074 | 🔴 **+326 (1.95%)** |
30-
| accountEmpty4 | 1,962 | - |
31-
| accountEmptyInit8 | 32,601 | 🔴 **+244 (0.75%)** |
32-
| accountEmpty8 | 3,548 | - |
33-
| accountSizedInit1 | 5,551 | 🔴 **+532 (10.60%)** |
34-
| accountSized1 | 836 | 🔴 **+14 (1.70%)** |
35-
| accountSizedInit2 | 9,510 | 🔴 **+529 (5.89%)** |
36-
| accountSized2 | 1,259 | 🔴 **+19 (1.53%)** |
37-
| accountSizedInit4 | 17,428 | 🔴 **+274 (1.60%)** |
38-
| accountSized4 | 2,082 | - |
39-
| accountSizedInit8 | 33,251 | 🔴 **+238 (0.72%)** |
40-
| accountSized8 | 3,762 | - |
41-
| accountUnsizedInit1 | 5,661 | 🔴 **+534 (10.42%)** |
42-
| accountUnsized1 | 894 | 🔴 **+20 (2.29%)** |
43-
| accountUnsizedInit2 | 9,709 | 🔴 **+458 (4.95%)** |
44-
| accountUnsized2 | 1,347 | 🔴 **+21 (1.58%)** |
45-
| accountUnsizedInit4 | 17,797 | 🔴 **+419 (2.41%)** |
46-
| accountUnsized4 | 2,231 | - |
47-
| accountUnsizedInit8 | 33,922 | 🟢 **-39 (0.11%)** |
48-
| accountUnsized8 | 4,035 | - |
49-
| boxedAccountEmptyInit1 | 5,539 | 🔴 **+532 (10.63%)** |
50-
| boxedAccountEmpty1 | 881 | 🔴 **+17 (1.97%)** |
51-
| boxedAccountEmptyInit2 | 9,438 | 🔴 **+532 (5.97%)** |
52-
| boxedAccountEmpty2 | 1,300 | 🔴 **+14 (1.09%)** |
53-
| boxedAccountEmptyInit4 | 17,227 | 🔴 **+325 (1.92%)** |
54-
| boxedAccountEmpty4 | 2,115 | - |
55-
| boxedAccountEmptyInit8 | 32,830 | 🔴 **+239 (0.73%)** |
56-
| boxedAccountEmpty8 | 3,801 | - |
57-
| boxedAccountSizedInit1 | 5,635 | 🔴 **+532 (10.43%)** |
58-
| boxedAccountSized1 | 929 | 🔴 **+17 (1.86%)** |
59-
| boxedAccountSizedInit2 | 9,606 | 🔴 **+531 (5.85%)** |
60-
| boxedAccountSized2 | 1,370 | 🔴 **+15 (1.11%)** |
61-
| boxedAccountSizedInit4 | 17,539 | 🔴 **+325 (1.89%)** |
62-
| boxedAccountSized4 | 2,231 | - |
63-
| boxedAccountSizedInit8 | 33,430 | 🟢 **-91 (0.27%)** |
64-
| boxedAccountSized8 | 4,007 | - |
65-
| boxedAccountUnsizedInit1 | 5,734 | 🔴 **+532 (10.23%)** |
66-
| boxedAccountUnsized1 | 981 | 🔴 **+17 (1.76%)** |
67-
| boxedAccountUnsizedInit2 | 9,780 | 🔴 **+529 (5.72%)** |
68-
| boxedAccountUnsized2 | 1,450 | 🔴 **+16 (1.12%)** |
69-
| boxedAccountUnsizedInit4 | 17,883 | 🔴 **+341 (1.94%)** |
70-
| boxedAccountUnsized4 | 2,367 | - |
71-
| boxedAccountUnsizedInit8 | 34,054 | 🟢 **-99 (0.29%)** |
72-
| boxedAccountUnsized8 | 4,257 | - |
73-
| boxedInterfaceAccountMint1 | 1,127 | 🔴 **+17 (1.53%)** |
74-
| boxedInterfaceAccountMint2 | 1,534 | - |
75-
| boxedInterfaceAccountMint4 | 2,370 | - |
76-
| boxedInterfaceAccountMint8 | 4,064 | - |
77-
| boxedInterfaceAccountToken1 | 1,263 | 🔴 **+17 (1.36%)** |
78-
| boxedInterfaceAccountToken2 | 1,794 | - |
79-
| boxedInterfaceAccountToken4 | 2,878 | - |
80-
| boxedInterfaceAccountToken8 | 5,068 | - |
81-
| interfaceAccountMint1 | 1,163 | 🔴 **+37 (3.29%)** |
82-
| interfaceAccountMint2 | 1,600 | 🔴 **+38 (2.43%)** |
83-
| interfaceAccountMint4 | 2,468 | 🔴 **+36 (1.48%)** |
84-
| interfaceAccountMint8 | 4,163 | - |
85-
| interfaceAccountToken1 | 1,315 | 🔴 **+47 (3.71%)** |
86-
| interfaceAccountToken2 | 1,892 | 🔴 **+43 (2.33%)** |
87-
| interfaceAccountToken4 | 3,040 | 🔴 **+43 (1.43%)** |
88-
| interface1 | 894 | 🔴 **+16 (1.82%)** |
89-
| interface2 | 1,036 | 🔴 **+13 (1.27%)** |
90-
| interface4 | 1,318 | 🔴 **+17 (1.31%)** |
91-
| interface8 | 1,867 | - |
92-
| program1 | 914 | 🔴 **+24 (2.70%)** |
93-
| program2 | 1,064 | 🔴 **+29 (2.80%)** |
94-
| program4 | 1,362 | 🔴 **+49 (3.73%)** |
95-
| program8 | 1,943 | 🔴 **+64 (3.41%)** |
96-
| signer1 | 890 | 🔴 **+16 (1.83%)** |
97-
| signer2 | 1,186 | 🔴 **+13 (1.11%)** |
98-
| signer4 | 1,759 | - |
99-
| signer8 | 2,941 | - |
100-
| systemAccount1 | 927 | 🔴 **+16 (1.76%)** |
101-
| systemAccount2 | 1,248 | 🔴 **+13 (1.05%)** |
102-
| systemAccount4 | 1,871 | - |
103-
| systemAccount8 | 3,153 | - |
104-
| uncheckedAccount1 | 896 | 🔴 **+14 (1.59%)** |
105-
| uncheckedAccount2 | 1,179 | 🔴 **+17 (1.46%)** |
106-
| uncheckedAccount4 | 1,737 | 🔴 **+21 (1.22%)** |
107-
| uncheckedAccount8 | 2,833 | - |
19+
| Instruction | Compute Units | - |
20+
| --------------------------- | ------------- | ------------------- |
21+
| accountInfo1 | 723 | 🔴 **+38 (5.55%)** |
22+
| accountInfo2 | 1,099 | 🔴 **+46 (4.37%)** |
23+
| accountInfo4 | 1,796 | 🔴 **+46 (2.63%)** |
24+
| accountInfo8 | 3,186 | 🔴 **+51 (1.63%)** |
25+
| accountEmptyInit1 | 4,895 | 🟢 **-20 (0.41%)** |
26+
| accountEmpty1 | 790 | 🔴 **+16 (2.07%)** |
27+
| accountEmptyInit2 | 8,774 | 🟢 **-19 (0.22%)** |
28+
| accountEmpty2 | 1,187 | 🔴 **+13 (1.11%)** |
29+
| accountEmptyInit4 | 16,522 | 🟢 **-226 (1.35%)** |
30+
| accountEmpty4 | 1,962 | - |
31+
| accountEmptyInit8 | 32,029 | 🟢 **-328 (1.01%)** |
32+
| accountEmpty8 | 3,548 | - |
33+
| accountSizedInit1 | 4,999 | 🟢 **-20 (0.40%)** |
34+
| accountSized1 | 836 | 🔴 **+14 (1.70%)** |
35+
| accountSizedInit2 | 8,958 | 🟢 **-23 (0.26%)** |
36+
| accountSized2 | 1,259 | 🔴 **+19 (1.53%)** |
37+
| accountSizedInit4 | 16,876 | 🟢 **-278 (1.62%)** |
38+
| accountSized4 | 2,082 | - |
39+
| accountSizedInit8 | 32,680 | 🟢 **-333 (1.01%)** |
40+
| accountSized8 | 3,762 | - |
41+
| accountUnsizedInit1 | 5,109 | 🟢 **-18 (0.35%)** |
42+
| accountUnsized1 | 894 | 🔴 **+20 (2.29%)** |
43+
| accountUnsizedInit2 | 9,159 | 🟢 **-92 (0.99%)** |
44+
| accountUnsized2 | 1,347 | 🔴 **+21 (1.58%)** |
45+
| accountUnsizedInit4 | 17,224 | 🟢 **-154 (0.89%)** |
46+
| accountUnsized4 | 2,231 | - |
47+
| accountUnsizedInit8 | 33,370 | 🟢 **-591 (1.74%)** |
48+
| accountUnsized8 | 4,035 | - |
49+
| boxedAccountEmptyInit1 | 4,987 | 🟢 **-20 (0.40%)** |
50+
| boxedAccountEmpty1 | 881 | 🔴 **+17 (1.97%)** |
51+
| boxedAccountEmptyInit2 | 8,887 | 🟢 **-19 (0.21%)** |
52+
| boxedAccountEmpty2 | 1,300 | 🔴 **+14 (1.09%)** |
53+
| boxedAccountEmptyInit4 | 16,675 | 🟢 **-227 (1.34%)** |
54+
| boxedAccountEmpty4 | 2,115 | - |
55+
| boxedAccountEmptyInit8 | 32,258 | 🟢 **-333 (1.02%)** |
56+
| boxedAccountEmpty8 | 3,801 | - |
57+
| boxedAccountSizedInit1 | 5,083 | 🟢 **-20 (0.39%)** |
58+
| boxedAccountSized1 | 929 | 🔴 **+17 (1.86%)** |
59+
| boxedAccountSizedInit2 | 9,055 | 🟢 **-20 (0.22%)** |
60+
| boxedAccountSized2 | 1,370 | 🔴 **+15 (1.11%)** |
61+
| boxedAccountSizedInit4 | 16,987 | 🟢 **-227 (1.32%)** |
62+
| boxedAccountSized4 | 2,231 | - |
63+
| boxedAccountSizedInit8 | 32,858 | 🟢 **-663 (1.98%)** |
64+
| boxedAccountSized8 | 4,007 | - |
65+
| boxedAccountUnsizedInit1 | 5,182 | 🟢 **-20 (0.38%)** |
66+
| boxedAccountUnsized1 | 981 | 🔴 **+17 (1.76%)** |
67+
| boxedAccountUnsizedInit2 | 9,229 | 🟢 **-22 (0.24%)** |
68+
| boxedAccountUnsized2 | 1,450 | 🔴 **+16 (1.12%)** |
69+
| boxedAccountUnsizedInit4 | 17,311 | 🟢 **-231 (1.32%)** |
70+
| boxedAccountUnsized4 | 2,367 | - |
71+
| boxedAccountUnsizedInit8 | 33,502 | 🟢 **-651 (1.91%)** |
72+
| boxedAccountUnsized8 | 4,257 | - |
73+
| boxedInterfaceAccountMint1 | 1,127 | 🔴 **+17 (1.53%)** |
74+
| boxedInterfaceAccountMint2 | 1,534 | - |
75+
| boxedInterfaceAccountMint4 | 2,370 | - |
76+
| boxedInterfaceAccountMint8 | 4,064 | - |
77+
| boxedInterfaceAccountToken1 | 1,263 | 🔴 **+17 (1.36%)** |
78+
| boxedInterfaceAccountToken2 | 1,794 | - |
79+
| boxedInterfaceAccountToken4 | 2,878 | - |
80+
| boxedInterfaceAccountToken8 | 5,068 | - |
81+
| interfaceAccountMint1 | 1,163 | 🔴 **+37 (3.29%)** |
82+
| interfaceAccountMint2 | 1,600 | 🔴 **+38 (2.43%)** |
83+
| interfaceAccountMint4 | 2,468 | 🔴 **+36 (1.48%)** |
84+
| interfaceAccountMint8 | 4,163 | - |
85+
| interfaceAccountToken1 | 1,315 | 🔴 **+47 (3.71%)** |
86+
| interfaceAccountToken2 | 1,892 | 🔴 **+43 (2.33%)** |
87+
| interfaceAccountToken4 | 3,040 | 🔴 **+43 (1.43%)** |
88+
| interface1 | 894 | 🔴 **+16 (1.82%)** |
89+
| interface2 | 1,036 | 🔴 **+13 (1.27%)** |
90+
| interface4 | 1,318 | 🔴 **+17 (1.31%)** |
91+
| interface8 | 1,867 | - |
92+
| program1 | 914 | 🔴 **+24 (2.70%)** |
93+
| program2 | 1,064 | 🔴 **+29 (2.80%)** |
94+
| program4 | 1,362 | 🔴 **+49 (3.73%)** |
95+
| program8 | 1,943 | 🔴 **+64 (3.41%)** |
96+
| signer1 | 890 | 🔴 **+16 (1.83%)** |
97+
| signer2 | 1,186 | 🔴 **+13 (1.11%)** |
98+
| signer4 | 1,759 | - |
99+
| signer8 | 2,941 | - |
100+
| systemAccount1 | 927 | 🔴 **+16 (1.76%)** |
101+
| systemAccount2 | 1,248 | 🔴 **+13 (1.05%)** |
102+
| systemAccount4 | 1,871 | - |
103+
| systemAccount8 | 3,153 | - |
104+
| uncheckedAccount1 | 896 | 🔴 **+14 (1.59%)** |
105+
| uncheckedAccount2 | 1,179 | 🔴 **+17 (1.46%)** |
106+
| uncheckedAccount4 | 1,737 | 🔴 **+21 (1.22%)** |
107+
| uncheckedAccount8 | 2,833 | - |
108108

109109
### Notable changes
110110

tests/bench/bench.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1684,53 +1684,53 @@
16841684
"accountInfo2": 1099,
16851685
"accountInfo4": 1796,
16861686
"accountInfo8": 3186,
1687-
"accountEmptyInit1": 5447,
1687+
"accountEmptyInit1": 4895,
16881688
"accountEmpty1": 790,
1689-
"accountEmptyInit2": 9326,
1689+
"accountEmptyInit2": 8774,
16901690
"accountEmpty2": 1187,
1691-
"accountEmptyInit4": 17074,
1691+
"accountEmptyInit4": 16522,
16921692
"accountEmpty4": 1962,
1693-
"accountEmptyInit8": 32601,
1693+
"accountEmptyInit8": 32029,
16941694
"accountEmpty8": 3548,
1695-
"accountSizedInit1": 5551,
1695+
"accountSizedInit1": 4999,
16961696
"accountSized1": 836,
1697-
"accountSizedInit2": 9510,
1697+
"accountSizedInit2": 8958,
16981698
"accountSized2": 1259,
1699-
"accountSizedInit4": 17428,
1699+
"accountSizedInit4": 16876,
17001700
"accountSized4": 2082,
1701-
"accountSizedInit8": 33251,
1701+
"accountSizedInit8": 32680,
17021702
"accountSized8": 3762,
1703-
"accountUnsizedInit1": 5661,
1703+
"accountUnsizedInit1": 5109,
17041704
"accountUnsized1": 894,
1705-
"accountUnsizedInit2": 9709,
1705+
"accountUnsizedInit2": 9159,
17061706
"accountUnsized2": 1347,
1707-
"accountUnsizedInit4": 17797,
1707+
"accountUnsizedInit4": 17224,
17081708
"accountUnsized4": 2231,
1709-
"accountUnsizedInit8": 33922,
1709+
"accountUnsizedInit8": 33370,
17101710
"accountUnsized8": 4035,
1711-
"boxedAccountEmptyInit1": 5539,
1711+
"boxedAccountEmptyInit1": 4987,
17121712
"boxedAccountEmpty1": 881,
1713-
"boxedAccountEmptyInit2": 9438,
1713+
"boxedAccountEmptyInit2": 8887,
17141714
"boxedAccountEmpty2": 1300,
1715-
"boxedAccountEmptyInit4": 17227,
1715+
"boxedAccountEmptyInit4": 16675,
17161716
"boxedAccountEmpty4": 2115,
1717-
"boxedAccountEmptyInit8": 32830,
1717+
"boxedAccountEmptyInit8": 32258,
17181718
"boxedAccountEmpty8": 3801,
1719-
"boxedAccountSizedInit1": 5635,
1719+
"boxedAccountSizedInit1": 5083,
17201720
"boxedAccountSized1": 929,
1721-
"boxedAccountSizedInit2": 9606,
1721+
"boxedAccountSizedInit2": 9055,
17221722
"boxedAccountSized2": 1370,
1723-
"boxedAccountSizedInit4": 17539,
1723+
"boxedAccountSizedInit4": 16987,
17241724
"boxedAccountSized4": 2231,
1725-
"boxedAccountSizedInit8": 33430,
1725+
"boxedAccountSizedInit8": 32858,
17261726
"boxedAccountSized8": 4007,
1727-
"boxedAccountUnsizedInit1": 5734,
1727+
"boxedAccountUnsizedInit1": 5182,
17281728
"boxedAccountUnsized1": 981,
1729-
"boxedAccountUnsizedInit2": 9780,
1729+
"boxedAccountUnsizedInit2": 9229,
17301730
"boxedAccountUnsized2": 1450,
1731-
"boxedAccountUnsizedInit4": 17883,
1731+
"boxedAccountUnsizedInit4": 17311,
17321732
"boxedAccountUnsized4": 2367,
1733-
"boxedAccountUnsizedInit8": 34054,
1733+
"boxedAccountUnsizedInit8": 33502,
17341734
"boxedAccountUnsized8": 4257,
17351735
"boxedInterfaceAccountMint1": 1127,
17361736
"boxedInterfaceAccountMint2": 1534,

0 commit comments

Comments
 (0)