Swing Performance Test

We have a Java Swing application, which is basically a two-tier application - a user interface layer that connects to the database and does some hard work at both levels.

We are seeing some performance issues with the application and are looking for strategies to download the test.

Basically, our goal is to run several instances of this application and simulate a load that will help us determine these performance conditions in a test environment.

I am looking for suggestions on how we can do this:

  • Any tools you would recommend?
  • Approaches (virtualization? / Citrix)

Please let me know if you need more information to help you answer this question.

+3
source share
3 answers

Well, I was sure you had JTable .... This is probably a HUGE part of the problem.

But it can be solved, I do not know how to copy the link to the previous answer I made, but mainly for financial data and JTable, you want to read the following ...

Sun has a tutorial for this purpose, called the “Christmas Tree,” which specifically addresses “frequently updated data, such as financial data.” Swing / JTable Slow Motion Issues.

Here you will find: "How to create a frequently updated JTable that works well":

http://java.sun.com/products/jfc/tsc/articles/ChristmasTree/

, , : .

, JTable , GC , : , .. .

, , , , , . JTable, :)

, , JTable .

" " (, ;), , , JTable .

, , , Sun, . .

+3

, , Swing. . . .

+2

, , , - . , , , , , . , API ( API- ).

. JMeter - , , Google .

It really makes it easier to test the module to modulate the code and highlight the user interface and business code, so it will be easier to isolate the components and determine where your performance bottlenecks are. If most of the logic is outside the user interface, you can also use standard Java profilers to find out where most of the time is spent.

0
source

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


All Articles