Skip to content

Commit a0f149c

Browse files
committed
benchmarking: finish refactor
1 parent c41d1d0 commit a0f149c

File tree

3 files changed

+440
-463
lines changed

3 files changed

+440
-463
lines changed

e2e-tests/utils/benchmarks/jupyter/analyze_tx_logs-christos.ipynb

Lines changed: 45 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -10,39 +10,39 @@
1010
},
1111
{
1212
"cell_type": "code",
13-
"execution_count": 1,
13+
"execution_count": 3,
1414
"id": "20bf26fd-2c00-4b73-80ff-2f820431411c",
1515
"metadata": {},
1616
"outputs": [
1717
{
1818
"name": "stdout",
1919
"output_type": "stream",
2020
"text": [
21-
"Scanning logs in: /home/christos/IOHK/repos/partner-chains/e2e-tests/utils/benchmarks/logs/from_2026-01-29_12-54-39_to_2026-01-29_13-27-46/\n",
22-
"\n",
23-
"ferdie: 245 distinct Validated transactions\n",
24-
"george: 219 distinct Validated transactions\n",
25-
"henry: 218 distinct Validated transactions\n",
26-
"iris: 222 distinct Validated transactions\n",
27-
"jack: 219 distinct Validated transactions\n",
28-
"paul: 220 distinct Validated transactions\n",
29-
"quinn: 235 distinct Validated transactions\n",
30-
"rita: 222 distinct Validated transactions\n",
31-
"sam: 219 distinct Validated transactions\n",
32-
"tom: 236 distinct Validated transactions\n",
33-
"alice: 175 distinct Validated transactions\n",
34-
"bob: 164 distinct Validated transactions\n",
35-
"charlie: 214 distinct Validated transactions\n",
36-
"dave: 159 distinct Validated transactions\n",
37-
"eve: 169 distinct Validated transactions\n",
38-
"kate: 158 distinct Validated transactions\n",
39-
"leo: 183 distinct Validated transactions\n",
40-
"mike: 159 distinct Validated transactions\n",
41-
"nina: 163 distinct Validated transactions\n",
42-
"oliver: 163 distinct Validated transactions\n",
21+
"Scanning logs in: /Users/larry/Project/iohk/partner-chains/e2e-tests/utils/benchmarks/logs/from_2026-02-02_15-56-39_to_2026-02-02_16-03-39/\n",
22+
"\n",
23+
"ferdie: 211 distinct Validated transactions\n",
24+
"george: 212 distinct Validated transactions\n",
25+
"henry: 213 distinct Validated transactions\n",
26+
"iris: 206 distinct Validated transactions\n",
27+
"jack: 199 distinct Validated transactions\n",
28+
"paul: 210 distinct Validated transactions\n",
29+
"quinn: 198 distinct Validated transactions\n",
30+
"rita: 209 distinct Validated transactions\n",
31+
"sam: 211 distinct Validated transactions\n",
32+
"tom: 200 distinct Validated transactions\n",
33+
"alice: 169 distinct Validated transactions\n",
34+
"bob: 180 distinct Validated transactions\n",
35+
"charlie: 181 distinct Validated transactions\n",
36+
"dave: 185 distinct Validated transactions\n",
37+
"eve: 184 distinct Validated transactions\n",
38+
"kate: 182 distinct Validated transactions\n",
39+
"leo: 184 distinct Validated transactions\n",
40+
"mike: 184 distinct Validated transactions\n",
41+
"nina: 181 distinct Validated transactions\n",
42+
"oliver: 178 distinct Validated transactions\n",
4343
"\n",
4444
"==================================================\n",
45-
"TOTAL DISTINCT TRANSACTIONS ACROSS ALL NODES: 509\n",
45+
"TOTAL DISTINCT TRANSACTIONS ACROSS ALL NODES: 305\n",
4646
"==================================================\n"
4747
]
4848
}
@@ -80,7 +80,10 @@
8080
"Jan28_registrations_etc = '/home/christos/IOHK/repos/partner-chains/e2e-tests/utils/benchmarks/logs/from_2026-01-28_18-48-54_to_2026-01-28_19-01-56/'\n",
8181
"Jan29_aura_logs = '/home/christos/IOHK/repos/partner-chains/e2e-tests/utils/benchmarks/logs/from_2026-01-29_12-54-39_to_2026-01-29_13-27-46/'\n",
8282
"# Set active log directory here\n",
83-
"LOG_DIR = Jan29_aura_logs\n",
83+
"{\"from\":\"2026-02-02 15:56:39\",\"to\":\"2026-02-02 16:03:39\"}\n",
84+
"larrys_logs = '/Users/larry/Project/iohk/partner-chains/e2e-tests/utils/benchmarks/logs/from_2026-02-02_15-56-39_to_2026-02-02_16-03-39/'\n",
85+
"\n",
86+
"LOG_DIR = larrys_logs\n",
8487
"\n",
8588
"RELAYS = [\"ferdie\", \"george\", \"henry\", \"iris\", \"jack\", \"paul\", \"quinn\", \"rita\", \"sam\", \"tom\"]\n",
8689
"BLOCK_PRODUCERS = [\"alice\", \"bob\", \"charlie\", \"dave\", \"eve\", \"kate\", \"leo\", \"mike\", \"nina\", \"oliver\"]\n",
@@ -152,84 +155,34 @@
152155
},
153156
{
154157
"cell_type": "code",
155-
"execution_count": 2,
158+
"execution_count": 5,
156159
"id": "ff80316b-3214-4fee-ae03-22fcfa29cb4f",
157160
"metadata": {},
158161
"outputs": [
159162
{
160163
"name": "stdout",
161164
"output_type": "stream",
162165
"text": [
163-
"Scanning logs in: /home/christos/IOHK/repos/partner-chains/e2e-tests/utils/benchmarks/logs/from_2026-01-29_12-54-39_to_2026-01-29_13-27-46/\n",
166+
"Scanning logs in: /Users/larry/Project/iohk/partner-chains/e2e-tests/utils/benchmarks/logs/from_2026-02-02_15-56-39_to_2026-02-02_16-03-39/\n",
164167
"\n",
165168
"BLOCK | USER TXS | CREATED AT | FINALIZED AT \n",
166169
"---------------------------------------------------------------------------\n",
167-
"15662 | 3 | 2026-01-29 17:55:06.192000 | 2026-01-29 17:55:21.738000\n",
168-
"15674 | 3 | 2026-01-29 17:56:18.736000 | 2026-01-29 17:56:31.744000\n",
169-
"15704 | 10 | 2026-01-29 17:59:18.424000 | 2026-01-29 17:59:31.760000\n",
170-
"15708 | 10 | 2026-01-29 17:59:42.440000 | 2026-01-29 17:59:56.762000\n",
171-
"15710 | 1 | 2026-01-29 17:59:54.185000 | 2026-01-29 18:00:08.889000\n",
172-
"15711 | 1 | 2026-01-29 18:00:00.286000 | 2026-01-29 18:00:14.161000\n",
173-
"15712 | 10 | 2026-01-29 18:00:06.424000 | 2026-01-29 18:00:19.540000\n",
174-
"15727 | 3 | 2026-01-29 18:01:36.157000 | 2026-01-29 18:01:51.891000\n",
175-
"15757 | 6 | 2026-01-29 18:04:37.091000 | 2026-01-29 18:04:51.931000\n",
176-
"15761 | 1 | 2026-01-29 18:05:00.487000 | 2026-01-29 18:05:13.923000\n",
177-
"15764 | 4 | 2026-01-29 18:05:19.137000 | 2026-01-29 18:05:33.925000\n",
178-
"15766 | 2 | 2026-01-29 18:05:30.774000 | 2026-01-29 18:05:44.610000\n",
179-
"15767 | 1 | 2026-01-29 18:05:36.472000 | 2026-01-29 18:05:49.820000\n",
180-
"15770 | 1 | 2026-01-29 18:05:54.629000 | 2026-01-29 18:06:08.929000\n",
181-
"15771 | 1 | 2026-01-29 18:06:00.548000 | 2026-01-29 18:06:15.329000\n",
182-
"15773 | 1 | 2026-01-29 18:06:12.455000 | 2026-01-29 18:06:27.677000\n",
183-
"15775 | 1 | 2026-01-29 18:06:24.437000 | 2026-01-29 18:06:38.932000\n",
184-
"15776 | 1 | 2026-01-29 18:06:30.417000 | 2026-01-29 18:06:44.825000\n",
185-
"15778 | 1 | 2026-01-29 18:06:42.386000 | 2026-01-29 18:06:56.798000\n",
186-
"15779 | 1 | 2026-01-29 18:06:48.405000 | 2026-01-29 18:07:02.680000\n",
187-
"15781 | 1 | 2026-01-29 18:07:00.341000 | 2026-01-29 18:07:14.632000\n",
188-
"15782 | 1 | 2026-01-29 18:07:06.398000 | 2026-01-29 18:07:21.800000\n",
189-
"15784 | 1 | 2026-01-29 18:07:18.408000 | 2026-01-29 18:07:31.801000\n",
190-
"15787 | 1 | 2026-01-29 18:07:36.295000 | 2026-01-29 18:07:51.803000\n",
191-
"15790 | 1 | 2026-01-29 18:07:54.464000 | 2026-01-29 18:08:08.942000\n",
192-
"15794 | 1 | 2026-01-29 18:08:18.393000 | 2026-01-29 18:08:32.687000\n",
193-
"15797 | 1 | 2026-01-29 18:08:36.246000 | 2026-01-29 18:08:49.658000\n",
194-
"15800 | 1 | 2026-01-29 18:08:54.342000 | 2026-01-29 18:09:08.948000\n",
195-
"15803 | 1 | 2026-01-29 18:09:12.263000 | 2026-01-29 18:09:26.811000\n",
196-
"15806 | 1 | 2026-01-29 18:09:30.357000 | 2026-01-29 18:09:43.952000\n",
197-
"15809 | 1 | 2026-01-29 18:09:48.346000 | 2026-01-29 18:10:02.008000\n",
198-
"15813 | 1 | 2026-01-29 18:10:12.239000 | 2026-01-29 18:10:26.817000\n",
199-
"15816 | 1 | 2026-01-29 18:10:30.220000 | 2026-01-29 18:10:43.958000\n",
200-
"15819 | 1 | 2026-01-29 18:10:48.350000 | 2026-01-29 18:11:02.699000\n",
201-
"15822 | 1 | 2026-01-29 18:11:06.323000 | 2026-01-29 18:11:19.848000\n",
202-
"15825 | 1 | 2026-01-29 18:11:24.357000 | 2026-01-29 18:11:37.702000\n",
203-
"15828 | 1 | 2026-01-29 18:11:42.314000 | 2026-01-29 18:11:56.824000\n",
204-
"15831 | 1 | 2026-01-29 18:12:00.309000 | 2026-01-29 18:12:13.967000\n",
205-
"15834 | 1 | 2026-01-29 18:12:18.352000 | 2026-01-29 18:12:32.707000\n",
206-
"15837 | 1 | 2026-01-29 18:12:36.272000 | 2026-01-29 18:12:49.709000\n",
207-
"15840 | 1 | 2026-01-29 18:12:54.240000 | 2026-01-29 18:13:07.710000\n",
208-
"15844 | 1 | 2026-01-29 18:13:18.383000 | 2026-01-29 18:13:31.832000\n",
209-
"15847 | 1 | 2026-01-29 18:13:36.255000 | 2026-01-29 18:13:50.211000\n",
210-
"15850 | 1 | 2026-01-29 18:13:54.357000 | 2026-01-29 18:14:07.715000\n",
211-
"15853 | 1 | 2026-01-29 18:14:12.244000 | 2026-01-29 18:14:26.837000\n",
212-
"15857 | 1 | 2026-01-29 18:14:36.269000 | 2026-01-29 18:14:51.839000\n",
213-
"15861 | 1 | 2026-01-29 18:15:00.347000 | 2026-01-29 18:15:14.742000\n",
214-
"15862 | 2 | 2026-01-29 18:15:06.588000 | 2026-01-29 18:15:21.841000\n",
215-
"15863 | 1 | 2026-01-29 18:15:12.299000 | 2026-01-29 18:15:25.391000\n",
216-
"15864 | 1 | 2026-01-29 18:15:18.443000 | 2026-01-29 18:15:32.075000\n",
217-
"15866 | 1 | 2026-01-29 18:15:30.355000 | 2026-01-29 18:15:44.262000\n",
218-
"15872 | 2 | 2026-01-29 18:16:06.634000 | 2026-01-29 18:16:20.397000\n",
219-
"15909 | 3 | 2026-01-29 18:19:48.233000 | 2026-01-29 18:20:01.865000\n",
220-
"15922 | 3 | 2026-01-29 18:21:06.833000 | 2026-01-29 18:21:19.826000\n",
221-
"15934 | 6 | 2026-01-29 18:22:18.362000 | 2026-01-29 18:22:32.172000\n",
222-
"15947 | 6 | 2026-01-29 18:23:37.099000 | 2026-01-29 18:23:49.860000\n",
223-
"15959 | 2 | 2026-01-29 18:24:48.187000 | 2026-01-29 18:25:02.770000\n",
224-
"15960 | 3 | 2026-01-29 18:24:54.240000 | 2026-01-29 18:25:07.771000\n",
225-
"15973 | 5 | 2026-01-29 18:26:12.937000 | 2026-01-29 18:26:25.463000\n",
170+
"75000 | 12 | 2026-02-02 20:57:09.830000 | 2026-02-02 20:58:39.221000\n",
171+
"75001 | 32 | 2026-02-02 20:57:32.895000 | 2026-02-02 20:59:51.252000\n",
172+
"75002 | 9 | 2026-02-02 20:58:10.632000 | 2026-02-02 20:59:53.086000\n",
173+
"75003 | 1 | 2026-02-02 20:58:48.530000 | 2026-02-02 21:00:04.105000\n",
174+
"75005 | 1 | 2026-02-02 20:59:57.909000 | 2026-02-02 21:00:29.107000\n",
175+
"75006 | 12 | 2026-02-02 21:00:08.885000 | 2026-02-02 21:00:32.128000\n",
176+
"75009 | 4 | 2026-02-02 21:00:31.479000 | 2026-02-02 21:00:52.130000\n",
177+
"75017 | 9 | 2026-02-02 21:01:27.661000 | 2026-02-02 21:01:57.518000\n",
178+
"75018 | 3 | 2026-02-02 21:01:44.213000 | 2026-02-02 21:02:02.518000\n",
226179
"---------------------------------------------------------------------------\n",
227-
"TOTAL_TXS_VALIDATED: 124\n",
228-
"MAX_TXS_IN_SINGLE_BLOCK: 10\n",
180+
"TOTAL_TXS_VALIDATED: 83\n",
181+
"MAX_TXS_IN_SINGLE_BLOCK: 32\n",
229182
"\n",
230-
"Time Duration (First Block Start -> Last Block Finalized): 1879.271 seconds\n",
231-
"Start Block (15662): 2026-01-29 17:55:06.192000\n",
232-
"End Block (15973): 2026-01-29 18:26:25.463000\n"
183+
"Time Duration (First Block Start -> Last Block Finalized): 292.688 seconds\n",
184+
"Start Block (75000): 2026-02-02 20:57:09.830000\n",
185+
"End Block (75018): 2026-02-02 21:02:02.518000\n"
233186
]
234187
}
235188
],
@@ -18126,7 +18079,7 @@
1812618079
"name": "python",
1812718080
"nbconvert_exporter": "python",
1812818081
"pygments_lexer": "ipython3",
18129-
"version": "3.13.1"
18082+
"version": "3.14.2"
1813018083
}
1813118084
},
1813218085
"nbformat": 4,

0 commit comments

Comments
 (0)