# zhengcx/MethodTraceMan

用于快速找到高耗时方法，定位解决Android App卡顿问题。通过gradle plugin+ASM实现可配置范围的方法插桩来统计所有方法的耗时，并提供友好的界面展示，支持耗时筛选、线程筛选、方法名筛选等。(A Tool for Discovering High Time-consuming Methods for Android App)

Repository: https://github.com/zhengcx/MethodTraceMan
Canonical: https://ross.abutalabs.com/products/methodtraceman
Language: Kotlin
License Family: other
Topics: method, jank, android, performance, asm, gradle-plugin, transform
Last push: 2021-02-23T08:51:17+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2546, "days_push": 2017, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1651, forks 217 (observed 2026-08-28T04:05:16.891968+00:00)

## What it is
MethodTraceMan is an Android performance tool that finds high time-consuming methods causing app jank via bytecode instrumentation. It uses a Gradle plugin with ASM to instrument methods at compile time and displays method timing data in a browser UI with filtering by time, thread, and method name.

## Use cases
- find slow methods causing Android app jank
- trace method execution time via bytecode instrumentation
- profile Android app performance during development
- filter method timings by thread or duration
- instrument only specific packages with a Gradle plugin

## When to choose
- debugging Android app stutter and frame drops during development
- you want configurable method-level timing without manual code changes
- you prefer a visual UI to browse method cost data

## When to avoid
- production profiling (release builds use a noop dependency)
- iOS or non-Android projects
- projects needing actively maintained tooling or a licensed release

## Facets
- artifact type: library
- maturity: maintenance
- function: monitoring, benchmarking, developer-tools
- domain: android-tools, performance, developer-tools, mobile-development
- platform: jvm, cli
- tags: android, method-tracing, jank-detection, asm-instrumentation, gradle-plugin, bytecode-instrumentation, performance-profiling

## Member repositories
- zhengcx/MethodTraceMan (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:16.891968+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:45:03.667393+00:00, confidence not recorded.
  - readme: https://github.com/zhengcx/MethodTraceMan (fetched 2026-08-28T04:05:16.891968+00:00, sha 08aabec1b173)
- Data as of 2026-08-30T08:39:29.467469+00:00.
