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

Laurent Bourgès lbourges at openjdk.org
Thu Jan 18 09:02:20 UTC 2024


On Mon, 15 Jan 2024 11:14:40 GMT, Alexey Ushakov <avu 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

I will add table header and also refine statistics to give MAD (Median absolute deviation) to give a robust estimator for result dispersion.

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

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


More information about the client-libs-dev mailing list