Sujet : Re: tcl versa python regarding performance
De : et99 (at) *nospam* rocketship1.me (et99)
Groupes : comp.lang.tclDate : 18. Aug 2024, 23:29:08
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v9tsjk$2hpva$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
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.