kedixa / test

测试
https://blog.kedixa.top/
GNU General Public License v2.0
0 stars 1 forks source link

test issue #4

Open kedixa opened 5 months ago

github-actions[bot] commented 4 months ago

👋 Thanks for reporting!

github-actions[bot] commented 4 months ago

Bench Go

name cost go per sec
wf_go_one_name 1775 1126760
wf_go_five_name 722 2770083
wf_go_ten_name 655 3053435
---------------- -------- --------------
go_one_name 1847 1082837
go_five_name 723 2766251
go_ten_name 636 3144654
---------------- -------- --------------
switch_one_name 2340 854700
switch_five_name 732 2732240
switch_ten_name 648 3086419

Bench Timer

name cost sleep per sec
wf_repeat 925 2162162
default_timer 946 2114164
dismiss_timer 66 30303030
coke_cost 141 14184397
---------------- -------- --------------
timer_by_name 3504 570776
cancel_by_name 1557 1284521
dismiss_by_name 698 2865329
detach_by_name 4729 422922
detach3_by_name 5006 192361
one_name 1355 1476014
two_name 1318 1517450
ten_name 1425 1403508
name_one_by_one 2028 986193
---------------- -------- --------------
timer_by_id 1598 1251564
cancel_by_id 5014 363348
dismiss_by_id 145 13793103
detach_by_id 2480 806451
detach3_by_id 5005 247110
detach_inf_by_id 5001 137473
detach3_inf_by_id 5001 48568
one_id 1441 1387925
two_id 1203 1662510
ten_id 1109 1803426
id_one_by_one 2280 877192
github-actions[bot] commented 4 months ago

Benchmark

The benchmark runs in Github Actions

Environment

Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      48 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             4
On-line CPU(s) list:                0-3
Vendor ID:                          AuthenticAMD
Model name:                         AMD EPYC 7763 64-Core Processor
CPU family:                         25
Model:                              1
Thread(s) per core:                 2
Core(s) per socket:                 2
Socket(s):                          1
Stepping:                           1
BogoMIPS:                           4890.86
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 tsc_reliable nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext invpcid_single vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr rdpru arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload umip vaes vpclmulqdq rdpid fsrm
Virtualization:                     AMD-V
Hypervisor vendor:                  Microsoft
Virtualization type:                full
L1d cache:                          64 KiB (2 instances)
L1i cache:                          64 KiB (2 instances)
L2 cache:                           1 MiB (2 instances)
L3 cache:                           32 MiB (1 instance)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0-3
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Not affected
Vulnerability Retbleed:             Not affected
Vulnerability Spec rstack overflow: Vulnerable: Safe RET, no microcode
Vulnerability Spec store bypass:    Vulnerable
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Not affected
RANGE                                 SIZE  STATE REMOVABLE  BLOCK
0x0000000000000000-0x000000003fffffff   1G online       yes    0-7
0x0000000100000000-0x00000004bfffffff  15G online       yes 32-151

Memory block size:       128M
Total online memory:      16G
Total offline memory:      0B

Go

name cost go per sec
wf_go_one_name 1882 1062699
wf_go_five_name 749 2670226
wf_go_ten_name 677 2954209
---------------- -------- --------------
go_one_name 1841 1086366
go_five_name 766 2610966
go_ten_name 670 2985074
---------------- -------- --------------
switch_one_name 2238 893655
switch_five_name 754 2652519
switch_ten_name 650 3076923

Timer

name cost sleep per sec
wf_repeat 966 2070393
default_timer 957 2089864
dismiss_timer 65 30769230
coke_cost 115 17391304
---------------- -------- --------------
timer_by_name 3462 577700
cancel_by_name 1520 1315789
dismiss_by_name 754 2652519
detach_by_name 4670 428265
detach3_by_name 5006 191816
one_name 1312 1524390
two_name 1361 1469507
ten_name 1422 1406469
name_one_by_one 1999 1000500
---------------- -------- --------------
timer_by_id 1568 1275510
cancel_by_id 5014 356004
dismiss_by_id 144 13888888
detach_by_id 2646 755857
detach3_by_id 5002 240571
detach_inf_by_id 5001 137720
detach3_inf_by_id 5001 45053
one_id 1440 1388888
two_id 1185 1687763
ten_id 1105 1809954
id_one_by_one 2201 908677
github-actions[bot] commented 4 months ago

👋 Thanks for reporting!

github-actions[bot] commented 4 months ago

Benchmark

The benchmark runs on Github Actions

Environment

Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      48 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             4
On-line CPU(s) list:                0-3
Vendor ID:                          AuthenticAMD
Model name:                         AMD EPYC 7763 64-Core Processor
CPU family:                         25
Model:                              1
Thread(s) per core:                 2
Core(s) per socket:                 2
Socket(s):                          1
Stepping:                           1
BogoMIPS:                           4890.84
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 tsc_reliable nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext invpcid_single vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr rdpru arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload umip vaes vpclmulqdq rdpid fsrm
Virtualization:                     AMD-V
Hypervisor vendor:                  Microsoft
Virtualization type:                full
L1d cache:                          64 KiB (2 instances)
L1i cache:                          64 KiB (2 instances)
L2 cache:                           1 MiB (2 instances)
L3 cache:                           32 MiB (1 instance)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0-3
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Not affected
Vulnerability Retbleed:             Not affected
Vulnerability Spec rstack overflow: Vulnerable: Safe RET, no microcode
Vulnerability Spec store bypass:    Vulnerable
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Not affected
RANGE                                 SIZE  STATE REMOVABLE  BLOCK
0x0000000000000000-0x000000003fffffff   1G online       yes    0-7
0x0000000100000000-0x00000004bfffffff  15G online       yes 32-151

