jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [Bug 54453] New: Performance enhancements : Replace Randomw by ThreadLocalRandom
Date Mon, 21 Jan 2013 12:10:20 GMT
This would be better as a discussion on the developer list initially.

Once agreement is reached, can create a bugzilla enhancement for
tracking the code updates.

On 21 January 2013 11:21,  <bugzilla@apache.org> wrote:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=54453
>
>             Bug ID: 54453
>            Summary: Performance enhancements : Replace Randomw by
>                     ThreadLocalRandom
>            Product: JMeter
>            Version: 2.8
>           Hardware: All
>                 OS: All
>             Status: NEW
>           Severity: enhancement
>           Priority: P2
>          Component: Main
>           Assignee: issues@jmeter.apache.org
>           Reporter: p.mouawad@ubik-ingenierie.com
>     Classification: Unclassified
>
> Hello,
> Java 7 introduced ThreadLocalRandom which has much better performances than
> using Random as static instance.
> See:
>
> http://docs.oracle.com/javase/tutorial/essential/concurrency/threadlocalrandom.html
> http://niklasschlimm.blogspot.fr/2012/01/java-7-how-to-write-really-fast-java.html
>
>
> Implementation is here for Java6 but can we use it with Apache License ?:
> https://github.com/codahale/metrics/blob/master/metrics-core/src/main/java/com/yammer/metrics/stats/ThreadLocalRandom.java
>
> Or should we migrate to Java 7 as Java6 will be soon EOL ?
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.

Mime
View raw message