RFR: 8223078: Add microbenchmark for array copying/clearing/resizing
Claes Redestad
claes.redestad at oracle.com
Mon Apr 29 21:56:24 UTC 2019
On 2019-04-29 19:03, Martin Buchholz wrote:
>
> On Mon, Apr 29, 2019 at 9:49 AM Doug Lea <dl at cs.oswego.edu
> <mailto:dl at cs.oswego.edu>> wrote:
>
> On 4/29/19 12:39 PM, Martin Buchholz wrote:
> > 8223078: Add microbenchmark for array copying/clearing/resizing
> > https://cr.openjdk.java.net/~martin/webrevs/jdk/ArrayFiddle-jmh/
> > https://bugs.openjdk.java.net/browse/JDK-8223078
> >
>
> Looks good, although even more informative would be to try some
> different sizes to see if there are any size-dependent trends.
>
>
> A future enhancement could be to @Param-ize the SIZE.
> doc/testing.md should explain how to set @Param values using make - it's
> not obvious.
This should work:
make test TEST="micro:foo" MICRO="OPTIONS=-p SIZE=1024,2048"
/Claes
More information about the core-libs-dev
mailing list