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

How to efficiently use Rprof in R?

Alert readers of yesterdays breaking news (R 3.0.0 is finally out) may have noticed something interesting that is directly relevant to this question: Profiling via Rprof() now optionally records information at the statement level, not just the function level. And indeed, this new feature answers my question and I will show how. Let’s say, we … Read more

Oracle: is there a tool to trace queries, like Profiler for sql server? [closed]

I found an easy solution Step1. connect to DB with an admin user using PLSQL or sqldeveloper or any other query interface Step2. run the script bellow; in the S.SQL_TEXT column, you will see the executed queries SELECT S.LAST_ACTIVE_TIME, S.MODULE, S.SQL_FULLTEXT, S.SQL_PROFILE, S.EXECUTIONS, S.LAST_LOAD_TIME, S.PARSING_USER_ID, S.SERVICE FROM SYS.V_$SQL S, SYS.ALL_USERS U WHERE S.PARSING_USER_ID=U.USER_ID AND UPPER(U.USERNAME) … Read more

What Are Some Good .NET Profilers?

I have used JetBrains dotTrace and Redgate ANTS extensively. They are fairly similar in features and price. They both offer useful performance profiling and quite basic memory profiling. dotTrace integrates with Resharper, which is really convenient, as you can profile the performance of a unit test with one click from the IDE. However, dotTrace often … Read more

Alternatives to gprof [closed]

gprof (read the paper) exists for historical reasons. If you think it will help you find performance problems, it was never advertised as such. Here’s what the paper says: The proļ¬le can be used to compare and assess the costs of various implementations. It does not say it can be used to identify the various … Read more