Skip to content

Commit b077343

Browse files
committed
chore: update benchmarks
1 parent da757c8 commit b077343

File tree

3 files changed

+117
-117
lines changed

3 files changed

+117
-117
lines changed

bench/BINARY_SIZE.md

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

1717
Solana version: 2.1.0
1818

19-
| Program | Binary Size | - |
20-
| ------- | ----------- | --- |
21-
| bench | 1,041,928 | - |
19+
| Program | Binary Size | - |
20+
| ------- | ----------- | ---------------------- |
21+
| bench | 1,089,928 | 🔴 **+48,000 (4.61%)** |
2222

2323
### Notable changes
2424

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.1.0
1818

19-
| Instruction | Compute Units | - |
20-
| --------------------------- | ------------- | --- |
21-
| accountInfo1 | 571 | - |
22-
| accountInfo2 | 895 | - |
23-
| accountInfo4 | 1,553 | - |
24-
| accountInfo8 | 2,923 | - |
25-
| accountEmptyInit1 | 5,083 | - |
26-
| accountEmpty1 | 645 | - |
27-
| accountEmptyInit2 | 9,301 | - |
28-
| accountEmpty2 | 1,007 | - |
29-
| accountEmptyInit4 | 17,764 | - |
30-
| accountEmpty4 | 1,724 | - |
31-
| accountEmptyInit8 | 34,723 | - |
32-
| accountEmpty8 | 3,163 | - |
33-
| accountSizedInit1 | 5,192 | - |
34-
| accountSized1 | 693 | - |
35-
| accountSizedInit2 | 9,489 | - |
36-
| accountSized2 | 1,075 | - |
37-
| accountSizedInit4 | 18,170 | - |
38-
| accountSized4 | 1,848 | - |
39-
| accountSizedInit8 | 35,433 | - |
40-
| accountSized8 | 3,387 | - |
41-
| accountUnsizedInit1 | 5,305 | - |
42-
| accountUnsized1 | 746 | - |
43-
| accountUnsizedInit2 | 9,759 | - |
44-
| accountUnsized2 | 1,163 | - |
45-
| accountUnsizedInit4 | 18,603 | - |
46-
| accountUnsized4 | 2,002 | - |
47-
| accountUnsizedInit8 | 35,993 | - |
48-
| accountUnsized8 | 3,673 | - |
49-
| boxedAccountEmptyInit1 | 5,175 | - |
50-
| boxedAccountEmpty1 | 734 | - |
51-
| boxedAccountEmptyInit2 | 9,414 | - |
52-
| boxedAccountEmpty2 | 1,116 | - |
53-
| boxedAccountEmptyInit4 | 17,918 | - |
54-
| boxedAccountEmpty4 | 1,872 | - |
55-
| boxedAccountEmptyInit8 | 34,953 | - |
56-
| boxedAccountEmpty8 | 3,401 | - |
57-
| boxedAccountSizedInit1 | 5,271 | - |
58-
| boxedAccountSized1 | 783 | - |
59-
| boxedAccountSizedInit2 | 9,583 | - |
60-
| boxedAccountSized2 | 1,190 | - |
61-
| boxedAccountSizedInit4 | 18,230 | - |
62-
| boxedAccountSized4 | 1,996 | - |
63-
| boxedAccountSizedInit8 | 35,553 | - |
64-
| boxedAccountSized8 | 3,628 | - |
65-
| boxedAccountUnsizedInit1 | 5,371 | - |
66-
| boxedAccountUnsized1 | 836 | - |
67-
| boxedAccountUnsizedInit2 | 9,759 | - |
68-
| boxedAccountUnsized2 | 1,270 | - |
69-
| boxedAccountUnsizedInit4 | 18,558 | - |
70-
| boxedAccountUnsized4 | 2,132 | - |
71-
| boxedAccountUnsizedInit8 | 36,185 | - |
72-
| boxedAccountUnsized8 | 3,881 | - |
73-
| boxedInterfaceAccountMint1 | 1,351 | - |
74-
| boxedInterfaceAccountMint2 | 2,123 | - |
75-
| boxedInterfaceAccountMint4 | 3,656 | - |
76-
| boxedInterfaceAccountMint8 | 6,738 | - |
77-
| boxedInterfaceAccountToken1 | 2,011 | - |
78-
| boxedInterfaceAccountToken2 | 3,431 | - |
79-
| boxedInterfaceAccountToken4 | 6,260 | - |
80-
| boxedInterfaceAccountToken8 | 11,934 | - |
81-
| interfaceAccountMint1 | 1,476 | - |
82-
| interfaceAccountMint2 | 2,489 | - |
83-
| interfaceAccountMint4 | 4,511 | - |
84-
| interfaceAccountMint8 | 8,550 | - |
85-
| interfaceAccountToken1 | 2,111 | - |
86-
| interfaceAccountToken2 | 3,729 | - |
87-
| interfaceAccountToken4 | 6,955 | - |
88-
| interface1 | 769 | - |
89-
| interface2 | 912 | - |
90-
| interface4 | 1,189 | - |
91-
| interface8 | 1,748 | - |
92-
| program1 | 779 | - |
93-
| program2 | 920 | - |
94-
| program4 | 1,193 | - |
95-
| program8 | 1,744 | - |
96-
| signer1 | 774 | - |
97-
| signer2 | 1,064 | - |
98-
| signer4 | 1,637 | - |
99-
| signer8 | 2,788 | - |
100-
| systemAccount1 | 796 | - |
101-
| systemAccount2 | 1,096 | - |
102-
| systemAccount4 | 1,689 | - |
103-
| systemAccount8 | 2,880 | - |
104-
| uncheckedAccount1 | 783 | - |
105-
| uncheckedAccount2 | 1,056 | - |
106-
| uncheckedAccount4 | 1,594 | - |
107-
| uncheckedAccount8 | 2,679 | - |
19+
| Instruction | Compute Units | - |
20+
| --------------------------- | ------------- | --------------------- |
21+
| accountInfo1 | 571 | - |
22+
| accountInfo2 | 895 | - |
23+
| accountInfo4 | 1,553 | - |
24+
| accountInfo8 | 2,923 | - |
25+
| accountEmptyInit1 | 5,323 | 🔴 **+240 (4.72%)** |
26+
| accountEmpty1 | 645 | - |
27+
| accountEmptyInit2 | 9,720 | 🔴 **+419 (4.50%)** |
28+
| accountEmpty2 | 1,007 | - |
29+
| accountEmptyInit4 | 18,562 | 🔴 **+798 (4.49%)** |
30+
| accountEmpty4 | 1,724 | - |
31+
| accountEmptyInit8 | 36,524 | 🔴 **+1,801 (5.19%)** |
32+
| accountEmpty8 | 3,163 | - |
33+
| accountSizedInit1 | 5,432 | 🔴 **+240 (4.62%)** |
34+
| accountSized1 | 693 | - |
35+
| accountSizedInit2 | 9,912 | 🔴 **+423 (4.46%)** |
36+
| accountSized2 | 1,075 | - |
37+
| accountSizedInit4 | 19,032 | 🔴 **+862 (4.74%)** |
38+
| accountSized4 | 1,848 | - |
39+
| accountSizedInit8 | 37,282 | 🔴 **+1,849 (5.22%)** |
40+
| accountSized8 | 3,387 | - |
41+
| accountUnsizedInit1 | 5,546 | 🔴 **+241 (4.54%)** |
42+
| accountUnsized1 | 746 | - |
43+
| accountUnsizedInit2 | 10,184 | 🔴 **+425 (4.35%)** |
44+
| accountUnsized2 | 1,163 | - |
45+
| accountUnsizedInit4 | 19,397 | 🔴 **+794 (4.27%)** |
46+
| accountUnsized4 | 2,002 | - |
47+
| accountUnsizedInit8 | 37,830 | 🔴 **+1,837 (5.10%)** |
48+
| accountUnsized8 | 3,673 | - |
49+
| boxedAccountEmptyInit1 | 5,416 | 🔴 **+241 (4.66%)** |
50+
| boxedAccountEmpty1 | 734 | - |
51+
| boxedAccountEmptyInit2 | 9,840 | 🔴 **+426 (4.53%)** |
52+
| boxedAccountEmpty2 | 1,116 | - |
53+
| boxedAccountEmptyInit4 | 18,682 | 🔴 **+764 (4.26%)** |
54+
| boxedAccountEmpty4 | 1,872 | - |
55+
| boxedAccountEmptyInit8 | 36,497 | 🔴 **+1,544 (4.42%)** |
56+
| boxedAccountEmpty8 | 3,401 | - |
57+
| boxedAccountSizedInit1 | 5,512 | 🔴 **+241 (4.57%)** |
58+
| boxedAccountSized1 | 783 | - |
59+
| boxedAccountSizedInit2 | 10,009 | 🔴 **+426 (4.45%)** |
60+
| boxedAccountSized2 | 1,190 | - |
61+
| boxedAccountSizedInit4 | 19,098 | 🔴 **+868 (4.76%)** |
62+
| boxedAccountSized4 | 1,996 | - |
63+
| boxedAccountSizedInit8 | 37,173 | 🔴 **+1,620 (4.56%)** |
64+
| boxedAccountSized8 | 3,628 | - |
65+
| boxedAccountUnsizedInit1 | 5,612 | 🔴 **+241 (4.49%)** |
66+
| boxedAccountUnsized1 | 836 | - |
67+
| boxedAccountUnsizedInit2 | 10,185 | 🔴 **+426 (4.37%)** |
68+
| boxedAccountUnsized2 | 1,270 | - |
69+
| boxedAccountUnsizedInit4 | 19,438 | 🔴 **+880 (4.74%)** |
70+
| boxedAccountUnsized4 | 2,132 | - |
71+
| boxedAccountUnsizedInit8 | 37,917 | 🔴 **+1,732 (4.79%)** |
72+
| boxedAccountUnsized8 | 3,881 | - |
73+
| boxedInterfaceAccountMint1 | 1,351 | - |
74+
| boxedInterfaceAccountMint2 | 2,123 | - |
75+
| boxedInterfaceAccountMint4 | 3,656 | - |
76+
| boxedInterfaceAccountMint8 | 6,738 | - |
77+
| boxedInterfaceAccountToken1 | 2,011 | - |
78+
| boxedInterfaceAccountToken2 | 3,431 | - |
79+
| boxedInterfaceAccountToken4 | 6,260 | - |
80+
| boxedInterfaceAccountToken8 | 11,934 | - |
81+
| interfaceAccountMint1 | 1,476 | - |
82+
| interfaceAccountMint2 | 2,489 | - |
83+
| interfaceAccountMint4 | 4,511 | - |
84+
| interfaceAccountMint8 | 8,550 | - |
85+
| interfaceAccountToken1 | 2,111 | - |
86+
| interfaceAccountToken2 | 3,729 | - |
87+
| interfaceAccountToken4 | 6,955 | - |
88+
| interface1 | 769 | - |
89+
| interface2 | 912 | - |
90+
| interface4 | 1,189 | - |
91+
| interface8 | 1,748 | - |
92+
| program1 | 779 | - |
93+
| program2 | 920 | - |
94+
| program4 | 1,193 | - |
95+
| program8 | 1,744 | - |
96+
| signer1 | 774 | - |
97+
| signer2 | 1,064 | - |
98+
| signer4 | 1,637 | - |
99+
| signer8 | 2,788 | - |
100+
| systemAccount1 | 796 | - |
101+
| systemAccount2 | 1,096 | - |
102+
| systemAccount4 | 1,689 | - |
103+
| systemAccount8 | 2,880 | - |
104+
| uncheckedAccount1 | 783 | - |
105+
| uncheckedAccount2 | 1,056 | - |
106+
| uncheckedAccount4 | 1,594 | - |
107+
| uncheckedAccount8 | 2,679 | - |
108108

