Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions standard/wallets/comparison.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,76 @@ Highload wallets are engineered explicitly for maximum throughput and cost effic
Read more:

- [Highload wallet implementation](/standard/wallets/highload)

## Performance benchmarks

The following benchmarks compare gas consumption and throughput across different wallet versions when sending multiple messages. These measurements help determine the most cost-effective wallet for specific use cases.

<Note>
Theoretically, a message can be sent every 3–5 seconds when a new block appears.

In practice, messages can be sent every 10–12 seconds.
</Note>

### Send 1 message

| Wallet | Requests | Total gas | Gas per message | Difference | Real time | Theoretical time |
| ------ | -------- | --------- | --------------- | ---------- | --------- | ---------------- |
| **V2R1** ✅ | 1 | 2,769 | 2,769 | **Best** | 13s | 4s |
| V2R2 | 1 | 2,846 | 2,846 | +2.78% | 13s | 4s |
| V3R1 | 1 | 2,917 | 2,917 | +5.34% | 13s | 4s |
| V3R2 | 1 | 2,994 | 2,994 | +8.13% | 13s | 4s |
| V4 | 1 | 3,308 | 3,308 | +19.47% | 13s | 4s |
| V5R1 | 1 | 4,939 | 4,939 | +78.37% | 13s | 4s |


### Send 4 messages

| Wallet | Requests | Total gas | Gas per message | Difference | Real time | Theoretical time |
| ------ | -------- | --------- | --------------- | ---------- | --------- | ---------------- |
| **V2R1** ✅ | 1 | 4,695 | 1,173.75 | **Best** | 13s | 4s |
| V2R2 | 1 | 4,772 | 1,193 | +1.64% | 13s | 4s |
| V3R1 | 1 | 4,843 | 1,210.75 | +3.15% | 13s | 4s |
| V3R2 | 1 | 4,920 | 1,230 | +4.79% | 13s | 4s |
| V4 | 1 | 5,234 | 1,308.5 | +11.48% | 13s | 4s |
| V5R1 | 1 | 7,090 | 1,772.5 | +51.01% | 13s | 4s |


<Note>
Optimal wallet selection based on batch size:

- **1–8 messages**: **V2R1** is the most efficient
- **9+ messages**: **V5R1** becomes the most efficient

V2R2, V3R1, V3R2, and V4 are never the most cost-effective option for any batch size. V5R1's ability to bundle up to 255 messages in a single transaction provides significant gas savings for larger batches.
</Note>

### Send 200 messages

| Wallet | Requests | Total gas | Gas per message | Difference | Real time | Theoretical time |
| ------ | -------- | --------- | --------------- | ---------- | --------- | ---------------- |
| V2R1 | 50 | 234,750 | 1,173.75 | +59.02% | 10m 50s | 3m 20s |
| V2R2 | 50 | 238,600 | 1,193 | +61.63% | 10m 50s | 3m 20s |
| V3R1 | 50 | 242,150 | 1,210.75 | +64.03% | 10m 50s | 3m 20s |
| V3R2 | 50 | 246,000 | 1,230 | +66.64% | 10m 50s | 3m 20s |
| V4 | 50 | 261,700 | 1,308.5 | +77.28% | 10m 50s | 3m 20s |
| **V5R1** ✅ | 1 | 147,622 | 738.11 | **Best** | 13s | 4s |


### Send 1,000 messages

| Wallet | Requests | Total gas | Gas per message | Difference | Real time | Theoretical time |
| ------ | -------- | --------- | --------------- | ---------- | --------- | ---------------- |
| V2R1 | 250 | 1,173,750 | 1,173.75 | +59.94% | 54m 10s | 16m 40s |
| V2R2 | 250 | 1,193,000 | 1,193 | +62.56% | 54m 10s | 16m 40s |
| V3R1 | 250 | 1,210,750 | 1,210.75 | +64.98% | 54m 10s | 16m 40s |
| V3R2 | 250 | 1,230,000 | 1,230 | +67.60% | 54m 10s | 16m 40s |
| V4 | 250 | 1,308,500 | 1,308.5 | +78.30% | 54m 10s | 16m 40s |
| **V5R1** ✅ | 4 | 733,888 | 733.89 | **Best** | 52s | 16s |


### Gas fee structure

<Note>
Message size affects only the `forward_fee` component, which covers the cost of forwarding the message through the network. The base transaction processing fee remains constant for each wallet type and does not depend on the size of the data being sent.
</Note>
Loading