RFR: 8294137: Review running times of java.math tests
Brian Burkhalter
bpb at openjdk.org
Wed Mar 1 23:44:17 UTC 2023
On Wed, 1 Mar 2023 23:36:04 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Break up `BigIntegerTest` and `SymmetricRangeTests` into subsets which are run quasi-randomly as a function of second within the minute at the time the test is running. `LargeValueExceptions` does not appear amenable to this treatment.
The full running time of `BigIntegerTest` was measured using `time` to be `24.983s`. The running times of its subsets were measured to be
| subset | run time (s) |
|--------|--------------|
| 1 | 14.379 |
| 2 | 10.946 |
| 3 | 18.033 |
The full running time of `SymmetricRangeTests` was measured using `time` to be `42.191s`. The running times of its subsets were measured to be
| subset | run time (s) |
|--------|--------------|
| 1 | 16.997 |
| 2 | 16.838 |
| 3 | 16.047 |
| 4 | 19.276 |
Note that in both cases the overhead of each subset is probably about the same as that of the full test.
-------------
PR: https://git.openjdk.org/jdk/pull/12819
More information about the core-libs-dev
mailing list