History log of /libcore/benchmarks/src/benchmarks/ReferenceBenchmark.java
Revision Date Author Comments
15328602ac817be9cf1fc476988394416e797876 06-Jan-2016 Richard Uhler <ruhler@google.com> Improve performance of Reference processing.

By using synchronization on the ReferenceQueue instead of volatile
modifiers, and adding internal support for ReferenceQueue batch
enqueue and remove.

ReferenceBenchmark improvements on hammerhead:
Alloc 250 => 150
AllocAndEnqueue 1060 => 612
AllocEnqueueAndPoll 1300 => 725
AllocEnqueueAndRemove 1350 => 812
AllocImplicitEnqueueAndRemove 7000 => 1758
Finalization 10000 => 6095

Bug: 24404957
Change-Id: I6c3e83f7c34f5c22b001e513b50c932a0d54fd43
ea13f8291a92b6f47f50011da1d5e8c107984bc3 30-Nov-2015 Paul Duffin <paulduffin@google.com> Switch to latest version of Caliper

Convert the benchmarks to the latest version of Caliper.

Bug: 24848946
Change-Id: Iac04b30dac61ccb397a6685890da64bae4d3b318
37963471cbe26706a9d9d4a575cce1502e788c37 29-Oct-2015 Richard Uhler <ruhler@google.com> Add Reference/ReferenceQueue benchmark.

Bug: 24404957
Change-Id: I45ce4c6b897562b493e380bdba40ec99763493eb