profiler

How exactly does gprof work?

落花浮王杯 提交于 2019-11-26 14:08:05
问题 This is something of a bloated question, so I apologize ahead of time. I'm curious about how gprof works on a low technical level. I understand it's done by timers, but then why does the executable need to be specially compiled to be profiled? Does the compilation cause space to be allocated for statistics? Also, how is the timing done exactly? 回答1: Well, this gives a good explanation. Also this explains statistical profiling Essentially gprof will change the executable of your program (this

Understanding Firebug profiler output

本小妞迷上赌 提交于 2019-11-26 12:02:34
问题 I\'ve been trying to use Firebug\'s profiler to better understand the source of some JavaScript performance issues we are seeing, but I\'m a little confused by the output. When I profile some code the profiler reports Profile (464.323 ms, 26,412 calls) . I suspect that the 464.323 ms is the sum of the execution time for those 26,412 calls. However, when I drill down into the detailed results I see individual results with an average execution time greater than 464.323 ms, e.g. the result with

Good profiler for Fortran and MPI

感情迁移 提交于 2019-11-26 09:46:22
问题 Which profiler do you use for Fortran code base with MPI in it? gprof doesn\'t seem to be working correctly. Sun Studio Analyzer only returns the timings for the C/C++ system calls and none of the fortran functions appear. 回答1: There are a number of performance analysis tools specialized for Parallel/MPI Programs, such as: Score-P, which works with a number of different Analysis tools, e.g. Cube, Vampir HPCToolkit uses sampling only, so you do not have to recompile your application Tau At

How to profile memory usage?

陌路散爱 提交于 2019-11-26 09:41:12
问题 I am aware of Valgrind, but it just detects memory management issues. What I am searching is a tool that gives me an overview, which parts of my program do consume how much memory. A graphical representation with e.g. a tree map (as KCachegrind does for Callgrind) would be cool. I am working on a Linux machine, so windows tools will not help me very much. 回答1: Use massif, which is part of the Valgrind tools. massif-visualizer can help you graph the data or you can just use the ms_print

How to efficiently use Rprof in R?

人盡茶涼 提交于 2019-11-26 08:44:46
问题 I would like to know if it is possible to get a profile from R -Code in a way that is similar to matlab \'s Profiler. That is, to get to know which line numbers are the one\'s that are especially slow. What I acchieved so far is somehow not satisfactory. I used Rprof to make me a profile file. Using summaryRprof I get something like the following: $by.self self.time self.pct total.time total.pct [.data.frame 0.72 10.1 1.84 25.8 inherits 0.50 7.0 1.10 15.4 data.frame 0.48 6.7 4.86 68.3 unique

Best .NET memory and performance profiler? [closed]

泪湿孤枕 提交于 2019-11-26 03:54:29
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 8 years ago . We are using JetBrains\' dotTrace. What other profiling tools can be recommended that are better for profiling C# Windows Forms

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

浪尽此生 提交于 2019-11-26 03:49:23
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . i work with sql server, but i must migrate to an application with Oracle DB. for trace my application queries, in Sql Server i use wonderful Profiler tool. is there something of equivalent for Oracle? 回答1: You can use The Oracle Enterprise Manager to monitor the active sessions, with the query that is being

Open Source Java Profilers

╄→гoц情女王★ 提交于 2019-11-26 01:45:07
问题 What can you guys recommend to use with Java? Only requirement is it should be open source, or has not too expensive academic licence . 回答1: The VisualVM which comes with jdk6 has a basic profiler inside it. VisualVM is provided with the jdk, so if you have the jdk6 installed, you likely have it installed as well. https://visualvm.github.io/ 回答2: you've got a list here (listing them below, in-case link gets broken) JMemProf JMP DrMem JTreeProfiler NetBeans Profiler JAMon API JBoss Profiler

Any decent C# profilers out there? [closed]

强颜欢笑 提交于 2019-11-26 00:27:43
问题 I need a C# profiler. Although I\'m not averse to paying for one, something which is free or at least with a trial version would be ideal since it takes time to raise a purchase order. Any recommendations? 回答1: You can try the following: nprof (free but kinda old) ProfileSharp (open source) .Net Memory Profiler (really good for memory leaks, there's a trial version) Edit: Nprof has been replaced with SlimTune and works with .Net 4.0 applications 回答2: I used Ants profiler on a large c# project

What Are Some Good .NET Profilers?

我的未来我决定 提交于 2019-11-25 23:56:16
问题 What profilers have you used when working with .net programs, and which would you particularly recommend? 回答1: 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 seems to give spurious results