gumshoe java_Gumshoe - 跟踪Java程序的负载和性能

Gumshoe Load Investigator

Overview

Monitor application performance statistics associated with individual calling stacks, interactively filter and view as a flame graph or root graph.

Gumshoe was first created initially for internal use in the Dell Cloud Manager application but source code has since been released for public use under these terms.

Analyze resource usage: measure TCP, UDP, filesystem or processor utilization

Pinpoint lines of code: all statistics are associated with a call stack and individual stack frames

Capture, filter and visualize as statistics are generated

Intuitive views: flame graph and root graph

Filter stack frames at capture and/or during visualization, modify on the fly.

Documentation

Short intro and demo on youtube: latest or the original boring version.

Quick start guide walks through using with a sample application.

Don't Just Measure and Report: Understand

Looking at stack traces scaled by metrics gives a fast, intuitive way to understand application resource usage. Consider network I/O in a hypothetical application...

Flame graph example:

f45cf50487a94d7212da0545b710ed52.png

Looking at callers into an application, Invoker.invoke is responsible for >90% of the read operations in this application. It always calls RestRequestHandler.handle which in turn calls three different REST operations. One -- showItemDetails -- is responsible for >80% of read operations as it makes different calls into the DAO layer.

Root graph example:

49caff0600ae9235564a4c089c3c4d9a.png

Grouping now by the last frame where the application calls out to a resource, the couchdb Database.getDocument is responsible for over half of the read operations, while the JDBC Statement.execute about 25%, the vast majority of those from getItemDetails.

These two examples are completely contrived, but not overly simplified. The original call stacks in your application are generally huge, with hundreds of frames, but gumshoe uses stack filters to find just the relevant portions and focus the view on just those parts.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值