Skip to content

Repository files navigation

Reflex icon

Reflex

A fast, GPU-accelerated CPU pipeline trace visualizer.
Built with GPUI (Zed's rendering framework).

Reflex screenshot

Features

  • Konata & µScope formats — Native support for both Konata text traces and µScope binary traces
  • GPU-rendered pipeline view — Smooth panning, zooming, and scrolling at 60fps for traces with thousands of instructions
  • Tabbed interface — Open multiple traces side-by-side, each with independent viewport state
  • Multicursor — Place multiple cursors to measure cycle deltas between pipeline events
  • Stage annotations — Hover over instructions to see annotations as tooltips
  • macOS native — .app bundle with dock icon drop support, signed and notarized

Getting Started

cargo run # Start with empty window
cargo run -- path/to/trace.log # Open a trace file directly

Or drag and drop trace files onto the window.

Keyboard Shortcuts

KeyAction
Scroll / TrackpadPan
Ctrl + ScrollZoom in / out
Cmd + = / Cmd + -Zoom in / out
Cmd + 0Zoom to fit
j / kSelect next / previous instruction
Cmd + FSearch instructions
Cmd + LGo to cycle
Cmd + OOpen trace file
Cmd + RReload current trace
Cmd + GGenerate random trace
Cmd + WClose tab
Cmd + MAdd cursor
Ctrl + TabNext tab
?Toggle help overlay

Trace Formats

  • Konata/Kanata (.log, .konata, .kanata) — The Kanata log format used by CPU simulators. Compatible with Konata.
  • µScope (.uscope) — Binary format from µScope with CPU protocol semantics, checkpointed random access, and LZ4 compression.

Documentation

See the full User Guide for detailed documentation on all features, including performance counters, minimap, timeline overlay, and configuration.

Build the documentation locally:

mdbook serve docs/

Building

Requires Rust (macOS or Linux). See Building from Source for details.

git clone --recurse-submodules https://github.com/zarubaf/reflex.git
cd reflex
cargo build --release

About

Snappy pipeline viewer. 🥷

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages