Madusudanan
Madusudanan

Reputation: 1017

Java Profiling for Disk Usage

I want to currently profile my application which uses JCS for caching.I have used the default profiler which comes with netbeans IDE and it proves satisfactory for memory.But I want to profile my application for disk usage,because my app caches items in disk I want to verify its performance.Is there a way to do this using the profiler that comes with netbeans or using any commercial profiler such as JProfiler. Thanks in advance

Upvotes: 6

Views: 2311

Answers (2)

Ingo Kegel
Ingo Kegel

Reputation: 47965

JProfiler has a file probe that will show you:

  • a time line of files and the I/O activities on them
  • a list of all files with their I/O statistics
  • "hot spots", i.e. files on which most read/write operations are performed together with cumulated back traces to your code
  • telemetries for total read and write throughput
  • an "events" view showing single I/O operations

enter image description here

Disclaimer: My company develops JProfiler

Upvotes: 6

Yrlec
Yrlec

Reputation: 3458

You can do this using one of the built-in probes in JProfiler.

Upvotes: 3

Related Questions