# eprofiler-idea **Repository Path**: zifeihan/eprofiler-idea ## Basic Information - **Project Name**: eprofiler-idea - **Description**: 性能分析堆栈树加入代码跳转,点击相关的热点方法即可进入项目中的代码 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 44 - **Forks**: 4 - **Created**: 2019-01-30 - **Last Updated**: 2025-03-24 ## Categories & Tags **Categories**: idea-plugins **Tags**: None ## README ##### 使用方法:在idea插件中安装(导入) eprofiler.jar ##### 支持版本:目前仅支持MAC,linux操作系统,后期打算覆盖windows ##### 安装方式:在IDEA插件中选择本地安装即可 ##### 运行原理:项目在启动过程中在jvm参数上加载了指定的agent ##### 实现原理:内部agent采用c++实现,和IDEA的火焰图性能分析插件类似 ##### 需求反馈:如果有感兴趣的伙伴可以联系我,一起将其完善。 ##### 功能增强: ###### 1.打算在性能分析堆栈树加入代码跳转,点击相关的热点方法即可进入项目中的代码(已完成,11.23) ###### 2.目前是实时分析的,后期会加入项目运行结束查看项目启动过程中的所有分析结果的聚合态 ###### 3.支持导出分析结果为火焰图(已完成,11.19) 在使用idea插件过程中,点击性能分析数据窗口的导出火焰图(在运行过程中可多次导出火焰图),打开链接: http://127.0.0.1:23333 即可跳转火焰图数据列表 ![avatar](https://raw.githubusercontent.com/zifeihan/eprofiler-idea/master/doc/20191123.png) ![avatar](https://raw.githubusercontent.com/zifeihan/eprofiler-idea/master/doc/20191121161627.jpg) ###### 1.介绍![avatar](https://raw.githubusercontent.com/zifeihan/eprofiler-idea/master/doc/image-20190107112242035.png) ###### 2.性能分析日志 ![avatar](https://raw.githubusercontent.com/zifeihan/eprofiler-idea/master/doc/image-20190107113110577.png) ![avatar](https://raw.githubusercontent.com/zifeihan/eprofiler-idea/master/doc/image-20190107112710043.png) 由于改日志是动态输出的,排在最前面的(百分比最高的)是当前项目消耗最高的性能点。默认5秒进行刷新输出,当点击具体的堆栈时会暂定刷新,点击刷新按钮会重新刷新分析结果日志。 ![avatar](https://raw.githubusercontent.com/zifeihan/eprofiler-idea/master/doc/image-20190107113358277.png) 下面我开始访问项目空页面: ![avatar](https://raw.githubusercontent.com/zifeihan/eprofiler-idea/master/doc/image-20190107113748180.png) 下面数据为强制刷新空页面后的数据 ![avatar](https://raw.githubusercontent.com/zifeihan/eprofiler-idea/master/doc/image-20190107113547534.png)