Skip to content

Commit df05712

Browse files
committedMar 10, 2025
wip: fixing benches
1 parent f272001 commit df05712

7 files changed

+1004
-1081
lines changed
 

‎benches/results/metrics.txt

+30-30
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
# TYPE worker_manager_ops gauge
2-
worker_manager_ops{name="call overhead"} 854
3-
worker_manager_ops{name="parallel call overhead"} 439
4-
worker_manager_ops{name="parallel queue overhead"} 438
5-
worker_manager_ops{name="json stringify of 1 MiB of data"} 18
6-
worker_manager_ops{name="base64 of 1 MiB of data"} 3981
7-
worker_manager_ops{name="md5 Hash of 1 MiB of data"} 759
8-
worker_manager_ops{name="sha256 Hash of 1 MiB of data"} 1887
9-
worker_manager_ops{name="sha512 Hash of 1 MiB of data"} 676
10-
worker_manager_ops{name="transfer Overhead"} 793
11-
worker_manager_ops{name="slice-Copy of 1 MiB of data"} 8508
2+
worker_manager_ops{name="call overhead"} 778
3+
worker_manager_ops{name="parallel call overhead"} 395
4+
worker_manager_ops{name="parallel queue overhead"} 400
5+
worker_manager_ops{name="json stringify of 1 MiB of data"} 30
6+
worker_manager_ops{name="base64 of 1 MiB of data"} 5144
7+
worker_manager_ops{name="md5 Hash of 1 MiB of data"} 820
8+
worker_manager_ops{name="sha256 Hash of 1 MiB of data"} 1908
9+
worker_manager_ops{name="sha512 Hash of 1 MiB of data"} 788
10+
worker_manager_ops{name="transfer Overhead"} 1583
11+
worker_manager_ops{name="slice-Copy of 1 MiB of data"} 5795
1212

1313
# TYPE worker_manager_margin gauge
14-
worker_manager_margin{name="call overhead"} 0.55
15-
worker_manager_margin{name="parallel call overhead"} 0.53
16-
worker_manager_margin{name="parallel queue overhead"} 0.49
17-
worker_manager_margin{name="json stringify of 1 MiB of data"} 1.59
18-
worker_manager_margin{name="base64 of 1 MiB of data"} 2.71
19-
worker_manager_margin{name="md5 Hash of 1 MiB of data"} 1.1
20-
worker_manager_margin{name="sha256 Hash of 1 MiB of data"} 0.15
21-
worker_manager_margin{name="sha512 Hash of 1 MiB of data"} 0.74
22-
worker_manager_margin{name="transfer Overhead"} 0.61
23-
worker_manager_margin{name="slice-Copy of 1 MiB of data"} 1.33
14+
worker_manager_margin{name="call overhead"} 1.36
15+
worker_manager_margin{name="parallel call overhead"} 1.19
16+
worker_manager_margin{name="parallel queue overhead"} 0.82
17+
worker_manager_margin{name="json stringify of 1 MiB of data"} 5.79
18+
worker_manager_margin{name="base64 of 1 MiB of data"} 3.84
19+
worker_manager_margin{name="md5 Hash of 1 MiB of data"} 1.83
20+
worker_manager_margin{name="sha256 Hash of 1 MiB of data"} 0.81
21+
worker_manager_margin{name="sha512 Hash of 1 MiB of data"} 1.6
22+
worker_manager_margin{name="transfer Overhead"} 6.94
23+
worker_manager_margin{name="slice-Copy of 1 MiB of data"} 7.96
2424

2525
# TYPE worker_manager_samples counter
26-
worker_manager_samples{name="call overhead"} 88
27-
worker_manager_samples{name="parallel call overhead"} 85
28-
worker_manager_samples{name="parallel queue overhead"} 89
29-
worker_manager_samples{name="json stringify of 1 MiB of data"} 48
30-
worker_manager_samples{name="base64 of 1 MiB of data"} 71
31-
worker_manager_samples{name="md5 Hash of 1 MiB of data"} 93
32-
worker_manager_samples{name="sha256 Hash of 1 MiB of data"} 96
33-
worker_manager_samples{name="sha512 Hash of 1 MiB of data"} 94
34-
worker_manager_samples{name="transfer Overhead"} 84
35-
worker_manager_samples{name="slice-Copy of 1 MiB of data"} 88
26+
worker_manager_samples{name="call overhead"} 80
27+
worker_manager_samples{name="parallel call overhead"} 80
28+
worker_manager_samples{name="parallel queue overhead"} 80
29+
worker_manager_samples{name="json stringify of 1 MiB of data"} 55
30+
worker_manager_samples{name="base64 of 1 MiB of data"} 72
31+
worker_manager_samples{name="md5 Hash of 1 MiB of data"} 91
32+
worker_manager_samples{name="sha256 Hash of 1 MiB of data"} 93
33+
worker_manager_samples{name="sha512 Hash of 1 MiB of data"} 92
34+
worker_manager_samples{name="transfer Overhead"} 59
35+
worker_manager_samples{name="slice-Copy of 1 MiB of data"} 67

‎benches/results/system.json