Memory block size:       128M
Total online memory:      16G
Total offline memory:      0B

Go

Bench command bench_go -c 64 -n 8 -m 60 -t 2000000 -y

name cost go per sec
wf_go_one_name 2240 892857
wf_go_five_name 734 2724795
wf_go_ten_name 654 3058103
go_one_name 2161 925497
go_five_name 728 2747252
go_ten_name 647 3091190
switch_one_name 2252 888099
switch_five_name 718 2785515
switch_ten_name 646 3095975

Timer

Bench command bench_timer -c 4096 -h 12 -p 6 -m 60 -t 2000000 -y

name cost sleep per sec
wf_repeat 843 2372479
default_timer 813 2460024
dismiss_timer 69 28985507
coke_cost 93 21505376
timer_by_name 3400 588235
cancel_by_name 1692 1182033
dismiss_by_name 686 2915451
detach_by_name 4775 418848
detach3_by_name 10335 193517
one_name 1277 1566170
two_name 1323 1511715
ten_name 1424 1404494
name_one_by_one 2364 846023
timer_by_id 1412 1416430
cancel_by_id 4057 492975
dismiss_by_id 152 13157894
detach_by_id 2694 742390
detach3_by_id 8686 230255
detach_inf_by_id 11640 171821
detach3_inf_by_id 36369 54991
one_id 1363 1467351
two_id 1085 1843317
ten_id 927 2157497
id_one_by_one 2425 824742

Dag

Bench command bench_graph -g 10 -n 128 -t 500 -k 3 -y

name cost graph per sec
wf_chain 5759 86
coke_chain_once 5822 85
coke_chain 5731 87
wf_tree 707 707
coke_tree_once 716 698
coke_tree 704 710
wf_net 1319 379
coke_net_once 1324 377
coke_net 1301 384
wf_flower 632 791
coke_flower_once 693 721
coke_flower 669 747
github-actions[bot] commented 4 months ago

Benchmark

The benchmark runs on Github Actions

Environment

Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      48 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             4
On-line CPU(s) list:                0-3
Vendor ID:                          AuthenticAMD
Model name:                         AMD EPYC 7763 64-Core Processor
CPU family:                         25
Model:                              1
Thread(s) per core:                 2
Core(s) per socket:                 2
Socket(s):                          1
Stepping:                           1
BogoMIPS:                           4890.86
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 tsc_reliable nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext invpcid_single vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr rdpru arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload umip vaes vpclmulqdq rdpid fsrm
Virtualization:                     AMD-V
Hypervisor vendor:                  Microsoft
Virtualization type:                full
L1d cache:                          64 KiB (2 instances)
L1i cache:                          64 KiB (2 instances)
L2 cache:                           1 MiB (2 instances)
L3 cache:                           32 MiB (1 instance)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0-3
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Not affected
Vulnerability Retbleed:             Not affected
Vulnerability Spec rstack overflow: Vulnerable: Safe RET, no microcode
Vulnerability Spec store bypass:    Vulnerable
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Not affected
RANGE                                 SIZE  STATE REMOVABLE  BLOCK
0x0000000000000000-0x000000003fffffff   1G online       yes    0-7
0x0000000100000000-0x00000004bfffffff  15G online       yes 32-151

Memory block size:       128M
Total online memory:      16G
Total offline memory:      0B

Go

Bench command bench_go -c 64 -n 8 -m 60 -t 2000000 -y

name cost go per sec
wf_go_one_name 2259 885347
wf_go_five_name 724 2762430
wf_go_ten_name 656 3048780
go_one_name 2297 870700
go_five_name 727 2751031
go_ten_name 648 3086419
switch_one_name 2311 865426
switch_five_name 713 2805049
switch_ten_name 643 3110419

Timer

Bench command bench_timer -c 4096 -h 12 -p 6 -m 60 -t 2000000 -y

name cost sleep per sec
wf_repeat 829 2412545
default_timer 825 2424242
dismiss_timer 64 31250000
coke_cost 75 26666666
timer_by_name 3060 653594
cancel_by_name 1594 1254705
dismiss_by_name 702 2849002
detach_by_name 4712 424448
detach3_by_name 10253 195064
one_name 1302 1536098
two_name 1338 1494768
ten_name 1446 1383125
name_one_by_one 2197 910332
timer_by_id 1431 1397624
cancel_by_id 3954 505816
dismiss_by_id 144 13888888
detach_by_id 2621 763067
detach3_by_id 8680 230414
detach_inf_by_id 12691 157591
detach3_inf_by_id 35801 55864
one_id 1365 1465201
two_id 1086 1841620
ten_id 983 2034587
id_one_by_one 2443 818665

Dag

Bench command bench_graph -g 10 -n 128 -t 500 -k 3 -y

name cost graph per sec
wf_chain 5682 87
coke_chain_once 5690 87
coke_chain 5704 87
wf_tree 692 722
coke_tree_once 692 722
coke_tree 714 700
wf_net 1290 387
coke_net_once 1299 384
coke_net 1278 391
wf_flower 630 793
coke_flower_once 680 735
coke_flower 664 753