On Fri, 13 Oct 2023 08:17:58 GMT, Quan Anh Mai <qa...@openjdk.org> wrote:

> @himichael Please refer to [this 
> question](https://stackoverflow.com/questions/504103/how-do-i-write-a-correct-micro-benchmark-in-java)
>  for how to correctly benchmark Java code.   

thanks for your reply, but I think this has nothing to do with benchmark.   
I sort a random array of int[], use: ```java.util.Arrays.sort()```    
in jdk 8, run command:  
```java JDKSort``` , the result display: 15079 ms   
   
in open jdk 22.19 , run command:   
```java --add-modules jdk.incubator.vector JDKSort```   
the result display:  11619 ms     
   
my question is that this feature should improve performance several times, but 
it doesn't look like there's much difference between open jdk 22.19 and jdk 8.  
 
is there a problem with my configuration ?

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

PR Comment: https://git.openjdk.org/jdk/pull/14227#issuecomment-1761289130

Reply via email to