Java profiling for disk usage

I want to currently profile my application that uses JCS for caching. I used the default profiler that comes with the netbeans IDE, and this proves satisfactory for memory. But I want to profile my application for disk usage, because my application caches items on the disk I want to check its performance. Is there a way to do this using the profiler that comes with netbeans or using any commercial profiler like JProfiler. thanks in advance

+6
source share
2 answers

JProfiler has a test file that will show you:

  • temporary line of files and input / output actions on them
  • list of all files with I / O statistics
  • "hot spots", that is, files on which most read / write operations are performed along with accumulated backtraces to your code.
  • telemetry for full read and write bandwidth.
  • "events" view showing individual I / O operations

enter image description here

Disclaimer: my company is developing JProfiler

+5
source

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

+3
source

Source: https://habr.com/ru/post/903172/


All Articles