| Deutsch English Français Italiano |
|
<v9oc8f$1i6n2$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: aotto1968 <aotto1968@t-online.de> Newsgroups: comp.lang.tcl Subject: Re: tcl versa python regarding performance Date: Fri, 16 Aug 2024 22:19:27 +0200 Organization: A noiseless patient Spider Lines: 26 Message-ID: <v9oc8f$1i6n2$2@dont-email.me> References: <v9ggb7$2dcu$1@dont-email.me> <v9lhb6$123t3$1@dont-email.me> <v9li8g$123t3$2@dont-email.me> <v9ljpk$123t3$3@dont-email.me> <v9m3kd$14n4t$1@dont-email.me> <v9mocn$1aus0$1@dont-email.me> <v9o5qq$1h866$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 16 Aug 2024 22:19:28 +0200 (CEST) Injection-Info: dont-email.me; posting-host="3624925180c4abfa43b965e00f9f9a60"; logging-data="1645282"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/E7xat/r/Ffkv6CFPVHhgPVEpb19x4A/8=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:q/87ZE3mVH5klbJB2Q4mTJdh8iI= Content-Language: en-US In-Reply-To: <v9o5qq$1h866$1@dont-email.me> Bytes: 2562 On 16.08.24 20:29, saito wrote: > On 8/16/2024 1:34 AM, aotto1968 wrote: >> On 16.08.24 01:39, saito wrote: >>> On 8/15/2024 3:09 PM, aotto1968 wrote: >>>> >>>> even better resolution: https://i.postimg.cc/wvpJV4QC/performance-check-tcl-versa-python.png >>> >>> Very nice screenshots. Is this some sort a debugger? >>> >>> Assuming that you wrote both tcl and python versions and that they both wrap the same core library, wouldn't the call trees >>> look the same or at least bear resemblance? >> >> >> Yes, both the TCL and PYTHON extensions are wrappers for the same library and the TOOL for writing both wrappers is the >> NHI1/ALC (All-Language-Compiler), that is why both wrappers look similar. > > > What I meant was that the two images look very different. I can't make out what the boxes say, but nevertheless one is wide and > shallow, the other narrow and deep. So this may not be an apples-to-apples comparison. As has been noted already, shimmering may > play a role here or extra levels of abstraction via extra proc calls may skew the results in one language vs. the other. > > these two pictures are generated by the tool and not by me… -> the TCL picture is so "wide" because the TCL uses a lot of "overhead" -> the python picture is so "narrow" because PYTHON uses much less "overhead".