109109
### Notable changes
110110

tests/bench/bench.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,60 +1305,60 @@
13051305
"solanaVersion": "2.1.0",
13061306
"result": {
13071307
"binarySize": {
1308-
"bench": 1041928
1308+
"bench": 1089928
13091309
},
13101310
"computeUnits": {
13111311
"accountInfo1": 571,
13121312
"accountInfo2": 895,
13131313
"accountInfo4": 1553,
13141314
"accountInfo8": 2923,
1315-
"accountEmptyInit1": 5083,
1315+
"accountEmptyInit1": 5323,
13161316
"accountEmpty1": 645,
1317-
"accountEmptyInit2": 9301,
1317+
"accountEmptyInit2": 9720,
13181318
"accountEmpty2": 1007,
1319-
"accountEmptyInit4": 17764,
1319+
"accountEmptyInit4": 18562,
13201320
"accountEmpty4": 1724,
1321-
"accountEmptyInit8": 34723,
1321+
"accountEmptyInit8": 36524,
13221322
"accountEmpty8": 3163,
1323-
"accountSizedInit1": 5192,
1323+
"accountSizedInit1": 5432,
13241324
"accountSized1": 693,
1325-
"accountSizedInit2": 9489,
1325+
"accountSizedInit2": 9912,
13261326
"accountSized2": 1075,
1327-
"accountSizedInit4": 18170,
1327+
"accountSizedInit4": 19032,
13281328
"accountSized4": 1848,
1329-
"accountSizedInit8": 35433,
1329+
"accountSizedInit8": 37282,
13301330
"accountSized8": 3387,
1331-
"accountUnsizedInit1": 5305,
1331+
"accountUnsizedInit1": 5546,
13321332
"accountUnsized1": 746,
1333-
"accountUnsizedInit2": 9759,
1333+
"accountUnsizedInit2": 10184,
13341334
"accountUnsized2": 1163,
1335-
"accountUnsizedInit4": 18603,
1335+
"accountUnsizedInit4": 19397,
13361336
"accountUnsized4": 2002,
1337-
"accountUnsizedInit8": 35993,
1337+
"accountUnsizedInit8": 37830,
13381338
"accountUnsized8": 3673,
1339-
"boxedAccountEmptyInit1": 5175,
1339+
"boxedAccountEmptyInit1": 5416,
13401340
"boxedAccountEmpty1": 734,
1341-
"boxedAccountEmptyInit2": 9414,
1341+
"boxedAccountEmptyInit2": 9840,
13421342
"boxedAccountEmpty2": 1116,
1343-
"boxedAccountEmptyInit4": 17918,
1343+
"boxedAccountEmptyInit4": 18682,
13441344
"boxedAccountEmpty4": 1872,
1345-
"boxedAccountEmptyInit8": 34953,
1345+
"boxedAccountEmptyInit8": 36497,
13461346
"boxedAccountEmpty8": 3401,
1347-
"boxedAccountSizedInit1": 5271,
1347+
"boxedAccountSizedInit1": 5512,
13481348
"boxedAccountSized1": 783,
1349-
"boxedAccountSizedInit2": 9583,
1349+
"boxedAccountSizedInit2": 10009,
13501350
"boxedAccountSized2": 1190,
1351-
"boxedAccountSizedInit4": 18230,
1351+
"boxedAccountSizedInit4": 19098,
13521352
"boxedAccountSized4": 1996,
1353-
"boxedAccountSizedInit8": 35553,
1353+
"boxedAccountSizedInit8": 37173,
13541354
"boxedAccountSized8": 3628,
1355-
"boxedAccountUnsizedInit1": 5371,
1355+
"boxedAccountUnsizedInit1": 5612,
13561356
"boxedAccountUnsized1": 836,
1357-
"boxedAccountUnsizedInit2": 9759,
1357+
"boxedAccountUnsizedInit2": 10185,
13581358
"boxedAccountUnsized2": 1270,
1359-
"boxedAccountUnsizedInit4": 18558,
1359+
"boxedAccountUnsizedInit4": 19438,
13601360
"boxedAccountUnsized4": 2132,
1361-
"boxedAccountUnsizedInit8": 36185,
1361+
"boxedAccountUnsizedInit8": 37917,
13621362
"boxedAccountUnsized8": 3881,
13631363
"boxedInterfaceAccountMint1": 1351,
13641364
"boxedInterfaceAccountMint2": 2123,

0 commit comments

Comments
 (0)