How to find cpu, io, memory usage of download page in web application

I wrote a Java file using Jsp, servlets for which I would like to run runtime tests. I had never done this before, and I was just curious how to do it.

What I am interested to know, besides the actual timings, is how to find the processor, memory, and using io when starting the application. Your thoughts are appreciated.

+3
source share
3 answers

Usually you do not measure them from the application, but run another tool on the same host.

, โ€‹โ€‹, top ( * nix-) Windows, CPU//- Java- ( , Tomcat).

Java, JConsole jvisualvm, VM ( ) . ( Java 6 - Java , Java 5 Java, () JMX-.)

, , (-, ), . Java - YourKit JProfiler ( ). , IDE NetBeans . , , , "" , , / , , , .

+1

Java- - JMX JConcole

, Weblogic WebSphere, , , . , , - JMX, JConsole. , Weblogic.

0

, (). Java.

, : FireBug ySlow. , .

I combine it using a regular task manager to view additional information about the browser.

BR

-1
source

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


All Articles