Skip to content

zarubaf/reflex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

155 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Key Action
Scroll / Trackpad Pan
Ctrl + Scroll Zoom in / out
Cmd + = / Cmd + - Zoom in / out
Cmd + 0 Zoom to fit
j / k Select next / previous instruction
Cmd + F Search instructions
Cmd + L Go to cycle
Cmd + O Open trace file
Cmd + R Reload current trace
Cmd + G Generate random trace
Cmd + W Close tab
Cmd + M Add cursor
Ctrl + Tab Next 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

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors