隨筆 - 41  文章 - 29  trackbacks - 0
          <2009年2月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          1234567

          常用鏈接

          留言簿(5)

          隨筆分類(28)

          隨筆檔案(23)

          收藏夾(6)

          Inside JVM

          Java

          java performance

          Solr

          搜索

          •  

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          Recently, a new java profiling tool (http://perf4j.codehaus.org/) gets more and more attentions. It is pretty interesting and lightweight tool and may give us more thoughts on our profiling log framework.

          • The goal of the Perf4j project
            Perf4J is a set of utilities for calculating and displaying perfomance statistics for Java code. For developers who are familiar with logging frameworks such as log4j or java.util.logging, an analogy helps to describe Perf4J:

            Perf4J is to System.currentTimeMillis() as log4j is to System.out.println()
          • Feature List:
            • A simple stop watch mechanism for succinct timing statements.
            • A command line tool for parsing log files that generates aggregated statistics and performance graphs.
            • Easy integration with the most common logging frameworks and facades: log4j, java.util.logging, Apache Commons Logging and SLF4J.
            • Custom log4j appenders to generate statistics and graphs in a running application (custom java.util.logging handlers coming soon).
            • The ability to expose performance statistics as JMX attributes, and to send notifications when statistics exceed specified thresholds.
            • A servlet for exposing performance graphs in a web application.
            • A @Profiled annotation and a set of custom aspects that allow unobstrusive timing statements when coupled with an AOP framework such as AspectJ or Spring AOP.
            • An extensible architecture.
          • simple demo
            http://perf4j.codehaus.org/images/meanChart.png
            http://perf4j.codehaus.org/images/tpsChart.png
          posted on 2009-02-22 22:00 Justin Chen 閱讀(2070) 評(píng)論(0)  編輯  收藏 所屬分類: Java Common

          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 黑河市| 旌德县| 鹤峰县| 祁连县| 南靖县| 公安县| 库尔勒市| 绥德县| 体育| 三明市| 潼关县| 延吉市| 吐鲁番市| 平乡县| 克东县| 浦东新区| 东辽县| 保定市| 蓬安县| 永康市| 靖州| 金昌市| 绍兴县| 涿州市| 濮阳市| 台州市| 华宁县| 扎鲁特旗| 青河县| 铁岭市| 景谷| 朝阳县| 龙岩市| 新丰县| 尼勒克县| 塘沽区| 景宁| 福泉市| 兴义市| 玉林市| 龙里县|