RFR: 8328154: Convert sun/java2d/loops/CopyAreaSpeed.java applet test to main

Abhishek Kumar abhiscxk at openjdk.org
Mon Mar 18 12:20:28 UTC 2024


On Thu, 14 Mar 2024 10:39:15 GMT, Tejesh R <tr at openjdk.org> wrote:

> Convert  sun/java2d/loops/CopyAreaSpeed.java manual applet test to main based using PassFailJFrame. This is a performance measurement test which provide benchmark to compare the outcome with different releases. I have converted the test using a PassFailJFrame though PASS/FAIL doesn't matter here. The result have been shown in `JOptionPane` message.

Marked as reviewed by abhiscxk (Committer).

test/jdk/sun/java2d/loops/CopyAreaSpeed.java line 52:

> 50:                     "of copyArea calls to be completed. Because the performance ",
> 51:                     "measurement is relative, this code only provides a benchmark ",
> 52:                     "to run with different releases to compare the outcomes."

Bit of clean-up, double-quotes can be removed.

-------------

PR Review: https://git.openjdk.org/jdk/pull/18296#pullrequestreview-1942798677
PR Review Comment: https://git.openjdk.org/jdk/pull/18296#discussion_r1528434348


More information about the client-libs-dev mailing list