History log of /libcore/benchmarks/src/benchmarks/regression/NumberFormatBenchmark.java
Revision Date Author Comments
07027765da27d4a7ba0c7e22b62a69b054badff7 15-Feb-2018 Anton Hansson <hansson@google.com> Remove cachedLocaleData from NumberFormat.

This was removed upstream in this commit:
http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/131a683a2ce0

Benchmarking suggests it doesn't make a meaningful difference.

Before
Experiment {instrument=runtime, benchmarkMethod=time_instantiation, vm=default, parameters={}}
Results:
runtime(ns): min=191854.43, 1st qu.=191854.43, median=191854.43, mean=191854.43, 3rd qu.=191854.43, max=191854.43

After
Experiment {instrument=runtime, benchmarkMethod=time_instantiation, vm=default, parameters={}}
Results:
runtime(ns): min=192328.06, 1st qu.=192328.06, median=192328.06, mean=192328.06, 3rd qu.=192328.06, max=192328.06

Bug: 31930415
Bug: 35910877
Test: Ran CtsLibcoreTests and the new benchmark
Change-Id: I2b272b1ca3a53dd6410ee0d5e9ec672c361fb60c