From 68ade36d60486a21dad28cd633aa0c7d9c5e0e20 Mon Sep 17 00:00:00 2001 From: skywardboundd Date: Fri, 31 Oct 2025 17:13:12 +0300 Subject: [PATCH] upd(comparison): add v2-v5 comparison benchmark --- standard/wallets/comparison.mdx | 73 +++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/standard/wallets/comparison.mdx b/standard/wallets/comparison.mdx index b4091f22a..5c845f3e5 100644 --- a/standard/wallets/comparison.mdx +++ b/standard/wallets/comparison.mdx @@ -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. + + +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. + + +### 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 | + + + +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. + + +### 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 + + +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. + \ No newline at end of file