# uber/nanoscope

An extremely accurate Android method tracing tool.

Repository: https://github.com/uber/nanoscope
Canonical: https://ross.abutalabs.com/products/nanoscope
Language: HTML
License: Apache-2.0
License Family: permissive
Topics: android, profiler, performance, tracing
Last push: 2020-05-18T18:43:41+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3103, "days_push": 2298, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1275, forks 69 (observed 2026-08-28T04:04:12.919326+00:00)

## What it is
Nanoscope is an extremely accurate Android method tracing tool from Uber, implemented partly as a fork of AOSP to achieve ~20 nanoseconds of overhead per method call. It is driven by a command-line client that launches a custom emulator, flashes supported devices with the Nanoscope OS, and starts/stops tracing sessions.

## Use cases
- trace android method calls with nanosecond-level accuracy
- profile android app performance with minimal overhead
- launch an emulator with built-in method tracing support
- flash a nexus 6p with a custom tracing os
- capture cpu utilization and page fault data for app threads
- find performance bottlenecks in android applications

## When to choose
- you need extremely low-overhead, high-accuracy method tracing on android
- you are willing to use a custom emulator or flash a supported device
- you are debugging performance issues in android apps on macOS

## When to avoid
- you need to profile on arbitrary or newer android devices (only Nexus 6P is supported for flashing)
- you cannot replace the device OS or rely on a special emulator
- you need an actively maintained tool (last release was 2020)
- you are not on macOS for the emulator workflow

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: tracing, monitoring, benchmarking, developer-tools
- domain: mobile-development, performance, developer-tools, android-tools
- platform: cli
- tags: android-profiler, method-tracing, aosp-fork, performance-analysis, android, macos

## Member repositories
- uber/nanoscope (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:12.919326+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-30T05:03:04.356566+00:00, confidence not recorded.
  - readme: https://github.com/uber/nanoscope (fetched 2026-08-28T04:04:12.919326+00:00, sha 9277f970f57f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
