profiler

Symfony 2: 404 Not Found Error when tryes to open /app_dev.php

微笑、不失礼 提交于 2019-11-30 14:44:46
问题 I am getting this error message when try to open /app_dev.php An error occurred while loading the web debug toolbar (404: Not Found). Do you want to open the profiler? When I click ok, I am getting then the error: app_dev.php/_profiler/5053258a822e1 and 404 Not found I am using nginx Thank you very much for your help. EDIT: Here is the error log: [error] 18369#0: *9 open() "/var/www/Symfony/web/app_dev.php/_wdt/5056f875afc98" failed (20: Not a directory), client: 127.0.0.1, server: symfony,

Which has been the most reliable, fastest Windows C++ profiler that you have used?

落爺英雄遲暮 提交于 2019-11-30 14:08:02
问题 I need to profile a real time C++ app on Windows. Most of the available profilers are either terribly expensive, total overkill, or both. I don't need any .NET stuff. Since it is a real time app, I need the profiler to be as fast as possible. It would be excellent if it integrated in some way with Visual Studio 2005/2008, but that's not necessary. If this description reminds you of a profiler that you have used, I would really like to know about it. I am hoping to draw from people's use of C+

Javascript memory profiler

為{幸葍}努か 提交于 2019-11-30 13:47:24
I'm looking for a good JavaScript Memory profiler, specifically one that targets IE. And any suggestions on how to go about finding javascript memory leaks would also be appreicated. You're looking for sIEve ... that's about it. For a while the cardinal answer was Drip, but sIEve is the next iteration by the same guy. 来源: https://stackoverflow.com/questions/1663740/javascript-memory-profiler

Why VisualVM Sampler does not provide full information about CPU load (method time execution)?

蓝咒 提交于 2019-11-30 12:04:34
问题 The problem is: VisualVM sampler shows call tree by time. For some method sampler shows only "Self time" so I can't see what makes this method slow. Here is an example. How can I increase the depth of profiling? 回答1: Unfortunately sampling profilers are rather limited when it comes down to in-depth profiling due to a number of reasons: Samplers are limited by the sampling period: For example, VisualVM currently has a minimum sampling period of 20ms. Modern processors can execute several

Symfony 2: 404 Not Found Error when tryes to open /app_dev.php

こ雲淡風輕ζ 提交于 2019-11-30 11:35:43
I am getting this error message when try to open /app_dev.php An error occurred while loading the web debug toolbar (404: Not Found). Do you want to open the profiler? When I click ok, I am getting then the error: app_dev.php/_profiler/5053258a822e1 and 404 Not found I am using nginx Thank you very much for your help. EDIT: Here is the error log: [error] 18369#0: *9 open() "/var/www/Symfony/web/app_dev.php/_wdt/5056f875afc98" failed (20: Not a directory), client: 127.0.0.1, server: symfony, request: "GET /app_dev.php/_wdt/5056f875afc98 HTTP/1.1", host: "symfony", referrer: "http://symfony/app

How to profile my C++ application on linux

浪子不回头ぞ 提交于 2019-11-30 11:31:39
I would like to profile my c++ application on linux. I would like to find out how much time my application spent on CPU processing vs time spent on block by IO/being idle. I know there is a profile tool call valgrind on linux. But it breaks down time spent on each method, and it does not give me an overall picture of how much time spent on CPU processing vs idle? Or is there a way to do that with valgrind. I can recommend valgrind 's callgrind tool in conjunction with KCacheGrind for visualization. KCacheGrind makes it pretty easy to see where the hotspots are. Note: It's been too long since I

CUDA Visual Profiler 'Interactive' X config option?

送分小仙女□ 提交于 2019-11-30 08:37:28
问题 I get the following warning when launching an application in computeprof on Ubuntu 11.04: The selected counter(s) "gld instructions 8bit", "gld instructions 16bit", "gld instructions 32bit", "gld instructions 64bit", "gld instructions 128bit", "gst instructions 8bit", "gst instructions 16bit", "gst instructions 32bit", "gst instructions 64bit", "gst instructions 128bit" can cause GPU kernels to run longer than the driver's watchdog timeout limit. In this case the driver will terminate the GPU

Are there any tools for tracking down bloat in C++?

我们两清 提交于 2019-11-30 08:33:04
问题 A carelessly written template here, some excessive inlining there - it's all too easy to write bloated code in C++. In principle, refactoring to reduce that bloat isn't too hard. The problem is tracing the worst offending templates and inlines - tracing those items that are causing real bloat in real programs. With that in mind, and because I'm certain that my libraries are a bit more bloat-prone than they should be, I was wondering if there's any tools that can track down those worst

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

旧巷老猫 提交于 2019-11-30 07:56:18
I run this: In [303]: %prun my_function() 384707 function calls (378009 primitive calls) in 83.116 CPU seconds Ordered by: internal time ncalls tottime percall cumtime percall filename:lineno(function) 37706 41.693 0.001 41.693 0.001 {max} 20039 36.000 0.002 36.000 0.002 {min} 18835 1.848 0.000 2.208 0.000 helper.py:119(fftfreq) --snip-- What do each of tottime, percall, cumtime? ncalls is fairly obviously (number of times the function is called). My guess is that tottime is the total time spent in the function excluding time spent within its own function calls; percall is ???; cumtime is

Does a Silverlight memory profiler exist?

坚强是说给别人听的谎言 提交于 2019-11-30 07:29:00
问题 CLR profiler does not seem to work with the Silverlight CLR. Does another memory profiler exist? 回答1: Doesn't seem to be one available yet. However, as recommended in this forum thread, you can convert your Silverlight app to a WPF application and profile that: There is no tool as of now but as a workaround you can easily create a desktop (WPF) version of your Silverlight client from the same code base and few tweaks (refer Scot's blog for an example on this - http://weblogs.asp.net/scottgu