summaryrefslogtreecommitdiff
path: root/web-timeplot/README.md
blob: 867ae7a9711292e235300b673e068c64d9b8efe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Web TimePlot - PixiJS Implementation

A web-based waterfall display using PixiJS with WebGPU/WebGL support.

## Features

- **Dual Renderer Support**: Automatically uses WebGPU if available, falls back to WebGL
- **Real-time Performance Metrics**: FPS, frame timing, vertex counts
- **Interactive Controls**: Keyboard shortcuts and UI controls
- **Data Export**: Export performance metrics to CSV

## Getting Started

```bash
# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview
```

## Controls

- **G** - Toggle grid display
- **M** - Toggle metrics display
- **E** - Export metrics to CSV

## Architecture

```
src/
├── main.js       - Application entry point and orchestration
├── waterfall.js  - Waterfall graph visualization component
└── metrics.js    - Performance metrics collection and analysis
```

## Performance Comparison

This implementation can be directly compared with:
- Rust/wgpu version (`../src/`)
- C++ version (`../cpp-timeplot/`)

All three implementations track the same metrics for fair comparison.