How do I disable the Symfony 2 profiler bar?
This setting is in app/config/config_dev.yml: web_profiler: toolbar: true intercept_redirects: false
This setting is in app/config/config_dev.yml: web_profiler: toolbar: true intercept_redirects: false
So, I finally got around to writing a JavaScript function that indexed all of my CSS classes on the page and then individually toggled them, while scrolling the page. This immediately pin-pointed the errant class, and from there, I was able to determine errant property. Turns out that border-radius on an element that contains many … Read more
Sometimes just plain SQL logging (enabled via python’s logging module or via the echo=True argument on create_engine()) can give you an idea how long things are taking. For example if you log something right after a SQL operation, you’d see something like this in your log: 17:37:48,325 INFO [sqlalchemy.engine.base.Engine.0x…048c] SELECT … 17:37:48,326 INFO [sqlalchemy.engine.base.Engine.0x…048c] {<params>} … Read more
No. I have tried pretty much every .NET profiler on the market (ANTS, vTune, OptimizeIt, DevPartner, YourKit), and in my opinion dotTrace is the best of the lot. It is one of only two profilers I have used (the other being YourKit) that has low enough overhead to handle a highly CPU-intensive application. If and … Read more
Using gcc, I compile and link with -pg (as explained e.g. here), then continue by running the program (according to the principles also suggested at that URL) and using gprof. The tools will vary if you’re using different compilers &c, but the URL is still recommended, even then, for the parts that are about general … Read more
It perhaps an android studio profile bug. Delete the whole codecache directory in your application data package root path(data/data/pacakge_name/codecache) and retry profile again.
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
Use gprof. Just compile with -pg flag (I think (but am not sure) you have to turn of optimizations though.) and use gprof to analyze the gmon.out file that your executable will then produce. eg: gcc -pg -o whatever whatever.c ./whatever gprof whatever gmon.out Same thing with g++ and cpp.
You can try the free VisualVM profiler integration via a plug-in.
I used Ants profiler on a large c# project a year and a half ago. It really performed very nicely for what it cost, and even outperformed a few of the more expensive competitors. It calculates cost on with almost a line by line resolution.