RFR: 8318603: Parallelize sun/java2d/marlin/ClipShapeTest.java
Laurent Bourgès
lbourges at openjdk.org
Tue Feb 6 10:52:52 UTC 2024
On Tue, 6 Feb 2024 03:10:36 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> The ClipShapeTest test is split into 4 different tests which could be executed in parallel.
>
> The execution time is changed from:
>
>
> ==============================
> Test summary
> ==============================
> TEST TOTAL PASS FAIL ERROR
> jtreg:test/jdk/sun/java2d/marlin/ClipShapeTest.java
> 1 1 0 0
> ==============================
> TEST SUCCESS
>
> Finished building target 'run-test' in configuration 'macosx-aarch64-server-release'
>
> real 2m58.673s
> user 3m8.847s
> sys 0m11.845s
>
>
> to:
>
>
> ==============================
> Test summary
> ==============================
> TEST TOTAL PASS FAIL ERROR
> jtreg:test/jdk/sun/java2d/marlin/ClipShapeTest.java
> 4 4 0 0
> ==============================
> TEST SUCCESS
>
> Finished building target 'run-test' in configuration 'macosx-aarch64-server-release'
>
> real 1m17.752s
> user 3m25.308s
> sys 0m12.987s
LGTM, not an official reviewer.
I can check this test to select the minimal needed cases to detect regression (132 combinations for now) and reduce even more test wallclock time.
I suppose 3m25 user time is costly on ci infrastructure anyway if repeated too much.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17719#issuecomment-1929250280
More information about the client-libs-dev
mailing list