RFR: 8276764: Enable deterministic file content ordering for Jar and Jmod
Andrew Leonard
aleonard at openjdk.java.net
Thu Nov 18 11:45:41 UTC 2021
On Wed, 17 Nov 2021 19:16:28 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> Just to verify, this test jar had 16000 files in a single directory? Since having 100 files in 160 directories would not have the same impact, right?
@magicus so the first test I did was 16,000 files in multiple directories, as I thought that was more representative, and would involve multiple small sorts vs one large sort.
I have just re-run the tests again, for both 16000 multi-dir and 16000 single dir, and the results are similar:
16000 multi-dir x50:
Existing code: 291 seconds (variance: +/- 3 seconds)
New patch: 293 seconds (variance: +/- 3 seconds)
16000 single-dir x50:
Existing code: 235 seconds (variance: +/- 3 seconds)
New patch: 237 seconds (variance: +/- 3 seconds)
-------------
PR: https://git.openjdk.java.net/jdk/pull/6395
More information about the compiler-dev
mailing list