On Thu, 19 Jan 2023 09:46:12 GMT, Claes Redestad <redes...@openjdk.org> wrote:

> FWIW the micro is derived from the sibling `ZipFileGetEntry` micro in the 
> same directory. It's not exactly necessary for this use case to add such a 
> benchmark, but I think there's value in verifying that optimizing 
> `checkedHash` improves `ZipFile` setup and adding the micro might allow us to 
> find further opportunities down the line.

I've no doubt it improves checkedHash, it's just that open the zip file and 
reading in the CEN probably dominates when not in the file system cache.

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

PR: https://git.openjdk.org/jdk/pull/12077

Reply via email to