Difference between revisions of "Coder Tools"

From GnuCash
Jump to: navigation, search
(Profiling, from https://lists.gnucash.org/logs/2020/03/04.html#T14:32:01)
m (Add link to hotspot)
Line 2: Line 2:
  
 
==Memory Leaks==
 
==Memory Leaks==
* [https://www.kdab.com/heaptrack-v1-0-0-release/ heaptrack] [https://www.kdab.com/heaptrack-v1-1-0-release/ v1-1-0-release] from [https://code.gnucash.org/logs/2018/09/09.html#T17:00:42]
+
* [https://www.kdab.com/heaptrack-v1-0-0-release/ heaptrack] [https://www.kdab.com/heaptrack-v1-1-0-release/ v1-1-0-release] from [https://code.gnucash.org/logs/2018/09/09.html#T17:00:42]. Most linux distributions also ship it as a package.
[[Category:Development]]
 
  
 
==Profiling==
 
==Profiling==
  
For C exist [https://github.com/GNOME/sysprof sysprof], [https://github.com/KDE/heaptrack heaptrack], [https://en.wikipedia.org/wiki/Valgrind Valgrind],... Plenty of [https://en.wikipedia.org/wiki/List_of_performance_analysis_tools profiling tools]. I'm have done some profiling with sysprof and heaptrack (never used valgrind). Both have interactive user interfaces to drill down on profiling data. I currently prefer heaptrack as it doesn't need special privileges. Last time I used sysprof (which has been a while) it needed admin privileges to run.
+
For C exist [https://github.com/GNOME/sysprof sysprof], [https://github.com/KDAB/hotspot hotspot], [https://github.com/KDE/heaptrack heaptrack] (memory profiler), [https://en.wikipedia.org/wiki/Valgrind Valgrind],... Plenty of [https://en.wikipedia.org/wiki/List_of_performance_analysis_tools profiling tools]. I have done some profiling with sysprof and heaptrack (never used valgrind). Both have interactive user interfaces to drill down on profiling data. I currently prefer heaptrack as it doesn't need special privileges. Last time I used sysprof (which has been a while) it needed admin privileges to run.
 +
 
 +
[[Category:Development]]

Revision as of 09:10, 23 May 2024

Sometimes somebody finds a tool, which is better than standard tools. Here we share our knowledge.

Memory Leaks

Profiling

For C exist sysprof, hotspot, heaptrack (memory profiler), Valgrind,... Plenty of profiling tools. I have done some profiling with sysprof and heaptrack (never used valgrind). Both have interactive user interfaces to drill down on profiling data. I currently prefer heaptrack as it doesn't need special privileges. Last time I used sysprof (which has been a while) it needed admin privileges to run.