Deutsch   English   Français   Italiano  
<vgjft2$2rdqa$1@dont-email.me>

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

Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: elns <look@the.footer.invalid>
Newsgroups: comp.lang.tcl
Subject: Re: Performance problems with "photo copy -to"
Date: Thu, 7 Nov 2024 23:44:49 +0100
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <vgjft2$2rdqa$1@dont-email.me>
References: <vgj8r1$2poj6$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 07 Nov 2024 23:44:50 +0100 (CET)
Injection-Info: dont-email.me; posting-host="50a87819e9d5ddccfaae2f0cbbd32443";
	logging-data="2996042"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+gNCFaRpEDTiLlzYAvmi5KrK1jPqqEI1c="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.12.0
Cancel-Lock: sha1:Q6gFWwPkhVOCSXANGU2a8wvNzXU=
In-Reply-To: <vgj8r1$2poj6$1@dont-email.me>
Content-Language: nl
Bytes: 2157

On 11/7/24 21:43, Paul Obermeier wrote:
> 
> Can anybody confirm my measurements?
> 

Using Tcl 8.6.15, Tk 8.6.15
Time for  100 copies:  1.31 seconds ( 13 milliseconds / copy)
Time for  400 copies: 20.32 seconds ( 50 milliseconds / copy)
Time for  900 copies: 102.27 seconds (113 milliseconds / copy)

Using Tcl 9.0.0, Tk 9.0.0
Time for  100 copies:  1.17 seconds ( 11 milliseconds / copy)
Time for  400 copies: 16.84 seconds ( 42 milliseconds / copy)
Time for  900 copies: 84.76 seconds ( 94 milliseconds / copy)

So, I see a performance increase with Tcl/Tk 9.0.0 instead of a decrease.

B.t.w.:
- Having replaced in your script [package version Tk] with $tk_patchLevel
   to prevent that multiple installed Tk versions are reported.
- The combination Tcl8.7 and Tk9 is not avaiable to me
- Did you perhaps use different compiler optimizations for your builds?
   (My builds are all without compiler optimizations.)


Regards,
Erik Leunissen
-- 
elns@       nl | Merge the left part of these two lines into one,
      xs4all.   | respecting a character's position in a line.