RFR: 8348638: Performance regression in Math.tanh [v7]

Mohamed Issa duke at openjdk.org
Sat Apr 26 04:11:49 UTC 2025


On Fri, 25 Apr 2025 12:07:33 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> I switched to individual static final fields with constant values. There are separate micro-benchmarks included as well.
>
> Hi @missa-prime , I still feel that due to new parameter we have significantly increased the overall benchmark execution time as other kernels are redundantly executed multiple times.
> 
> Please find attached a reference implementation of new benchmark and lets revert adding new parameters from MathBench.java
> [TanhPerf.txt](https://github.com/user-attachments/files/19907952/TanhPerf.txt)

Thanks Jatin. The new benchmark is included.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23889#discussion_r2061149870


More information about the hotspot-compiler-dev mailing list