Examples of LegacyLifeCycle


Examples of models.LegacyLifeCycle

        // warm up
        for (int i = 0; i < 5000; ++i) {
            new NewLifeCycle("foo", "bar").save();
        }
        for (int i = 0; i < 5000; ++i) {
            new LegacyLifeCycle("foo", "bar").save();
        }
    }
View Full Code Here

Examples of models.LegacyLifeCycle

    }
   
    private long l(int times) {
        long l1 = System.currentTimeMillis();
        for (int i = 0; i < times; ++i) {
            new LegacyLifeCycle("foo", "bar").save();
        }
        return System.currentTimeMillis() - l1;
    }
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.