Sujet : Re: Performance problems with "photo copy -to"
De : look (at) *nospam* the.footer.invalid (elns)
Groupes : comp.lang.tclDate : 07. Nov 2024, 23:50:48
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vgjg88$2rdqa$2@dont-email.me>
References : 1 2
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0
On 11/7/24 23:44, elns wrote:
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)
This was executed on Linux.
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.