Questions tagged [profiling]

19 questions
77
votes
4 answers

Is there any command like time, but for memory usage?

Is there any command like time, but that reports more statistics? It would be great if I could do something like: $ statistics some_command time: real 0m3.002s user 0m0.000s sys 0m0.000s memory: min 41K peak …
Peter
  • 771
9
votes
1 answer

Is there a way to print out execution time (wall time) in zsh when it exceeds certain configurable threshold?

@mpy 's comment was correct. So I'm rephrasing my question. I really like REPORTTIME feature in zsh, but it only reports time when user+system time is greater than $REPORTTIME according to zsh doc. Is there a way to make zsh report time when wall…
7
votes
1 answer

Profiling add-ons in firefox

One new feature of ie9 I like is that it alerts you to which add-ons are making your browser run slowly. Is there a way to get access to similar information in firefox?
5
votes
2 answers

Are processes in Windows 7 cached?

I'm profilling my java application using Windows Performance Analyser. My app is a simple parser, which uses external command-line program to parse files. This external program is called for each file. Here is how it looks when executed in Windows…
Kao
  • 103
4
votes
2 answers

The "gmon.out" file is getting created everywhere

Every time I run a program, or exit a shell. There will be a "gmon.out" file generated at the working directory. How to stop this behavior?
Jon
  • 141
  • 1
  • 7
4
votes
4 answers

Good software to monitor disk io, memory and cpu use?

I'm developing a website. I was wondering if there are any tools out there that make it easy to log and graph usage statistics of how my cpu, memory, disk and network are used. I need to somehow know when I need to scale up / when I'm going to get…
Blub
  • 468
4
votes
1 answer

What is Firefox personality provider?

I just recognised the Firefox folder AppData\Local\Mozilla\Firefox\Profiles\[profile]\personality-provider containing a bunch of JSON files which all have categories/topics in their names like "travel", "real_estate", "arts_and_environment" and…
florien
  • 257
3
votes
1 answer

How to measure memory bandwidth usage

I am trying to determine how close to being bandwidth-limited a code I have written is, so I was wondering whether there are any tools out there to determine memory bandwidth usage? The code I have is a command-line *nix code, and if possible I'd…
astrofrog
  • 1,847
  • 3
  • 17
  • 14
3
votes
3 answers

Is there any way I can measure the runtime of a program in DOS?

I just want to measure the time it takes a program to go from start to finish. In UNIX - I can use the time command. Is there any way to do this in a MS DOS or FreeDOS?
Coder
  • 170
2
votes
0 answers

Tool similar to `strace` but for CPU instructions

I am hoping to find something similar to strace which will yield the instructions used by the CPU. For example, I have a simple loop which calculates a sum and prints out every tenth iteration float fsum = 0.0; for(int i = 0; i < 1000; i++) { …
drjrm3
  • 1,556
2
votes
1 answer

How to build a profile of my Macbook Pro

I'm about to purchase a new macbook pro since mine is beginning to show signs of early death (hardware failure, not worth fixing, its an old laptop from the first generation of MBPs). I'm not sure whether I should invest my money in a more powerful…
Che Kofif
2
votes
1 answer

How do you start a line-by-line profiling with JetBrains dotTrace 2024.1 using the API?

I'm trying to profile the performance of a class in an .NET application. I have JetBrains dotTrace 2024.1, which can profile: Sampling, Timeline, Tracing and Line-by-Line. I want to start and end a line-by-line profiling programmatically from within…
2
votes
0 answers

Process Explorer (sysinternals), save lines/graphs as txt?

I'm using the "Process Explorer" from sysinternals to monitor the memory consumption of a specific process over time. This is quite helpful for the first step. For I a deeper analysis I would like to save the curves of the "performance graph"…
1
vote
1 answer

profiling file reading speed via /dev/null?

I am profiling the speed at which a certain Linux program reads a certain input file using different amount of threads by doing this: time ~/src/myprogram -t $t inputfile 1>/dev/null 2>/dev/null It seems like no matter what number of threads I use,…
719016
  • 4,683
1
vote
2 answers

How do I identify resource hogs on Firefox?

I have installed a package of Firefox extensions that installed a few extensions to my Firefox. Recently I have noticed, that the resource consumption of the Firefox process rose to unacceptable levels for my rather weak Laptop. How can I identify…
Tarrasch
  • 135
1
2