tcl versa python regarding performance

Liste des GroupesRevenir à cl tcl 
Sujet : tcl versa python regarding performance
De : aotto1968 (at) *nospam* t-online.de (aotto1968)
Groupes : comp.lang.tcl
Date : 13. Aug 2024, 21:40:04
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v9ggb7$2dcu$1@dont-email.me>
User-Agent : Mozilla Thunderbird
Hi, some (unproven) statistics from my SW regarding the performance TCL versa PYTHON
The --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-perfclient --timeout 2  --all @ $TCLSH .../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-perfclient --timeout 2  --all @ $PYTHON .../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-perfclient --timeout 2  --all @ .../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: ----------------------------------------

Date Sujet#  Auteur
13 Aug 24 * tcl versa python regarding performance41aotto1968
13 Aug 24 +* Re: tcl versa python regarding performance5undroidwish
14 Aug 24 i+* Re: tcl versa python regarding performance3aotto1968
14 Aug 24 ii`* Re: tcl versa python regarding performance2aotto1968
15 Aug 24 ii `- Re: tcl versa python regarding performance1aotto1968
15 Aug 24 i`- Re: tcl versa python regarding performance1Alan Grunwald
15 Aug 24 +* Re: tcl versa python regarding performance15aotto1968
15 Aug 24 i+* Re: tcl versa python regarding performance10aotto1968
15 Aug 24 ii`* Re: tcl versa python regarding performance9aotto1968
15 Aug 24 ii +- Re: tcl versa python regarding performance1aotto1968
16 Aug 24 ii `* Re: tcl versa python regarding performance7saito
16 Aug 24 ii  `* Re: tcl versa python regarding performance6aotto1968
16 Aug 24 ii   `* Re: tcl versa python regarding performance5saito
16 Aug 24 ii    `* Re: tcl versa python regarding performance4aotto1968
17 Aug 24 ii     `* Re: tcl versa python regarding performance3undroidwish
17 Aug 24 ii      `* Re: tcl versa python regarding performance2aotto1968
17 Aug 24 ii       `- Re: tcl versa python regarding performance1undroidwish
15 Aug 24 i`* Re: tcl versa python regarding performance4aotto1968
16 Aug 24 i `* Re: tcl versa python regarding performance3Christian Gollwitzer
16 Aug 24 i  +- Re: tcl versa python regarding performance1undroidwish
16 Aug 24 i  `- Re: tcl versa python regarding performance1aotto1968
16 Aug 24 +- Re: tcl versa python regarding performance1aotto1968
18 Aug 24 +* Re: tcl versa python regarding performance3aotto1968
18 Aug 24 i`* Re: tcl versa python regarding performance2et99
19 Aug 24 i `- Re: tcl versa python regarding performance1aotto1968
24 Aug 24 +- Re: tcl versa python regarding performance1aotto1968
26 Aug 24 +- Re: tcl versa python regarding performance1aotto1968
6 Sep 24 +- update ...1aotto1968
6 Sep 24 +* Nice example about the "inefficiently" of the tcl "c" api.10aotto1968
8 Sep 24 i`* Re: Nice example about the "inefficiently" of the tcl "c" api.9undroidwish
8 Sep 24 i +* Re: Nice example about the "inefficiently" of the tcl "c" api.7Christian Gollwitzer
9 Sep 24 i i`* Re: Nice example about the "inefficiently" of the tcl "c" api.6aotto1968
9 Sep 24 i i `* Re: Nice example about the "inefficiently" of the tcl "c" api.5undroidwish
9 Sep 24 i i  `* Re: Nice example about the "inefficiently" of the tcl "c" api.4aotto1968
9 Sep 24 i i   `* Re: Nice example about the "inefficiently" of the tcl "c" api.3undroidwish
9 Sep 24 i i    `* Re: Nice example about the "inefficiently" of the tcl "c" api.2aotto1968
9 Sep 24 i i     `- Re: Nice example about the "inefficiently" of the tcl "c" api.1undroidwish
9 Sep 24 i `- Re: Nice example about the "inefficiently" of the tcl "c" api.1aotto1968
10 Sep 24 +- build a perfserver distribution1aotto1968
11 Sep 24 `* Re: tcl versa python regarding performance2aotto1968
11 Sep 24  `- Re: tcl versa python regarding performance1aotto1968

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal