Examples of addProduct()


Examples of com.thoughtworks.xstream.tools.benchmark.Harness.addProduct()

            }
            if (name == null || name.equals("Woodstox")) {
                harness.addProduct(new XStreamWoodstox());
            }
            if (JVM.is16() && (name == null || name.equals("SJSXP"))) {
                harness.addProduct(new XStreamSjsxp());
            }
            if (name == null || name.equals("Xpp3")) {
                harness.addProduct(new XStreamXpp3());
            }
            if (name == null || name.equals("kXML2")) {
View Full Code Here

Examples of com.thoughtworks.xstream.tools.benchmark.Harness.addProduct()

            }
            if (JVM.is16() && (name == null || name.equals("SJSXP"))) {
                harness.addProduct(new XStreamSjsxp());
            }
            if (name == null || name.equals("Xpp3")) {
                harness.addProduct(new XStreamXpp3());
            }
            if (name == null || name.equals("kXML2")) {
                harness.addProduct(new XStreamKXml2());
            }
            if (name == null || name.equals("Xpp3DOM")) {
View Full Code Here

Examples of com.thoughtworks.xstream.tools.benchmark.Harness.addProduct()

            }
            if (name == null || name.equals("Xpp3")) {
                harness.addProduct(new XStreamXpp3());
            }
            if (name == null || name.equals("kXML2")) {
                harness.addProduct(new XStreamKXml2());
            }
            if (name == null || name.equals("Xpp3DOM")) {
                harness.addProduct(new XStreamXpp3DOM());
            }
            if (name == null || name.equals("kXML2DOM")) {
View Full Code Here

Examples of com.thoughtworks.xstream.tools.benchmark.Harness.addProduct()

        if (product == null) {
            harness.addProduct(new NoCache());
            harness.addProduct(new Cache122());
            harness.addProduct(new RealClassCache());
            harness.addProduct(new SerializedClassCache());
            harness.addProduct(new AliasedAttributeCache());
            harness.addProduct(new DefaultImplementationCache());
            harness.addProduct(new NoCache());
        } else {
            harness.addProduct(product);
        }
View Full Code Here

Examples of com.thoughtworks.xstream.tools.benchmark.Harness.addProduct()

            }
            if (name == null || name.equals("kXML2")) {
                harness.addProduct(new XStreamKXml2());
            }
            if (name == null || name.equals("Xpp3DOM")) {
                harness.addProduct(new XStreamXpp3DOM());
            }
            if (name == null || name.equals("kXML2DOM")) {
                harness.addProduct(new XStreamKXml2DOM());
            }
            if (commandLine.hasOption('n')) {
View Full Code Here

Examples of com.thoughtworks.xstream.tools.benchmark.Harness.addProduct()

            }
            if (name == null || name.equals("Xpp3DOM")) {
                harness.addProduct(new XStreamXpp3DOM());
            }
            if (name == null || name.equals("kXML2DOM")) {
                harness.addProduct(new XStreamKXml2DOM());
            }
            if (commandLine.hasOption('n')) {
                counter = Integer.parseInt(commandLine.getOptionValue('n'));
            }
        } catch (ParseException e) {
View Full Code Here

Examples of com.thoughtworks.xstream.tools.benchmark.Harness.addProduct()

            harness.addProduct(new NoCache());
            harness.addProduct(new Cache122());
            harness.addProduct(new RealClassCache());
            harness.addProduct(new SerializedClassCache());
            harness.addProduct(new AliasedAttributeCache());
            harness.addProduct(new DefaultImplementationCache());
            harness.addProduct(new NoCache());
        } else {
            harness.addProduct(product);
        }
        harness.addTarget(new BasicTarget());
View Full Code Here

Examples of com.thoughtworks.xstream.tools.benchmark.Harness.addProduct()

            harness.addProduct(new Cache122());
            harness.addProduct(new RealClassCache());
            harness.addProduct(new SerializedClassCache());
            harness.addProduct(new AliasedAttributeCache());
            harness.addProduct(new DefaultImplementationCache());
            harness.addProduct(new NoCache());
        } else {
            harness.addProduct(product);
        }
        harness.addTarget(new BasicTarget());
        harness.addTarget(new ExtendedTarget());
View Full Code Here

Examples of com.thoughtworks.xstream.tools.benchmark.Harness.addProduct()

            harness.addProduct(new SerializedClassCache());
            harness.addProduct(new AliasedAttributeCache());
            harness.addProduct(new DefaultImplementationCache());
            harness.addProduct(new NoCache());
        } else {
            harness.addProduct(product);
        }
        harness.addTarget(new BasicTarget());
        harness.addTarget(new ExtendedTarget());
        harness.addTarget(new ReflectionTarget());
        harness.addTarget(new SerializableTarget());
View Full Code Here

Examples of com.thoughtworks.xstream.tools.benchmark.Harness.addProduct()

*/
public class StringsBenchmark {
    public static void main(String[] args) {
        Harness harness = new Harness();
        harness.addMetric(new DeserializationSpeedMetric(10, true));
        harness.addProduct(new StringNonCachingConverter());
        harness.addProduct(new StringInternConverter());
        harness.addProduct(new StringWithWeakHashMapConverter());
        harness.addProduct(new StringWithSynchronizedWeakHashMapConverter());
        harness.addTarget(new BigString());
        harness.addTarget(new StringArray(1024, 1024, 128));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.