Examples of noop()


Examples of tests.jfun.yan.benchmark.models.Soo.noop()

    final MyFactory factory = (MyFactory)yan.instantiateComponent(ssoo);
     Benchmark bench = new Benchmark("Nuts: Singleton Bean with custom factory", LOOP*10){
     
      public void run() throws Exception {
        final Soo foo = (Soo)factory.create();
        foo.noop();
      }
    };
    bench.start(true);
  }
  public void testCtorFactory() throws Exception{
View Full Code Here

Examples of tests.jfun.yan.benchmark.models.Soo.noop()

    final jfun.yan.factory.Factory factory = yan.getFactory("soo");
     Benchmark bench = new Benchmark("Nuts: Setter Injection with Factory", LOOP){
     
      public void run() throws Exception {
        final Soo foo = (Soo)factory.create();
        foo.noop();
      }
    };
    bench.start(true);
  }
 
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.