RFR: JDK-8323695 RenderPerf (2D) enhancements (23.12)

Alexey Ushakov avu at openjdk.org
Mon Jan 15 11:43:19 UTC 2024


On Fri, 12 Jan 2024 21:34:32 GMT, Laurent Bourgès <lbourges at openjdk.org> wrote:

> - new executor modes (buffer & volatile)
> - support parallel rendering on several frames and / or screens
> - added robot calibration + optionally use rounded duration to min frame latency (120Hz)
> - give more statistics in verbose (-v)
> - added new command-line arguments
> - added version + help information

test/jdk/performance/client/RenderPerfTest/src/renderperf/RenderPerfTest.java line 1246:

> 1244:                         nData);
> 1245:             }
> 1246:             return String.format("%-25s : %.3f (%.3f) %s", name, scores[0], scores[1], (USE_FPS ? "FPS" : "ms"));

Just a minor note:
It's not easy to understand the meaning of the value in brackets from the output. Some hints like a table header with column names printed before the results could be useful here.

java -jar dist/RenderPerfTest.jar
Using GraphicsConfiguration(s): [0:0][MTLGraphicsConfig[Display 1]] 
ArgbSurfaceBlitImage[1]   : 60.497 (10.408) FPS
ArgbSwBlitImage[1]        : 11.226 (0.569) FPS
BgrSurfaceBlitImage[1]    : 59.700 (10.446) FPS

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17408#discussion_r1452246743


More information about the client-libs-dev mailing list