Package com.alibaba.citrus.service.requestcontext.rundata

Examples of com.alibaba.citrus.service.requestcontext.rundata.RunData


        System.out.printf("Calling RunData.getServletPath() %,d times, took %,d ms.\n", loop, duration);
    }

    @Test
    public void performance_raw() {
        RunData rundata = (RunData) ((ProxyTargetFactory) globals.rundataRC).getObject();

        long start = System.currentTimeMillis();
        int loop = 100000;

        for (int i = 0; i < loop; i++) {
            rundata.getServletPath();
        }

        long duration = System.currentTimeMillis() - start;

        System.out.printf("Calling Raw RunData.getServletPath() %,d times, took %,d ms.\n", loop, duration);
View Full Code Here


        System.out.printf("Calling RunData.getServletPath() %,d times, took %,d ms.\n", loop, duration);
    }

    @Test
    public void performance_raw() {
        RunData rundata = (RunData) ((ProxyTargetFactory) globals.rundataRC).getObject();

        long start = System.currentTimeMillis();
        int loop = 100000;

        for (int i = 0; i < loop; i++) {
            rundata.getServletPath();
        }

        long duration = System.currentTimeMillis() - start;

        System.out.printf("Calling Raw RunData.getServletPath() %,d times, took %,d ms.\n", loop, duration);
View Full Code Here

TOP

Related Classes of com.alibaba.citrus.service.requestcontext.rundata.RunData

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.