Java 方法性能监控和统计工具 MyPerf4J

码农软件 · 软件分类 · 性能测试和优化 · 2019-11-26 18:42:29

软件介绍

MyPerf4J是什么?

一个针对高并发、低延迟应用设计的高性能、无侵入的Java方法性能监控和统计工具。
受 [perf4j](https://github.com/perf4j/perf4j) 和 [TProfiler](https://github.com/alibaba/TProfiler)启发而来。

MyPerf4J具有以下几个特性:
* 无侵入: 采用JavaAgent方式,对应用程序完全无侵入,无需修改应用代码
* 高性能: 性能消耗非常小,每次统计只花费73ns,可以在生产环境长期使用
* 低内存: 采用内存复用的方式,整个生命周期只产生极少的临时对象,不影响应用程序的GC
* 高精度: 采用纳秒来计算响应时间
* 高实时: 支持秒级监控,最低1s!

MyPerf4J能做什么?

MyPerf4J可以统计以下几个性能指标:

  • RPS: 每秒请求数

  • Count: 总请求数

  • RT: 方法响应时间

    • TP: Top百分数(Top Percentile)

    • TP90: 在一个时间段内(如1分钟),统计该方法每次调用所消耗的时间,并将这些时间按从小到大的顺序进行排序,取第90%的那个值作为TP90值;

    • Avg: 方法平均响应时间

    • Min: 方法最小响应时间

    • Max: 方法最大响应时间

    • StdDev: 方法响应时间的标准差

    • TP50, TP90, TP95, TP99, TP999, TP9999, TP99999, TP100

可视化性能指标

目前MyPerf4J已提供[Grafana Dashboard](https://grafana.com/dashboards/6991)进行数据展示

本文地址:https://codercto.com/soft/d/19855.html

An Introduction to the Analysis of Algorithms

An Introduction to the Analysis of Algorithms

Robert Sedgewick、Philippe Flajolet / Addison-Wesley Professional / 1995-12-10 / CAD 67.99

This book is a thorough overview of the primary techniques and models used in the mathematical analysis of algorithms. The first half of the book draws upon classical mathematical material from discre......一起来看看 《An Introduction to the Analysis of Algorithms》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具