What features should a C#/.NET profiler have?

My requirements: Collect stats without impact to application – e.g. don’t fill up memory, allow data to be collected away from apps under question Ability to specify measurements simply and repeatably (data driven) Automatable so that I can repeat measurements without point and click, and without UI Enable us to understand issues related to the … Read more

Perl memory usage profiling and leak detection?

You could have a circular reference in one of your objects. When the garbage collector comes along to deallocate this object, the circular reference means that everything referred to by that reference will never get freed. You can check for circular references with Devel::Cycle and Test::Memory::Cycle. One thing to try (although it might get expensive … Read more

Profiling Ruby Code

To really drill into your code try out stackprof. Here’s a quick solution on how to use it: Install the gem: gem install stackprof. In your code add: require ‘stackprof’ and surround the part that you want to check with this: StackProf.run(mode: :cpu, out: ‘stackprof-output.dump’) do {YOUR_CODE} end After running your ruby script go check … Read more

How do I read the output of the IPython %prun (profiler) command?

It’s just a convenient wrapper for Python’s own profiler, the documentation for which is here: http://docs.python.org/library/profile.html#module-pstats Quoting: ncalls for the number of calls, tottime for the total time spent in the given function (and excluding time made in calls to sub-functions), percall is the quotient of tottime divided by ncalls cumtime is the total time … Read more

Profiling a python program with PyCharm (or any other IDE) [closed]

Depending on your needs and your python version, maybe you want to use something like hotshot. https://docs.python.org/2/library/hotshot.html EDIT: For python 3.4 cProfile is probably one the best options you have available but you will definitely have to filter the results with grep/sed/awk to be able to get the relevant results especially if you use libraries … Read more

Failed to CoCreate Profiler error – but not using a profiler

After much searching I found that someone had previously installed dotTrace, then uninstalled it, however the uninstall wasn’t very clean and had left the registry littered with entries, though we’d removed some entries we thought could stop the problem there were more specific to that profiler. After removing all registry entries related to dottrace and … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)