Package models

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


    }
   
    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

Related Classes of models.LegacyLifeCycle

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.