Skip to content

Commit 092caa5

Browse files
test
1 parent a464ed7 commit 092caa5

File tree

3 files changed

+151
-11
lines changed

3 files changed

+151
-11
lines changed

20240716/stress_test.log

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
Running with the following parameters:
2+
Devnet: devnet01
3+
Sub-accounts: 100
4+
Transactions: 100
5+
Mode: EOA
6+
Batch size: 1
7+
Duration: 1 seconds
8+
Node-IP:
9+
############
10+
https://rpc.devnet.storyprotocol.net
11+
Running load tests for https://rpc.devnet.storyprotocol.net
12+
start_time: 2024/07/16 08:26:25
13+
pandoras-box -url https://rpc.devnet.storyprotocol.net -m "erupt oven loud noise rug proof sunset gas table era dizzy vault" -s 100 -t 100 -b 1 --mode "EOA" -o output_EOA.json
14+
secp256k1 unavailable, reverting to browser version
15+
Current balance of 0xF62242F0e2adCd6FBA36292A073824Fc7746d9bC - latest: 775418469866077279390
16+
💸 Fund distribution initialized 💸
17+
18+
Cycle Cost Table:
19+
┌──────────────────────────┬───────────────────┐
20+
│ Name │ Cost [eth] │
21+
├──────────────────────────┼───────────────────┤
22+
│ Required acc. balance │ 0.0131500000147 │
23+
├──────────────────────────┼───────────────────┤
24+
│ Single distribution cost │ 0.000000000000021 │
25+
└──────────────────────────┴───────────────────┘
26+
27+
Fetching sub-account balances...
28+
✅ Accounts are fully funded for the cycle
29+
30+
Gathering initial account nonces...
31+
✅ Gathered initial nonce data
32+
33+
Chain ID: 1513
34+
Avg. gas price: 0x59682f07
35+
36+
Constructing value transfer transactions...
37+
✅ Successfully constructed 100 transactions
38+
39+
Signing transactions...
40+
✅ Successfully signed 100 transactions
41+
42+
⚡️ EOA to EOA transfers initialized ️⚡️
43+
44+
Sending transactions in batches...
45+
✅ 100 batches sent
46+
47+
⏱ Statistics calculation initialized ⏱
48+
49+
Gathering transaction receipts...
50+
✅ Gathered transaction receipts
51+
52+
Gathering block info...
53+
✅ Gathered block info
54+
55+
Block utilization data:
56+
┌─────────┬────────────────┬─────────────────┬──────────────┬─────────────┐
57+
│ Block # │ Gas Used [wei] │ Gas Limit [wei] │ Transactions │ Utilization │
58+
├─────────┼────────────────┼─────────────────┼──────────────┼─────────────┤
59+
│ 0x2b909 │ 0x200b20 │ 0x01c9c380 │ 100 │ 7% │
60+
└─────────┴────────────────┴─────────────────┴──────────────┴─────────────┘
61+
62+
🧮 Calculating TPS data 🧮
63+
64+
┌─────┬────────┬──────────────────┐
65+
│ TPS │ Blocks │ Avg. Utilization │
66+
├─────┼────────┼──────────────────┤
67+
│ 50 │ 1 │ 7.00% │
68+
└─────┴────────┴──────────────────┘
69+
70+
💾 Saving run results initialized 💾
71+
72+
✅ Run results saved to ./test-report/output_EOA.json
73+
start_time: 2024/07/16 08:26:25
74+
end_time: 2024/07/16 08:26:40

