Sujet : Re: TCL PERFORMANCE : how to rid of 'Tcl_EvalObjv' with the 'NRE' stuff
De : aotto1968 (at) *nospam* t-online.de (aotto1968)
Groupes : comp.lang.tclDate : 04. Apr 2025, 17:06:49
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vsp02r$3qej5$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 04.04.25 15:55, aotto1968 wrote:
I'm in the phase of optimization of the new ATL tcl dialect using "myoo" OO extension and right now I'm fight to get
PYTHON speed for an EMPTY callback.
→ The CORE problem is the "Tcl_EvalObjv" which is TO SLOW to beat python.
exec[#7] -> '.../release/example/c/perfclient' '--send-nothing' '--sec' '10' '@' 'python3' '.../example/py/perfserver.py'
...:PerfClientExec }: start ------------------------ : result [ count / sec ]
...:statistics }: --send-nothing : 504821.1 [ 5048489 / 10.000551 ]
^^^^^^^^^^^^^^^^^^^^^
...:PerfClientExec }: end: ----------------------------------------
exec[#7] -> '.../release/example/c/perfclient' '--send-nothing' '--sec' '10' '@' 'tclsh8.6' '.../example/atl/perfserver.atl'
...:PerfClientExec }: start ------------------------ : result [ count / sec ]
...:statistics }: --send-nothing : 453027.1 [ 4530432 / 10.000355 ]
^^^^^^^^^^^^^^^^^^^^^
...:PerfClientExec }: end: ----------------------------------------
...
more updates:
1. tclwiki:
https://wiki.tcl-lang.org/page/How+can+I+get+rid+of+the+NRE2. facebook (picture):
https://www.facebook.com/permalink.php?story_fbid=pfbid02hyjRgvy8DtytrCfZmAeK6nAAtnp9axmLEQJ17yCEB3wCvh6ZdpYRnijDopQSoD5gl&id=100069563501101