Skip to content

Releases

Hitch 0.4.0

Choose a tag to compare

@dlandman27 dlandman27 released this 04 Nov 21:40

Android support: thread lanes, native hot spots, startups and memory on an Android emulator or phone, over adb.

New

  • Android, with the same detail as the iOS simulator. Run a debug build on an emulator or phone and start Hitch. It finds the app on Metro, finds its process over adb, and shows per-thread lanes, JS freezes with code lines, React render reasons, console, network, memory and startups. Nothing is added to the app; all you need is adb on your PATH.
  • Native hot spots on Android come from the device's simpleperf. When the UI thread or another thread runs hot (or you press Sample), Hitch records every thread for about a second and names the hottest functions and subsystems. It works without root on any debuggable build, Android 9 and up.
  • Cold-launch timing on Android, read from the process start time. Attaching up to two minutes after launch still counts.
  • Scenario open_url steps work on Android (adb shell am start -d).
  • Android frame names are categorized: OkHttp, Fresco/Glide, Fabric mounting, ART, hwui rendering, Datadog, and Rive animations (on iOS too).

How it reads Android

  • Thread CPU streams from one long-running adb shell loop about every 140ms, so freezes down to ~100ms get stacks. The loop costs the device about 3% of one core, outside the app.
  • A dropped adb read no longer disconnects the session; Hitch reconnects on its own.
  • Lane names to know: Java GC (ART) is Android's collector for Java and Kotlin objects (Hermes has its own hades thread). Metro connection (dev only) is the debug build's link to Metro.

Good to know

  • On an emulator, GPU work on RenderThread and in Rive or Skia shows up as QemuPipeStream. That cost belongs to the emulator, so measure rendering on a phone.
  • If the same app is open in the iOS simulator and on Android, pick the one to watch in the app picker.
  • See Testing on Android in the README, which also has new troubleshooting rows.

Upgrading
git pull in your clone, then restart Hitch (quit and reopen Hitch.app, or stop and rerun hitch). Rerun hitch --install-app to update the version shown in Hitch.app.

Hitch 0.3.0

Choose a tag to compare

@dlandman27 dlandman27 released this 28 Oct 17:03

Runs you can open and compare, Expo SDK 58 support, and more honest render reasons.

Fixes

  • Render reasons no longer blame the parent for a component's own updates. The probe only checked a component's first 60 hooks for what changed. Big components go well past 60 once their custom hooks are counted, so their own store updates showed up as "its parent re-rendered", even on memo components whose props never changed. Hitch now checks up to 300 hooks and only says "parent" when the props object really is new. Anything else it now names:
    • "a hook after #300 changed (not checked)"
    • "its own update (no prop, hook or context change the probe could see)"
  • Connects to Expo SDK 58 apps. Expo's CLI drops a debugger connection unless the address matches Metro's exactly, so Hitch now tries 127.0.0.1, localhost and this Mac's LAN addresses. Refused connections no longer count as app reloads, and a banner explains when the debugger keeps refusing.
  • Clear also clears what React rendered. Before, the React view kept old renders after Clear.
  • Copy prompts for runs and comparisons now include the run's data instead of a one-line verdict.
  • The compact view picker no longer picks a view on the same press that opens it.
  • The Timeline's time window now sits in the Timeline's own title row.

New

  • Run pages. Click a saved run to see its full breakdown: freezes with what rendered, requests, console, logs, memory and threads. Events inside open even from earlier sessions.
  • Compare any two runs. Tick two runs for a side-by-side page with every measure, screen loads, React time and blocking lines, plus its own prompt.
  • Delete runs from the list or a run page.
  • Requests from Expo's native fetch are recorded (headers, bodies and the calling code). The debugger can't see these on its own. React Native's own fetch is left alone, so nothing is counted twice.
  • Two agent skills in .claude/skills/:
    • hitch-ab-test checks whether a change helped, using medians of several plays judged by the numbers that hold still.
    • hitch-diagnose follows results to the cause in the app's code.

Upgrading
git pull in your clone, then restart Hitch (quit and reopen Hitch.app, or stop and rerun hitch). The new React probe loads when Hitch attaches, and it replaces the old one in a running app automatically.

