Skip to content

Commit f4aaf5e

Browse files
auto commit
1 parent c49ffe2 commit f4aaf5e

File tree

2 files changed

+374
-2
lines changed

2 files changed

+374
-2
lines changed

db-esdk-performance-testing/benchmarks/go/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import (
1717

1818
func main() {
1919
// Parse command line arguments
20-
configPath := flag.String("config", "../../config/test-scenarios.yaml", "Path to test configuration file")
21-
outputPath := flag.String("output", "../../results/raw-data/go_results.json", "Path to output results file")
20+
configPath := flag.String("config", "../config/test-scenarios.yaml", "Path to test configuration file")
21+
outputPath := flag.String("output", "../results/raw-data/go_results.json", "Path to output results file")
2222
quick := flag.Bool("quick", false, "Run quick test with reduced iterations")
2323
flag.Parse()
2424

Lines changed: 372 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,372 @@
1+
{
2+
"metadata": {
3+
"cpu_count": 10,
4+
"go_version": "go1.24.4",
5+
"language": "go",
6+
"timestamp": "2025-09-06 14:52:25",
7+
"total_memory_gb": 32,
8+
"total_tests": 18
9+
},
10+
"results": [
11+
{
12+
"test_name": "throughput",
13+
"language": "go",
14+
"data_size": 1024,
15+
"concurrency": 1,
16+
"put_latency_ms": 1.7174125,
17+
"get_latency_ms": 1.3320956,
18+
"end_to_end_latency_ms": 3.0563126,
19+
"ops_per_second": 323.90106441987297,
20+
"bytes_per_second": 331674.6899659499,
21+
"peak_memory_mb": 0,
22+
"memory_efficiency_ratio": 0,
23+
"p50_latency": 2.104566795,
24+
"p95_latency": 2.1090522105,
25+
"p99_latency": 2.1094509141,
26+
"timestamp": "2025-09-06 14:49:30",
27+
"go_version": "go1.24.4",
28+
"cpu_count": 10,
29+
"total_memory_gb": 32
30+
},
31+
{
32+
"test_name": "throughput",
33+
"language": "go",
34+
"data_size": 5120,
35+
"concurrency": 1,
36+
"put_latency_ms": 1.7436083,
37+
"get_latency_ms": 1.3964208,
38+
"end_to_end_latency_ms": 3.1482707,
39+
"ops_per_second": 313.9762574921799,
40+
"bytes_per_second": 1607558.4383599614,
41+
"peak_memory_mb": 0,
42+
"memory_efficiency_ratio": 0,
43+
"p50_latency": 2.263740545,
44+
"p95_latency": 2.2790698354999996,
45+
"p99_latency": 2.2804324391,
46+
"timestamp": "2025-09-06 14:49:30",
47+
"go_version": "go1.24.4",
48+
"cpu_count": 10,
49+
"total_memory_gb": 32
50+
},
51+
{
52+
"test_name": "throughput",
53+
"language": "go",
54+
"data_size": 10240,
55+
"concurrency": 1,
56+
"put_latency_ms": 1.8149830999999998,
57+
"get_latency_ms": 1.168129,
58+
"end_to_end_latency_ms": 2.9888413999999996,
59+
"ops_per_second": 331.87080083875696,
60+
"bytes_per_second": 3398357.0005888715,
61+
"peak_memory_mb": 0,
62+
"memory_efficiency_ratio": 0,
63+
"p50_latency": 2.7293562349999996,
64+
"p95_latency": 2.7354143465,
65+
"p99_latency": 2.7359528453,
66+
"timestamp": "2025-09-06 14:49:30",
67+
"go_version": "go1.24.4",
68+
"cpu_count": 10,
69+
"total_memory_gb": 32
70+
},
71+
{
72+
"test_name": "throughput",
73+
"language": "go",
74+
"data_size": 102400,
75+
"concurrency": 1,
76+
"put_latency_ms": 4.7371375,
77+
"get_latency_ms": 3.6764208,
78+
"end_to_end_latency_ms": 8.430304099999999,
79+
"ops_per_second": 118.02943949294553,
80+
"bytes_per_second": 12086214.604077622,
81+
"peak_memory_mb": 0,
82+
"memory_efficiency_ratio": 0,
83+
"p50_latency": 7.6777355,
84+
"p95_latency": 7.685410249999999,
85+
"p99_latency": 7.68609245,
86+
"timestamp": "2025-09-06 14:49:30",
87+
"go_version": "go1.24.4",
88+
"cpu_count": 10,
89+
"total_memory_gb": 32
90+
},
91+
{
92+
"test_name": "throughput",
93+
"language": "go",
94+
"data_size": 512000,
95+
"concurrency": 1,
96+
"put_latency_ms": 18.841974800000003,
97+
"get_latency_ms": 10.8928624,
98+
"end_to_end_latency_ms": 29.7788748,
99+
"ops_per_second": 33.5067259491787,
100+
"bytes_per_second": 17155443.685979493,
101+
"peak_memory_mb": 0,
102+
"memory_efficiency_ratio": 0,
103+
"p50_latency": 24.715475,
104+
"p95_latency": 24.721752499999997,
105+
"p99_latency": 24.722310500000003,
106+
"timestamp": "2025-09-06 14:49:31",
107+
"go_version": "go1.24.4",
108+
"cpu_count": 10,
109+
"total_memory_gb": 32
110+
},
111+
{
112+
"test_name": "throughput",
113+
"language": "go",
114+
"data_size": 1048576,
115+
"concurrency": 1,
116+
"put_latency_ms": 30.499370799999998,
117+
"get_latency_ms": 23.271137600000003,
118+
"end_to_end_latency_ms": 53.82045839999999,
119+
"ops_per_second": 18.561928510124485,
120+
"bytes_per_second": 19463592.74943229,
121+
"peak_memory_mb": 0,
122+
"memory_efficiency_ratio": 0,
123+
"p50_latency": 45.853811279999995,
124+
"p95_latency": 45.935766432,
125+
"p99_latency": 45.943051334399996,
126+
"timestamp": "2025-09-06 14:49:31",
127+
"go_version": "go1.24.4",
128+
"cpu_count": 10,
129+
"total_memory_gb": 32
130+
},
131+
{
132+
"test_name": "throughput",
133+
"language": "go",
134+
"data_size": 10485760,
135+
"concurrency": 1,
136+
"put_latency_ms": 284.17867079999996,
137+
"get_latency_ms": 188.6229376,
138+
"end_to_end_latency_ms": 473.1885916000001,
139+
"ops_per_second": 2.113069801747077,
140+
"bytes_per_second": 22157142.804367427,
141+
"peak_memory_mb": 0,
142+
"memory_efficiency_ratio": 0,
143+
"p50_latency": 364.388903515,
144+
"p95_latency": 364.43017977849996,
145+
"p99_latency": 364.4338487797,
146+
"timestamp": "2025-09-06 14:49:39",
147+
"go_version": "go1.24.4",
148+
"cpu_count": 10,
149+
"total_memory_gb": 32
150+
},
151+
{
152+
"test_name": "throughput",
153+
"language": "go",
154+
"data_size": 52428800,
155+
"concurrency": 1,
156+
"put_latency_ms": 1436.6804917,
157+
"get_latency_ms": 853.1655126000002,
158+
"end_to_end_latency_ms": 2291.8107959,
159+
"ops_per_second": 0.436324417138726,
160+
"bytes_per_second": 22875965.60128284,
161+
"peak_memory_mb": 0,
162+
"memory_efficiency_ratio": 0,
163+
"p50_latency": 1723.097458,
164+
"p95_latency": 1726.0073830000001,
165+
"p99_latency": 1726.266043,
166+
"timestamp": "2025-09-06 14:50:13",
167+
"go_version": "go1.24.4",
168+
"cpu_count": 10,
169+
"total_memory_gb": 32
170+
},
171+
{
172+
"test_name": "throughput",
173+
"language": "go",
174+
"data_size": 104857600,
175+
"concurrency": 1,
176+
"put_latency_ms": 3284.883158400001,
177+
"get_latency_ms": 2420.3637873999996,
178+
"end_to_end_latency_ms": 5728.687533400001,
179+
"ops_per_second": 0.17455816568065233,
180+
"bytes_per_second": 18303750.313675568,
181+
"peak_memory_mb": 0,
182+
"memory_efficiency_ratio": 0,
183+
"p50_latency": 4542.684611219999,
184+
"p95_latency": 4579.399761317999,
185+
"p99_latency": 4582.6633302156,
186+
"timestamp": "2025-09-06 14:51:42",
187+
"go_version": "go1.24.4",
188+
"cpu_count": 10,
189+
"total_memory_gb": 32
190+
},
191+
{
192+
"test_name": "memory",
193+
"language": "go",
194+
"data_size": 1024,
195+
"concurrency": 1,
196+
"put_latency_ms": 0,
197+
"get_latency_ms": 0,
198+
"end_to_end_latency_ms": 0,
199+
"ops_per_second": 0,
200+
"bytes_per_second": 0,
201+
"peak_memory_mb": 0.6713943481445312,
202+
"memory_efficiency_ratio": 0.0021415712440521206,
203+
"p50_latency": 0,
204+
"p95_latency": 0,
205+
"p99_latency": 0,
206+
"timestamp": "2025-09-06 14:51:42",
207+
"go_version": "go1.24.4",
208+
"cpu_count": 10,
209+
"total_memory_gb": 32
210+
},
211+
{
212+
"test_name": "memory",
213+
"language": "go",
214+
"data_size": 5120,
215+
"concurrency": 1,
216+
"put_latency_ms": 0,
217+
"get_latency_ms": 0,
218+
"end_to_end_latency_ms": 0,
219+
"ops_per_second": 0,
220+
"bytes_per_second": 0,
221+
"peak_memory_mb": 1.2037811279296875,
222+
"memory_efficiency_ratio": 0.005625819699510906,
223+
"p50_latency": 0,
224+
"p95_latency": 0,
225+
"p99_latency": 0,
226+
"timestamp": "2025-09-06 14:51:42",
227+
"go_version": "go1.24.4",
228+
"cpu_count": 10,
229+
"total_memory_gb": 32
230+
},
231+
{
232+
"test_name": "memory",
233+
"language": "go",
234+
"data_size": 10240,
235+
"concurrency": 1,
236+
"put_latency_ms": 0,
237+
"get_latency_ms": 0,
238+
"end_to_end_latency_ms": 0,
239+
"ops_per_second": 0,
240+
"bytes_per_second": 0,
241+
"peak_memory_mb": 1.7346038818359375,
242+
"memory_efficiency_ratio": 0.007804173769684199,
243+
"p50_latency": 0,
244+
"p95_latency": 0,
245+
"p99_latency": 0,
246+
"timestamp": "2025-09-06 14:51:42",
247+
"go_version": "go1.24.4",
248+
"cpu_count": 10,
249+
"total_memory_gb": 32
250+
},
251+
{
252+
"test_name": "memory",
253+
"language": "go",
254+
"data_size": 102400,
255+
"concurrency": 1,
256+
"put_latency_ms": 0,
257+
"get_latency_ms": 0,
258+
"end_to_end_latency_ms": 0,
259+
"ops_per_second": 0,
260+
"bytes_per_second": 0,
261+
"peak_memory_mb": 10.267852783203125,
262+
"memory_efficiency_ratio": 0.016467955210732743,
263+
"p50_latency": 0,
264+
"p95_latency": 0,
265+
"p99_latency": 0,
266+
"timestamp": "2025-09-06 14:51:42",
267+
"go_version": "go1.24.4",
268+
"cpu_count": 10,
269+
"total_memory_gb": 32
270+
},
271+
{
272+
"test_name": "memory",
273+
"language": "go",
274+
"data_size": 512000,
275+
"concurrency": 1,
276+
"put_latency_ms": 0,
277+
"get_latency_ms": 0,
278+
"end_to_end_latency_ms": 0,
279+
"ops_per_second": 0,
280+
"bytes_per_second": 0,
281+
"peak_memory_mb": 50.350738525390625,
282+
"memory_efficiency_ratio": 0.01711402452553535,
283+
"p50_latency": 0,
284+
"p95_latency": 0,
285+
"p99_latency": 0,
286+
"timestamp": "2025-09-06 14:51:43",
287+
"go_version": "go1.24.4",
288+
"cpu_count": 10,
289+
"total_memory_gb": 32
290+
},
291+
{
292+
"test_name": "memory",
293+
"language": "go",
294+
"data_size": 1048576,
295+
"concurrency": 1,
296+
"put_latency_ms": 0,
297+
"get_latency_ms": 0,
298+
"end_to_end_latency_ms": 0,
299+
"ops_per_second": 0,
300+
"bytes_per_second": 0,
301+
"peak_memory_mb": 102.61759948730469,
302+
"memory_efficiency_ratio": 0.017131056275642438,
303+
"p50_latency": 0,
304+
"p95_latency": 0,
305+
"p99_latency": 0,
306+
"timestamp": "2025-09-06 14:51:43",
307+
"go_version": "go1.24.4",
308+
"cpu_count": 10,
309+
"total_memory_gb": 32
310+
},
311+
{
312+
"test_name": "memory",
313+
"language": "go",
314+
"data_size": 10485760,
315+
"concurrency": 1,
316+
"put_latency_ms": 0,
317+
"get_latency_ms": 0,
318+
"end_to_end_latency_ms": 0,
319+
"ops_per_second": 0,
320+
"bytes_per_second": 0,
321+
"peak_memory_mb": 1000.1706314086914,
322+
"memory_efficiency_ratio": 0.03033901317413952,
323+
"p50_latency": 0,
324+
"p95_latency": 0,
325+
"p99_latency": 0,
326+
"timestamp": "2025-09-06 14:51:45",
327+
"go_version": "go1.24.4",
328+
"cpu_count": 10,
329+
"total_memory_gb": 32
330+
},
331+
{
332+
"test_name": "memory",
333+
"language": "go",
334+
"data_size": 52428800,
335+
"concurrency": 1,
336+
"put_latency_ms": 0,
337+
"get_latency_ms": 0,
338+
"end_to_end_latency_ms": 0,
339+
"ops_per_second": 0,
340+
"bytes_per_second": 0,
341+
"peak_memory_mb": 5000.346694946289,
342+
"memory_efficiency_ratio": 0.02773221478826035,
343+
"p50_latency": 0,
344+
"p95_latency": 0,
345+
"p99_latency": 0,
346+
"timestamp": "2025-09-06 14:51:55",
347+
"go_version": "go1.24.4",
348+
"cpu_count": 10,
349+
"total_memory_gb": 32
350+
},
351+
{
352+
"test_name": "memory",
353+
"language": "go",
354+
"data_size": 104857600,
355+
"concurrency": 1,
356+
"put_latency_ms": 0,
357+
"get_latency_ms": 0,
358+
"end_to_end_latency_ms": 0,
359+
"ops_per_second": 0,
360+
"bytes_per_second": 0,
361+
"peak_memory_mb": 10000.726448059082,
362+
"memory_efficiency_ratio": 0.022509158228733804,
363+
"p50_latency": 0,
364+
"p95_latency": 0,
365+
"p99_latency": 0,
366+
"timestamp": "2025-09-06 14:52:25",
367+
"go_version": "go1.24.4",
368+
"cpu_count": 10,
369+
"total_memory_gb": 32
370+
}
371+
]
372+
}

0 commit comments

Comments
 (0)