profiler

Is there a “function size profiler” out there?

☆樱花仙子☆ 提交于 2019-12-03 04:30:21
问题 After three years working on a C++ project, the executable has grown to 4 MB. I'd like to see where all this space is going. Is there a tool that could report what the biggest space hogs are? It would be nice to see the size by class (all functions in a class), by template (all instantiations), and by library (how much belongs to the C standard library and STL? how much for each library in the exe?) Edit: Note, I am using Visual C++ on Windows. 回答1: In Linux , you can use nm to show all

Is there an IntelliJ Java Profiler [closed]

岁酱吖の 提交于 2019-12-03 04:22:51
Is there a Profiler for IntelliJ like the one for Matlab? Let's say you have this code a = true; i = 0; while(a) { if(a) i++ // some fancy stuff which takes 1 second each loop if(i > 1e6) break; } Now I run the code In Matlab it would look like this after I opened the Profiler calls time 1 0.0 a = true; 1 0.0 i = 0; 1 0.0 while(a) { 1e3 1.0 if(a) 1e3 0.4 i++ 1e3 1e3 // some fancy stuff which takes 1 second each loop 1e3 1.2 if(i > 1e3) break; } All profilers that are available for Java, which can be used in IntelliJ will show invocation times only aggregated on method level. You can use for

Is there a profiler for C (gcc) to profile code lines separately? [closed]

只愿长相守 提交于 2019-12-03 03:31:57
I come from a Matlab background so I am used to a profiler which profiles every single line and not just every function like gprof or callgrind . Is there a profiler for C with a similar feature? Thanks! (source: jburkardt at people.sc.fsu.edu ) Shark, one of the profiling tools in Mac OS X, can do that (or even profile by instruction). I realise that your screenshot is on Windows so that may not be helpful, but perhaps you can run your code on a Mac. You could try Very Sleepy , but I've never used it so have no idea how good it is. You can use use the GNU utility GCOV to do line by line

.NET Profiler for Azure?

拟墨画扇 提交于 2019-12-03 01:59:40
Does anyone know of a .NET profiler which works with Azure to figure out code bottlenecks. I have tried to integrate dotTrace profiler - but haven't had any success. Does anyone know of any that work with Azure ? Seems something which is very needed ? Azure Monitor lets you monitor your Azure-hosted applications in real-time. It includes a library for capturing runtime process information to cloud table storage; and also a desktop application for viewing the captured information in real-time: http://azuremonitor.codeplex.com/ Julien Brunet 'S "cloud4net" opensource project ( http://cloud4net

VisualVM: CPU/Memory profiler stuck at “Connecting to the target JVM…”

梦想与她 提交于 2019-12-03 01:55:50
问题 I have recently reinstalled Windows and I am using JDK 1.8 u91 with the built-in VisualVM. I have checked my proxy settings to ensure that they are all off, both in Windows proxy settings and within the proxy settings of VisualVM. I have also tried reinstalling JDK, restarting computer, reinstalling Windows. I only have one JDK installed and the classpath is set to the JDK's bin folder in Windows. All features besides CPU and memory profiling work in VisualVM. My application is ran from

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

匆匆过客 提交于 2019-12-03 01:43:22
问题 This could be a borderline advertisement, not to mention subjective, but the question is an honest one. For the last two months, I've been developing a new open source profiler for .NET called SlimTune Profiler (http://code.google.com/p/slimtune/). It's a relatively new effort, but when I looked at the range of profilers available I was not terribly impressed. I've done some initial work based on existing products, but I felt this would be a good place to ask: what exactly do you WANT from a

How do I disable the Symfony 2 profiler bar?

限于喜欢 提交于 2019-12-03 01:36:01
问题 It's not adding anything and it makes the page slower and I want it gone. Don't ask. There's little about the profiler on the website and nothing in the app config. 回答1: This setting is in app/config/config_dev.yml : web_profiler: toolbar: true intercept_redirects: false 回答2: Additional: if you want to disable it for a special action in your controller than use this: if ($this->container->has('profiler')) { $this->container->get('profiler')->disable(); } 回答3: If you set framework.profiler

What do you use for profiling in Eclipse, now that TPTP is going to be archived?

六月ゝ 毕业季﹏ 提交于 2019-12-02 23:31:21
Have you found a good alternative to TPTP, which is being archived , to profile Java applications in Eclipse? I understand this is not exactly a programming question, so please just drop me a message if this is not appropriate for Stack Overflow. EDIT: There's also a relevant question, from 2008 here but I was looking for something a little more updated. VisualVm, that comes with the JDK itself is good for some CPU and memory profiling, though, it doesn't integrate well with eclipse. YourKit is a great profiling tool that integrates quite well with eclipse but its not free. You will need to

VS2010 profiler : is it possible to profile one specific method?

风格不统一 提交于 2019-12-02 21:18:32
Possibly some methods to turn on and turn off profiling from code? Or can you select a specific function to profile ? You can also use the profiler's data collection API to start and stop profiling around the methods you're interested in. See this MSDN article for a walkthrough. The best way to use the API in this case would be to call StartProfile just before your methods execute and then call StopProfile just after. You should start profiling via the "Start With Profiling Paused" option so you don't start profiling until you hit the first call to StartProfile . Using the data collection API

Is there a “function size profiler” out there?

冷暖自知 提交于 2019-12-02 17:41:59
After three years working on a C++ project, the executable has grown to 4 MB. I'd like to see where all this space is going. Is there a tool that could report what the biggest space hogs are? It would be nice to see the size by class (all functions in a class), by template (all instantiations), and by library (how much belongs to the C standard library and STL? how much for each library in the exe?) Edit: Note, I am using Visual C++ on Windows. In Linux , you can use nm to show all symbols in the executable and to sort them in reverse order by size: $ nm -CSr --size-sort <exe> Options: -C