Hitch 0.2.1

Choose a tag to compare

@dlandman27 dlandman27 released this 27 Oct 18:58

Fixes and smaller additions on top of 0.2.0.

Fixes

  • Record and heap snapshots work in Hitch.app. They asked for a name with a browser pop-up that the Mac app's window never shows. They now use a sheet inside the window.
  • Views keep their scroll position while they refresh (Network no longer jumps back to the top).

New

  • Copy page as prompt on every view (⇧⌘C): the data you're looking at, ready to paste into an AI agent.
  • Log lines open a page: the full message, repeats, a jump to the timeline, and what happened around it.
  • Threads open a page: what the thread does, its CPU history (now, average, peak), its native samples, and freezes while it was busy.
  • A README rewritten for people trying Hitch for the first time, with a privacy section.

Upgrading
git pull in your clone, then press Cmd-R in Hitch's window (or reopen Hitch.app).

Hitch 0.2.0

Choose a tag to compare

@dlandman27 dlandman27 released this 27 Oct 18:35

Hitch now looks and works like a Mac app, explains why things re-rendered, and shows much more of what your app is doing.

A native Mac window

  • A unified toolbar in the title bar, like Xcode, with the app › device picker, a findings count, the time window, Record, Reload, Clear and a ••• menu. It collapses cleanly in narrow windows.
  • San Francisco fonts, system colors, inset grouped lists, one consistent style for notices and toasts, and event pages with a navigation-bar header.
  • The Hitch logo on the starting page.

More ways to look

  • Timeline: screen names along the top, the exact time under the pointer, and drag to select a range. The range opens a page with everything in that slice (freezes, React renders and why, busiest threads, requests, logs, memory), ready to send to Claude Code.
  • New views next to the timeline: Threads (CPU now/avg/peak with sparklines), Console (every log line, filters, jump to the moment), Network (a waterfall), Memory (the whole session, with markers, heap snapshots and diffs), React (commit render times, where time went, avoidable re-renders) and Runs (comparisons).

Request and response data

  • Click any request to see its response body (pretty-printed JSON) and headers, and the request's headers and body.
  • Credentials are always hidden: auth, cookie, API key, app-check and signature headers, and password or token fields in JSON. Bodies stay in memory for the last 150 requests and are never written to session files.
  • New MCP tools: hitch_requests and hitch_request.

Fixes

  • Source maps are matched module by module against the bundle the app actually runs, so locations stay right after a pull or branch switch.
  • Freezes are no longer blamed on Hitch's own React probe.
  • Readable tooltips, correctly sized icons, and no sideways scrolling on event pages.

Upgrading
git pull in your clone, then hitch --install-app if you use Hitch.app, and reopen it.

Hitch 0.1.0

Choose a tag to compare

@dlandman27 dlandman27 released this 27 Oct 17:22

First public release of Hitch, a live slowdown watcher for React Native dev sessions on macOS. Nothing gets added to your app: Hitch works through Metro's debugger and reads the simulator's threads from your Mac.

What it catches

  • JS freezes pinned to file:line, with what React rendered during them and why, including avoidable re-renders (new props with equal values, unmemoized children)
  • Choppy frames, screen load times, startups, and hot native threads (simulator)
  • Console errors and warnings (grouped repeats, object previews), slow and failed requests
  • Memory and thread leaks, including memory a JS reload didn't free

Ways to use it

  • A live window: thread lanes, findings, details, and a Mac app (hitch --install-app)
  • Terminal output, plus a saved report whenever something was found
  • "Send to Claude Code" and copy-prompt briefs for each finding
  • An MCP server at http://127.0.0.1:7370/mcp: coding agents can read findings, profile, snapshot the heap, and record and compare runs and scenarios

Install

git clone https://github.com/dlandman27/hitch.git ~/hitch
cd ~/hitch && npm link
hitch    # from your app's repo, with Metro and the app running

Needs macOS with Xcode command-line tools, Node 22+, and a React Native app on Hermes (RN 0.73+) running as a dev build. Android thread lanes are included but haven't been tried on a device yet.