RFR: 8223078: Add microbenchmark for array copying/clearing/resizing

Martin Buchholz martinrb at google.com
Tue Apr 30 18:11:29 UTC 2019


On Mon, Apr 29, 2019 at 2:56 PM Claes Redestad <claes.redestad at oracle.com>
wrote:

>
> This should work:
>
> make test TEST="micro:foo" MICRO="OPTIONS=-p SIZE=1024,2048"
>

Thanks for the help!  Something like this should go into doc/testing.md

I found that running one value of the param at a time works best for me:

(cd $(hg root) && for size in 3 16 999 999999; do make test
TEST="micro:java.lang.ArrayFiddle"
MICRO="FORK=2;WARMUP_ITER=4;ITER=4;OPTIONS=-opi $size -p size=$size" |&
perl -ne 'print if /^Benchmark/ .. /^Finished running test/'; done)


More information about the core-libs-dev mailing list