Questions tagged [profiling]

17 questions
64
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
  • 641
  • 1
  • 5
  • 4
8
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…
ktsujister
  • 263
  • 1
  • 6
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?
4
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
  • 93
  • 5
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
  • 458
  • 1
  • 6
  • 18
3
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
  • 131
  • 1
  • 7
3
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
  • 185
  • 8
2
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,687
  • 3
  • 16
  • 13
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
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
  • 121
  • 4
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"…
user37552
  • 21
  • 1
  • 3
1
vote
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,476
  • 6
  • 26
  • 44
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
  • 3
0
votes
0 answers

How to profile long session initialization during boot process in Windows 8?

My computer started to boot for 10 minutes. It has SSD system drive and was booting for 15 seconds previously. Is it possible to know, what does it doing during this time? The delay occurs before logon screen appears. I mean what I am observing for…
Dims
  • 12,244
  • 78
  • 161
  • 252
0
votes
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,177
  • 16
  • 59
  • 91
1
2