+22-22
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
{
22
"cpu": {
3-
"manufacturer": "AMD",
4-
"brand": "Ryzen 7 2700X Eight-Core Processor",
5-
"vendor": "AMD",
6-
"family": "23",
7-
"model": "8",
3+
"manufacturer": "Intel",
4+
"brand": "Gen Intel® Core™ i7-1370P",
5+
"vendor": "Intel",
6+
"family": "6",
7+
"model": "186",
88
"stepping": "2",
99
"revision": "",
1010
"voltage": "",
11-
"speed": 3.7,
12-
"speedMin": 2.2,
13-
"speedMax": 3.7,
14-
"governor": "performance",
15-
"cores": 16,
16-
"physicalCores": 8,
17-
"performanceCores": 8,
18-
"efficiencyCores": 0,
11+
"speed": 1.62,
12+
"speedMin": 0.4,
13+
"speedMax": 5.2,
14+
"governor": "powersave",
15+
"cores": 20,
16+
"physicalCores": 14,
17+
"performanceCores": 6,
18+
"efficiencyCores": 8,
1919
"processors": 1,
2020
"socket": "",
21-
"flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate ssbd ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca sev sev_es",
21+
"flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect user_shstk avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq tme rdpid movdiri movdir64b fsrm md_clear serialize pconfig arch_lbr ibt flush_l1d arch_capabilities",
2222
"virtualization": true,
2323
"cache": {
24-
"l1d": 262144,
25-
"l1i": 524288,
26-
"l2": 4194304,
27-
"l3": 16777216
24+
"l1d": 557056,
25+
"l1i": 720896,
26+
"l2": 11534336,
27+
"l3": 25165824
2828
}
2929
},
3030
"osInfo": {
3131
"platform": "linux",
3232
"distro": "nixos",
33-
"release": "22.11",
34-
"kernel": "6.1.23",
33+
"release": "24.11",
34+
"kernel": "6.6.47",
3535
"arch": "x64"
3636
},
3737
"system": {
38-
"model": "System Product Name",
39-
"manufacturer": "System manufacturer"
38+
"model": "Precision 3480",
39+
"manufacturer": "Dell Inc."
4040
}
4141
}

‎benches/results/worker_manager.chart.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</head>
2929
<body>
3030
<div class="container">
31-
<canvas id="chart1687501360929" width="16" height="9"></canvas>
31+
<canvas id="chart1741583490433" width="16" height="9"></canvas>
3232
</div>
3333
<script>
3434
const format = (num) => {
@@ -51,18 +51,18 @@
5151
chunked.map((chunk) => chunk.join('')).join(' ') + fractionStr
5252
)
5353
}
54-
const ctx1687501360929 = document
55-
.getElementById('chart1687501360929')
54+
const ctx1741583490433 = document
55+
.getElementById('chart1741583490433')
5656
.getContext('2d')
57-
const chart1687501360929 = new Chart(ctx1687501360929, {
57+
const chart1741583490433 = new Chart(ctx1741583490433, {
5858
type: 'bar',
5959
data: {
6060
labels: ["call overhead","parallel call overhead","parallel queue overhead","json stringify of 1 MiB of data","base64 of 1 MiB of data","md5 Hash of 1 MiB of data","sha256 Hash of 1 MiB of data","sha512 Hash of 1 MiB of data","transfer Overhead","slice-Copy of 1 MiB of data"],
6161
datasets: [
6262
{
63-
data: [854,439,438,18,3981,759,1887,676,793,8508],
64-
backgroundColor: ["hsl(12.048000000000007, 85%, 55%)","hsl(6.191999999999996, 85%, 55%)","hsl(6.180000000000007, 85%, 55%)","hsl(0.2519999999999925, 85%, 55%)","hsl(56.147999999999996, 85%, 55%)","hsl(10.704000000000002, 85%, 55%)","hsl(26.61600000000001, 85%, 55%)","hsl(9.540000000000003, 85%, 55%)","hsl(11.183999999999992, 85%, 55%)","hsl(120, 85%, 55%)"],
65-
borderColor: ["hsl(12.048000000000007, 85%, 55%)","hsl(6.191999999999996, 85%, 55%)","hsl(6.180000000000007, 85%, 55%)","hsl(0.2519999999999925, 85%, 55%)","hsl(56.147999999999996, 85%, 55%)","hsl(10.704000000000002, 85%, 55%)","hsl(26.61600000000001, 85%, 55%)","hsl(9.540000000000003, 85%, 55%)","hsl(11.183999999999992, 85%, 55%)","hsl(120, 85%, 55%)"],
63+
data: [778,395,400,30,5144,820,1908,788,1583,5795],
64+
backgroundColor: ["hsl(16.116000000000007, 85%, 55%)","hsl(8.18399999999999, 85%, 55%)","hsl(8.280000000000008, 85%, 55%)","hsl(0.6239999999999952, 85%, 55%)","hsl(106.52399999999999, 85%, 55%)","hsl(16.980000000000008, 85%, 55%)","hsl(39.504, 85%, 55%)","hsl(16.319999999999993, 85%, 55%)","hsl(32.78399999999999, 85%, 55%)","hsl(120, 85%, 55%)"],
65+
borderColor: ["hsl(16.116000000000007, 85%, 55%)","hsl(8.18399999999999, 85%, 55%)","hsl(8.280000000000008, 85%, 55%)","hsl(0.6239999999999952, 85%, 55%)","hsl(106.52399999999999, 85%, 55%)","hsl(16.980000000000008, 85%, 55%)","hsl(39.504, 85%, 55%)","hsl(16.319999999999993, 85%, 55%)","hsl(32.78399999999999, 85%, 55%)","hsl(120, 85%, 55%)"],
6666
borderWidth: 2,
6767
},
6868
],

0 commit comments

Comments
 (0)