Package org.eclipselabs.mongoemf.perf.support

Examples of org.eclipselabs.mongoemf.perf.support.TreeVisitor


    long startTime = System.currentTimeMillis();
    Resource resultResource = resourceSet.getResource(root.eResource().getURI(), true);

    System.out.println("Traversing the object tree");

    new TreeVisitor().doSwitch(resultResource.getContents().get(0));
    long endTime = System.currentTimeMillis();

    System.out.println("Time to load " + numberObjects + " children using " + (useMongoResourceSet ? "custom map" : "default map") + ": " + (endTime - startTime) + " ms");
  }
View Full Code Here

TOP

Related Classes of org.eclipselabs.mongoemf.perf.support.TreeVisitor

Copyright © 2018 www.massapicom. 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.