Taking more CPU time after enabling thread in TCL
Closed / Wont Fixfc227507ead7545c454bd7e614b4dc38443eecafCreated 5 years agoUpdated 42 days ago
Descriptionplain2021-07-26 07:34:34
I was compiling TCL8.6.8 with -enable_thread=off in my application. But now I have enabled threading. I have seen few test cases that are taking more memory and more CPU time. Therefore I have removed "#define USE_THREAD_ALLOC 1" from the configure file and now there is no memory degradation but still it is taking much CPU time. How can I reduce the CPU usage time? Please help. Thanks, Arvind
arvind29 Ticket [fc227507ea]: 3 changes
[History diff]2021-07-26 07:39:12
arvind29 Ticket [fc227507ea]: 3 changes
[History diff]2021-07-27 05:23:06
jan.nijtmanswiki2021-07-29 07:22:06
Well, it's normal that a thread-enabled build uses more memory and more (waiting) time than non-threaded builds. Nothing comes for free. Your description doesn't contain enough information to decided if something special is going on. What platform? What OS version? What test-cases?
See: https://www.softwaretestinghelp.com/how-to-write-good-bug-report/
serhiy.storchakawiki2026-10-15 11:29:05
Closing: decided above.
serhiy.storchaka Ticket [fc227507ea]: 3 changes
[History diff]2026-10-22 17:19:26
Log in (anonymous is fine) to add a comment.