Package com.dianping.cat.consumer.metric

Examples of com.dianping.cat.consumer.metric.MetricAnalyzer.process()


    System.out.println(tree);
    long current = System.currentTimeMillis();

    long size = 10000000l;
    for (int i = 0; i < size; i++) {
      analyzer.process(tree);
    }
    System.out.println(analyzer.getReport("TuanGou"));
    System.out.println("Cost " + (System.currentTimeMillis() - current) / 1000);
    // 21
  }
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.