Java class for performance analysis of my project

Asked

Viewed 84 times

4

I’m looking for a Java class or bundle to help me analyze the performance of my app. I need information such as: processing time, memory consumption, processor usage ... and so on. I know there are some tools to do this, but I want to incorporate this kind of analysis into my project. Is there any way to do this? Thanks for the help!

  • Hello, Gilliano. Welcome to [en.so]! You’re wondering about an app mobile, Nterprise, desktop or some other specific type?

  • Hello! I’m wondering about a desktop app.

  • Is there a reason you don’t want to use the existing tools? Because, in my view, developing something of its own is going to be extremely complicated and laborious, as well as redundant. It can also be too specific. For example, if you want to build something for Windows, you can use native counters (this is an example using C# and Java via JNI) - still your monitoring will be of JVM and not necessarily of your code.

  • Hi Luiz! It’s not that I don’t want to try existing tools. I actually want to integrate them into my project, so that the user doesn’t have to leave the environment and run another program, you understand?

1 answer

2

Have you tried jmeter? for javaEE testing no better. Supports proxy and certificate configuration.

  • You can integrate Jmeter into the project to test it while running on the production server?

  • 1

    JMETER is configured as a client application, independent of being local, remote or even a third party website... At first it "RECORDS" all the actions that Oce performs with it started, then plays all the actions that Oce executed, be it post, get, redirect or access... and Oce determines how many runs it will repeat and how many times it will repeat. It is possible to determine constants and variables for it. In order for it to intercept your requests, vc sets it up as a proxy, where the browser goes through it and it records every request.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.