Package org.nutz.lang

Examples of org.nutz.lang.Stopwatch.start()


        Stopwatch sw = Stopwatch.begin();
        nutzJson(50*10000);
        sw.stop();
        System.out.println("Nutz-Json 50w次耗时: " + sw.getDuration());
       
        sw.start();
        fastJson(50*10000);
        System.out.println("Fast-Json 50w次耗时: " + sw.getDuration());
       
        //-------------------------------------------------------------------
        sw.start();
View Full Code Here


        sw.start();
        fastJson(50*10000);
        System.out.println("Fast-Json 50w次耗时: " + sw.getDuration());
       
        //-------------------------------------------------------------------
        sw.start();
        nutzJson(50*10000);
        sw.stop();
        System.out.println("Nutz-Json 50w次耗时: " + sw.getDuration());
       
        sw.start();
View Full Code Here

        sw.start();
        nutzJson(50*10000);
        sw.stop();
        System.out.println("Nutz-Json 50w次耗时: " + sw.getDuration());
       
        sw.start();
        fastJson(50*10000);
        sw.stop();
        System.out.println("Fast-Json 50w次耗时: " + sw.getDuration());
    }
   
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.