Deutsch   English   Français   Italiano  
<v9o5qq$1h866$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: saito <saitology9@gmail.com>
Newsgroups: comp.lang.tcl
Subject: Re: tcl versa python regarding performance
Date: Fri, 16 Aug 2024 14:29:44 -0400
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <v9o5qq$1h866$1@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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 16 Aug 2024 20:29:46 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ee7c3e36f879a0bb903a276ecfb2098a";
	logging-data="1614022"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18E/6FVOat38TCnqN3xKK7e"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:oqIGEU0UcCP+L7fhchSFaNeIhzI=
In-Reply-To: <v9mocn$1aus0$1@dont-email.me>
Content-Language: en-US
Bytes: 2254

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.