The GitHub Actions job "Fory CI" on fory.git/main has succeeded. Run started by GitHub user chaokunyang (triggered by chaokunyang).
Head commit for run: ed07a5e47f79256d524c18c12305b1fcf418b6ae / Seppe Volkaerts <[email protected]> perf(java): Improve zone offset deserialization performance by overriding JDK caching (#2336) ## What does this PR do? The JDK `ZoneOffset.ofTotalSeconds(...)` method uses a concurrent hash map for caching zone offsets with values for each 15 minutes (UTC, +01:00, +01:15, etc.), this causes a noticeable overhead when deserializing a lot of zone offsets. This PR overrides that caching for the single byte representation using an array, which is in line with the 15 minute JDK caching. ## Related issues <!-- Is there any related issue? Please attach here. - #xxxx0 - #xxxx1 - #xxxx2 --> ## Does this PR introduce any user-facing change? <!-- If any user-facing interface changes, please [open an issue](https://github.com/apache/fory/issues/new/choose) describing the need to do so and update the document if necessary. --> - [ ] Does this PR introduce any public API change? - [ ] Does this PR introduce any binary protocol compatibility change? ## Benchmark <!-- When the PR has an impact on performance (if you don't know whether the PR will have an impact on performance, you can submit the PR first, and if it will have impact on performance, the code reviewer will explain it), be sure to attach a benchmark data here. --> --------- Signed-off-by: Seppe Volkaerts <[email protected]> Report URL: https://github.com/apache/fory/actions/runs/15646503636 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
