MyPerf4J

一个针对高并发、低延迟应用设计的高性能 Java 性能监控和统计工具,具有高性能、低消耗、无侵入和轻量级的特点。

Check out MyPerf4J on CurateClick

• Copy the embed code to showcase this product on your website

• Share on X to spread the word about this amazing tool

项目推荐- 项目名称:MyPerf4J- 项目地址:https://github.com/LinShunKang/MyPerf4J- 项目描述:一个针对高并发、低延迟应用设计的高性能 Java 性能监控和统计工具- 推荐理由:高性能、低消耗、无侵入、轻量- 示例代码: - 打包 * git clone [email protected]:LinShunKang/MyPerf4J.git * mvn clean package * 把 MyPerf4J-ASM-${MyPerf4J-version}.jar 重命名为 MyPerf4J-ASM.jar - 配置 在 JVM 启动参数里加上以下两个参数 > -javaagent:/your/path/to/MyPerf4J-ASM.jar > -DMyPerf4JPropFile=/your/path/to/MyPerf4J.properties 其中,MyPerf4JPropFile的配置如下: #应用名称 AppName=MyPerf4JTest #MetricsProcessor类型,0:以标准格式化结构输出到stdout.log 1:以标准格式化结构输出到磁盘 2:以InfluxDB LineProtocol格式输出到磁盘 MetricsProcessorType=1 #配置各个Metrics日志的文件路径,可不配置 MethodMetricsFile=/data/logs/MyPerf4J/method_metrics.log #ClassMetricsFile=/data/logs/MyPerf4J/class_metrics.log #GCMetricsFile=/data/logs/MyPerf4J/gc_metrics.log #MemMetricsFile=/data/logs/MyPerf4J/memory_metrics.log #ThreadMetricsFile=/data/logs/MyPerf4J/thread_metrics.log #配置时间片,单位为ms,最小1s,最大600s MilliTimeSlice=10000 #需要监控的package,可配置多个,用英文';'分隔 IncludePackages=cn.perf4j.demo #不需要监控的package,可配置多个,用英文';'分隔 ExcludePackages=org.spring; #可配置多个方法名,用英文';'分隔 ExcludeMethods=equals;hash > 想了解更多的配置?请看这里 - 截图: Markdown

Latest Weekly Picks

make.ink favicon
Weekly Pick

Your AI tattoo generator for pro-grade concepts

Leo Wade
sellfy.com favicon
Weekly Pick

A code-free online store builder to turn views into revenue. Sell digital products, subscriptions, and merch, without fees or hassle.

Maris
www.videotoblog.ai favicon
Weekly Pick

Convert videos into awesome blog posts.

Video To Blog
www.sellerpic.ai favicon
Weekly Pick

SellerPic is the all-in-one AI design platform for e-commerce

SellerPic
fastimage.ai favicon
Weekly Pick

Fast Image AI instantly transforms your photos into stunning styles like Ghibli, Sketch, and Pixar. Effortlessly control image elements and create amazing effects with just one click.

Fast AI Team
linkedinpro.daisy.so favicon
Weekly Pick

AI-powered tool that transforms casual photos into professional LinkedIn headshots instantly. No photographer needed—just upload and download.

Gabriel
crevas.ai favicon
Weekly Pick

Crevas unifies Veo 3, Sora 2, Nano Banana and more into one intuitive canvas — so filmmakers can script, prompt, and generate cinematic stories without switching tools or losing consistency.

Spark Alpha
fotominiatur.com favicon
Weekly Pick

AI Foto Edit - Text to Image & Image Edit

foto miniatur