final jfun.yan.factory.Factory factory = yan.getFactory("ssoo");
Benchmark bench = new Benchmark("Nuts: Singleton Bean with Factory", LOOP*10){
public void run() throws Exception {
final Soo foo = (Soo)factory.create();
foo.noop();
}
};
bench.start(true);
}
public void testBenchSingletonCustomFactory() throws Exception{