20240716/stress_test.txt

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
Running with the following parameters:
2+
Devnet: devnet01
3+
Sub-accounts: 100
4+
Transactions: 100
5+
Mode: EOA
6+
Batch size: 1
7+
Duration: 1 seconds
8+
Node-IP:
9+
############
10+
https://rpc.devnet.storyprotocol.net
11+
Running load tests for https://rpc.devnet.storyprotocol.net
12+
start_time: 2024/07/16 08:26:25
13+
pandoras-box -url https://rpc.devnet.storyprotocol.net -m "erupt oven loud noise rug proof sunset gas table era dizzy vault" -s 100 -t 100 -b 1 --mode "EOA" -o output_EOA.json
14+
secp256k1 unavailable, reverting to browser version
15+
Current balance of 0xF62242F0e2adCd6FBA36292A073824Fc7746d9bC - latest: 775418469866077279390
16+
💸 Fund distribution initialized 💸
17+
18+
Cycle Cost Table:
19+
┌──────────────────────────┬───────────────────┐
20+
│ Name │ Cost [eth] │
21+
├──────────────────────────┼───────────────────┤
22+
│ Required acc. balance │ 0.0131500000147 │
23+
├──────────────────────────┼───────────────────┤
24+
│ Single distribution cost │ 0.000000000000021 │
25+
└──────────────────────────┴───────────────────┘
26+
27+
Fetching sub-account balances...
28+
✅ Accounts are fully funded for the cycle
29+
30+
Gathering initial account nonces...
31+
✅ Gathered initial nonce data
32+
33+
Chain ID: 1513
34+
Avg. gas price: 0x59682f07
35+
36+
Constructing value transfer transactions...
37+
✅ Successfully constructed 100 transactions
38+
39+
Signing transactions...
40+
✅ Successfully signed 100 transactions
41+
42+
⚡️ EOA to EOA transfers initialized ️⚡️
43+
44+
Sending transactions in batches...
45+
✅ 100 batches sent
46+
47+
⏱ Statistics calculation initialized ⏱
48+
49+
Gathering transaction receipts...
50+
✅ Gathered transaction receipts
51+
52+
Gathering block info...
53+
✅ Gathered block info
54+
55+
Block utilization data:
56+
┌─────────┬────────────────┬─────────────────┬──────────────┬─────────────┐
57+
│ Block # │ Gas Used [wei] │ Gas Limit [wei] │ Transactions │ Utilization │
58+
├─────────┼────────────────┼─────────────────┼──────────────┼─────────────┤
59+
│ 0x2b909 │ 0x200b20 │ 0x01c9c380 │ 100 │ 7% │
60+
└─────────┴────────────────┴─────────────────┴──────────────┴─────────────┘
61+
62+
🧮 Calculating TPS data 🧮
63+
64+
┌─────┬────────┬──────────────────┐
65+
│ TPS │ Blocks │ Avg. Utilization │
66+
├─────┼────────┼──────────────────┤
67+
│ 50 │ 1 │ 7.00% │
68+
└─────┴────────┴──────────────────┘
69+
70+
💾 Saving run results initialized 💾
71+
72+
✅ Run results saved to ./test-report/output_EOA.json
73+
start_time: 2024/07/16 08:26:25
74+
end_time: 2024/07/16 08:26:40

l1-test-report.html

+3-11
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,7 @@
1919
document.getElementById("rewardsTest").src = dateFolder + "/pass_07-16-2024_091605_sdk-test-report.html";
2020
document.getElementById("stressTest1").src = dateFolder + "/output_EOA.json";
2121
document.getElementById("stressTest2").src = dateFolder + "/stress_test.log";
22-
fetch(dateFolder + "/stress_test.log")
23-
.then(response => response.text())
24-
.then(data => {
25-
document.getElementById("stressTest").textContent = data;
26-
})
27-
.catch(error => {
28-
console.error('Error fetching the log file:', error);
29-
document.getElementById("stressTest").textContent = "Error loading log file.";
30-
});
22+
document.getElementById("stressTest3").src = dateFolder + "/stress_test.txt";
3123
};
3224
</script>
3325

@@ -46,8 +38,8 @@ <h1>Stress1 Test</h1>
4638
<h1>Stress1 Test</h1>
4739
<iframe id="stressTest2" width="100%" height="600px"></iframe>
4840

49-
<h1>Stress Test</h1>
50-
<pre id="stressTest">Loading...</pre>
41+
<h1>Stress1 Test</h1>
42+
<iframe id="stressTest3" width="100%" height="600px"></iframe>
5143

5244
<!-- Add more report sections as needed -->
5345
</body>

0 commit comments

Comments
 (0)