| Deutsch English Français Italiano |
|
<v9vdm0$2s3fq$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.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: Mon, 19 Aug 2024 14:26:39 +0200 Organization: A noiseless patient Spider Lines: 19 Message-ID: <v9vdm0$2s3fq$1@dont-email.me> References: <v9ggb7$2dcu$1@dont-email.me> <v9tmbd$2gvah$1@dont-email.me> <v9tsjk$2hpva$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 19 Aug 2024 14:26:41 +0200 (CEST) Injection-Info: dont-email.me; posting-host="0ec7808473b1eddd101e5151b0e34185"; logging-data="3018234"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19A6ZWnIwPEsotCLkXKra2XCMQDm17OvSc=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:5ieYSuN2kSSd4Kh5MvXA+kImhB8= In-Reply-To: <v9tsjk$2hpva$1@dont-email.me> Content-Language: en-US Bytes: 2178 On 19.08.24 00:29, et99 wrote: > On 8/18/2024 1:42 PM, aotto1968 wrote: >> >> add some documentation regarding the performance testing: >> -> http://thedev.nhi1.de/theLink/main/md_docs_2main_2README__PERFORMANCE.htm > > > I recently wrote some C code using Visual Studio 2022 and they have a wonderful performance profiler. I was able to determine > that 80% of the cost of the module I was developing was caused by calls to some library routines I was using. By writing my own > versions that didn't need to be so generalized, I got that down to 10%. > > One problem was that once I turned on the compiler optimization, the profiler became pretty much worthless to measure my own > code's performance, so I couldn't get that 10% any lower. > > But it would be kinda cool to try using those VS tools on the tcl source code, but I don't know of any way to build tcl inside > VS where one could use those tools. > With the callgrind tool on linux you can analyze any kind of executable, even executable's without symbols compiled in.