Sujet : Re: tcl versa python regarding performance
De : auriocus (at) *nospam* gmx.de (Christian Gollwitzer)
Groupes : comp.lang.tclDate : 16. Aug 2024, 08:12:52
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v9mu5l$1bolj$1@dont-email.me>
References : 1 2 3
User-Agent : Mozilla Thunderbird
Am 15.08.24 um 23:48 schrieb aotto1968:
a short conclusion from Facebook …
"If you analyze the C lib wrapper for MqReadI8, the TCL code adds about 200% wrapper load and the PYTHON code adds about 10% wrapper load." (ref: https://www.facebook.com/share/p/wihmQPR4pBRacLLF/)
→ I think TCL has an "performance-problem".
I won't solve the problem, just to say: It's impossible to help you with this, because you don't explain:
* who wrote this wrapper
* where to find the code
* what benchmark are you running
It could be, e.g. that your benchmark code introduces shimmering and then there's lots of conversion going on. It might be something completely different. Or it might be that Tcl is indeed slower than Python (in most of my comparisons, it was the opposite - unless you offload work to external libraries).
Regards,
Christian