| |
|
| org.netbeans.performance.Benchmark org.netbeans.performance.bundle.PropertiesTest
PropertiesTest | public class PropertiesTest extends Benchmark (Code) | | Benchmark measuring the difference between using plain Properties
vs. Properties that intern either keys of both keys and vaules.
author: Petr Nejedly version: 1.0 |
setUp | protected void setUp()(Code) | | |
testInternBoth | public void testInternBoth() throws Exception(Code) | | Creates an instance of a special subclass of java.util.Properties
which interns both keys and parsed strings during properties parsing,
then feeds it with a stream from a Bundle.properties.file
|
testInternKeys | public void testInternKeys() throws Exception(Code) | | Creates an instance of a special subclass of java.util.Properties
which interns keys during properties parsing, then
feeds it with a stream from a Bundle.properties.file
|
testOriginalProperties | public void testOriginalProperties() throws Exception(Code) | | Creates an instance of standard java.util.Properties and feeds it with
a stream from a Bundle.properties.file
|
|
|
|