profiler

Python's profile module: <string>:1(?)

≯℡__Kan透↙ 提交于 2019-12-22 01:25:35
问题 I am using Python's (v2.4) profile module to profile a numpy script, and the following entry appears to account for the bulk of the execution time: ncalls tottime percall cumtime percall filename:lineno(function) 256/1 0.000 0.000 7.710 7.710 <string>:1(?) Unfortunately, its appearance makes it hard to Google. How do I go about figuring out what this is exactly? edit The profiler is run from the shell as follows: python -m profile -s cumulative script.py 回答1: Ignore this line. It is an

Memory profiler for silverlight

不问归期 提交于 2019-12-21 20:35:45
问题 Do you have any suggestion/idea of Memory profiler for Silverlight? 回答1: You can use the standard memory profiling tools (memory GC and lifetime) in Visual Studio 2010 - but only the Ultimate and Premium versions. The support is only for command line profiling, so the basics go: Open a Visual Studio command prompt VSPerfClrEnv /globalsamplegclife VSPerfCmd -start:sample -output:somefile.vsp VSPerfCmd -launch:"c:\Program Files (x86)\Internet Explorer\iexplore.exe" -args:"" VSPerfCmd -globalon

Best way to measure Memory Usage of a Java Program?

我们两清 提交于 2019-12-21 12:54:42
问题 I'm currently using VisualVM , but the problem I'm having is that I can't save the graphs it generates. I need to report some data about its memory usage and running time, though running time is easy to get with System.nanoTime() . I've also tried the NetBeans profiler but it isn't what I want, since I'm not looking for specific parts that would be slowing it down or anything, so that would be overkill. The biggest problem with it is that it eats up too much processing time. Also doesn't let

Symfony 2 debug toolbar not showing

对着背影说爱祢 提交于 2019-12-21 12:18:43
问题 Symfony debug toolbar doesn't show up, I tried to check a lot of things, but no luck so far. I am running site on app_dev.php environment, my config_dev.yml has: web_profiler: toolbar: true intercept_redirects: false app_dev/php doesn't have any IP restrictions, it runs AppKernel with dev environment. Also, AppKernel has the: $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); The main problem could be the HTML, but it has both opening and closing tags. I even tried to

Profiling C# / .NET applications

戏子无情 提交于 2019-12-21 07:41:13
问题 How do you trace/profile your .NET applications? The MSDN online help mentions Visual Studio Team (which I do not possess) and there is the Windows Performance Toolkit. But, are there other solutions you can recommend? Preferably (of course) a solution that works without changing the code (manually) and that can be integrated in Visual Studio. 回答1: See also this question. JetBrains dotTrace is the best .NET profiler I have found (and I have tried pretty much every one there is), because it is

Profiling C# / .NET applications

点点圈 提交于 2019-12-21 07:41:07
问题 How do you trace/profile your .NET applications? The MSDN online help mentions Visual Studio Team (which I do not possess) and there is the Windows Performance Toolkit. But, are there other solutions you can recommend? Preferably (of course) a solution that works without changing the code (manually) and that can be integrated in Visual Studio. 回答1: See also this question. JetBrains dotTrace is the best .NET profiler I have found (and I have tried pretty much every one there is), because it is

How to start Matlab profiler

馋奶兔 提交于 2019-12-21 03:52:18
问题 I switched to Matlab 2012b (from 2011a), but fail to find out how to start the profiler gui in the new matlab gui. 回答1: The GUI option is still there, in the editor tab: You will be able to specify input parameters once the function has crashed ;) 回答2: AFAIK, this should still work: profile viewer while we're at it, these tweaks should still work, too: profile -memory on setpref('profiler', 'showJitLines', true); I don't have the opportunity to check, but you mean to say that R2012 doesn't

iOS objc_msgSend crash, with no report or warning given

╄→гoц情女王★ 提交于 2019-12-21 03:42:53
问题 I am testing my app out, pushing it pretty hard, and I'm getting it to crash (black screen, image doesn't save, drops back to springboard). However, I get no crash reports logged in the console. When I test using profiler all I get is a message saying the target died, but it gives no clues. In the organiser I got the device crash logs which gives me this which I believe is telling me I'm sending a message to something I've released (objc-msgSend + 22)? Am I on the right track here? ---

Clever tricks to find specific LINQ queries in SQL Profiler

旧城冷巷雨未停 提交于 2019-12-20 14:42:03
问题 Profiling LINQ queries and their execution plans is especially important due to the crazy SQL that can sometimes be created. I often find that I need to track a specific query and have a hard time finding in query analyzer. I often do this on a database which has a lot of running transactions (sometimes production server) - so just opening Profiler is no good. I've also found tryin to use the DataContext to trace inadequate, since it doesnt give me SQL I can actually execute myself. My best

CSS Performance Profiler?

不羁的心 提交于 2019-12-20 07:59:16
问题 I'm currently working on a site, and somewhere in my mass of stylesheets, something is killing performance in IE. Are there any good CSS profilers out there? I'd like a tool that can pinpoint rules that are killing performance. Before you ask, I've disabled JavaScript, opacity, and box-shadow/text-shadow rules. The page is still jumpy. :/ If I disable all CSS, it runs great. I need a tool that can profile the page and report where the CSS bottlenecks are. 回答1: So, I finally got around to