Sujet : Re: tcl versa python regarding performance
De : aotto1968 (at) *nospam* t-online.de (aotto1968)
Groupes : comp.lang.tclDate : 14. Aug 2024, 10:02:53
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v9hrrt$crh9$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 13.08.24 22:51, undroidwish wrote:
On 8/13/24 22:40, aotto1968 wrote:
Hi, some (unproven) statistics from my SW regarding the performance TCL
^^^^^^^^
Exactly. I tend to go even further and add the attribute useless to
unproven as long as you publish some numbers with some subjective
analysis without presenting the implementation and the measurement
method.
not really, with "aggressive" optimization the TCL is doing better, but not close to PYTHON
setup=release
> feature=cc_pipe
> .../release/inst/sbin/x86_64-suse-linux-gnu-perfclient --timeout 2 --send @ .../release/inst/sbin/x86_64-suse-linux-gnu-perfserver-cc
: start ------------------------ : result [ count / sec ]
: --send : 387331.8 [ 774702 / 2.000099 ]
: end: ----------------------------------------
> feature=c_pipe
> .../release/inst/sbin/x86_64-suse-linux-gnu-perfclient --timeout 2 --send @ .../release/inst/sbin/x86_64-suse-linux-gnu-perfserver-c
: start ------------------------ : result [ count / sec ]
: --send : 390295.8 [ 780623 / 2.000081 ]
: end: ----------------------------------------
> feature=py_pipe
> .../release/inst/sbin/x86_64-suse-linux-gnu-perfclient --timeout 2 --send @ $PYTHON .../release/inst/sbin/x86_64-suse-linux-gnu-perfserver-py.py
: start ------------------------ : result [ count / sec ]
: --send : 284371.7 [ 568775 / 2.000111 ]
: end: ----------------------------------------
> feature=tcl_pipe
> .../release/inst/sbin/x86_64-suse-linux-gnu-perfclient --timeout 2 --send @ $TCLSH .../release/inst/sbin/x86_64-suse-linux-gnu-perfserver-tcl.tcl
: start ------------------------ : result [ count / sec ]
: --send : 215990.2 [ 432027 / 2.000216 ]
: end: ----------------------------------------
setup=aggressive
> feature=cc_pipe
> .../aggressive/inst/sbin/x86_64-suse-linux-gnu-perfclient --timeout 2 --send @ .../aggressive/inst/sbin/x86_64-suse-linux-gnu-perfserver-cc
: start ------------------------ : result [ count / sec ]
: --send : 398688.2 [ 797433 / 2.000142 ]
: end: ----------------------------------------
> feature=c_pipe
> .../aggressive/inst/sbin/x86_64-suse-linux-gnu-perfclient --timeout 2 --send @ .../aggressive/inst/sbin/x86_64-suse-linux-gnu-perfserver-c
: start ------------------------ : result [ count / sec ]
: --send : 401113.0 [ 802377 / 2.000376 ]
: end: ----------------------------------------
> feature=py_pipe
> .../aggressive/inst/sbin/x86_64-suse-linux-gnu-perfclient --timeout 2 --send @ $PYTHON .../aggressive/inst/sbin/x86_64-suse-linux-gnu-perfserver-py.py
: start ------------------------ : result [ count / sec ]
: --send : 286609.9 [ 573378 / 2.000552 ]
: end: ----------------------------------------
> feature=tcl_pipe
> .../aggressive/inst/sbin/x86_64-suse-linux-gnu-perfclient --timeout 2 --send @ $TCLSH .../aggressive/inst/sbin/x86_64-suse-linux-gnu-perfserver-tcl.tcl
: start ------------------------ : result [ count / sec ]
: --send : 237457.9 [ 475001 / 2.000359 ]
: end: ----------------------------------------