aotto1968
2024-08-13 20:40:04 UTC
Reply
PermalinkThe --send ... send packages
The --parent/child ... measure startup time
The other ... build data structures
Tcl is except --parent (startup) slower than python → I think the CORE problem is the OO implementation in TCL
→ the basic technology for TCL and PYTHON is a OO wrapper around the C-library this mean the BASIC workload
for TCL & PYTHON is the same and the TIME difference is just the TCL/PYTHON overload
TCL
===
setup=release
feature=tcl_pipe
.../release/inst/sbin/x86_64-suse-linux-gnu-perfserver-tcl.tcl:PerfClientExec }: start ------------------------ : result [ count / sec ]
:statistics }: --send : 216004.5 [ 432206 / 2.000912 ]
:statistics }: --send-string : 224700.4 [ 449614 / 2.000949 ]
:statistics }: --send-and-callback : 121014.5 [ 242218 / 2.001561 ]
:statistics }: --send-and-wait : 58694.0 [ 117389 / 2.000015 ]
:statistics }: --send-persistent : 13358.7 [ 26718 / 2.000046 ]
:statistics }: --parent : 82.5 [ 165 / 2.000311 ]
:statistics }: --child : 21321.3 [ 42643 / 2.000022 ]
:statistics }: --bus : 40133.7 [ 80268 / 2.000017 ]
:statistics }: --bfl : 41333.4 [ 82667 / 2.000005 ]
:statistics }: --bin : 264818.7 [ 529687 / 2.000187 ]
:statistics }: --str : 265383.5 [ 530867 / 2.000377 ]
:PerfClientExec }: end: ----------------------------------------
PYTHON
======
setup=release
feature=py_pipe
.../release/inst/sbin/x86_64-suse-linux-gnu-perfserver-py.py:PerfClientExec }: start ------------------------ : result [ count / sec ]
:statistics }: --send : 292415.7 [ 584872 / 2.000139 ]
:statistics }: --send-string : 294627.4 [ 589494 / 2.000812 ]
:statistics }: --send-and-callback : 154291.6 [ 308617 / 2.000219 ]
:statistics }: --send-and-wait : 73577.8 [ 147156 / 2.000005 ]
:statistics }: --send-persistent : 13796.6 [ 27594 / 2.000058 ]
:statistics }: --parent : 71.0 [ 142 / 2.000464 ]
:statistics }: --child : 21959.2 [ 43919 / 2.000024 ]
:statistics }: --bus : 67991.3 [ 135983 / 2.000005 ]
:statistics }: --bfl : 65537.4 [ 131075 / 2.000004 ]
:statistics }: --bin : 326737.6 [ 653632 / 2.000480 ]
:statistics }: --str : 327746.7 [ 655625 / 2.000402 ]
:PerfClientExec }: end: ----------------------------------------
This is the reference in C only
===============================
setup=release
feature=c_pipe
.../release/inst/sbin/x86_64-suse-linux-gnu-perfserver-c:PerfClientExec }: start ------------------------ : result [ count / sec ]
:statistics }: --send : 372049.5 [ 744214 / 2.000309 ]
:statistics }: --send-string : 388248.2 [ 776648 / 2.000390 ]
:statistics }: --send-and-callback : 221224.1 [ 442541 / 2.000420 ]
:statistics }: --send-and-wait : 87320.3 [ 174641 / 2.000004 ]
:statistics }: --send-persistent : 15245.3 [ 30491 / 2.000024 ]
:statistics }: --parent : 552.4 [ 1105 / 2.000235 ]
:statistics }: --child : 35888.9 [ 71778 / 2.000004 ]
:statistics }: --bus : 80124.6 [ 160250 / 2.000011 ]
:statistics }: --bfl : 86655.9 [ 173312 / 2.000003 ]
:statistics }: --bin : 400718.2 [ 801590 / 2.000383 ]
:statistics }: --str : 396122.8 [ 792369 / 2.000312 ]
:PerfClientExec }: end: ----------------------------------------