Skip to content

Commit 3ef4aae

Browse files
committed
ci: publish live benchmark dashboard to GitHub Pages
A pages workflow generates the GPU-free dummy-vs-remote comparison dashboard on every push to main and deploys it to GitHub Pages, giving a permanent public "evidence" link. README gets a benchmark badge + the dashboard URL.
1 parent 5d4a3d4 commit 3ef4aae

2 files changed

Lines changed: 51 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: pages
2+
3+
# Publish a live benchmark dashboard (GPU-free: dummy vs remote-over-HTTP) to
4+
# GitHub Pages on every push to main. Evidence, not vibes.
5+
6+
on:
7+
push:
8+
branches: [main]
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
concurrency:
17+
group: pages
18+
cancel-in-progress: true
19+
20+
jobs:
21+
build:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: actions/setup-python@v5
26+
with:
27+
python-version: "3.12"
28+
- run: python -m pip install --upgrade pip numpy
29+
- name: Generate benchmark dashboard
30+
working-directory: world_model_py
31+
run: |
32+
mkdir -p ../_site
33+
python -m world_model_py.cli bench-compare \
34+
--adapters dummy,remote --runs 300 --out ../_site/index.html
35+
- uses: actions/upload-pages-artifact@v3
36+
with:
37+
path: _site
38+
39+
deploy:
40+
needs: build
41+
runs-on: ubuntu-latest
42+
environment:
43+
name: github-pages
44+
url: ${{ steps.deployment.outputs.page_url }}
45+
steps:
46+
- id: deployment
47+
uses: actions/deploy-pages@v4

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[![ci](https://github.com/rsasaki0109/worldmodels_ros2/actions/workflows/ci.yml/badge.svg)](https://github.com/rsasaki0109/worldmodels_ros2/actions/workflows/ci.yml)
44
[![license](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
55
[![ROS 2](https://img.shields.io/badge/ROS%202-Jazzy-22314E.svg)](https://docs.ros.org/en/jazzy/)
6+
[![benchmark](https://img.shields.io/badge/benchmark-live-3b82f6.svg)](https://rsasaki0109.github.io/worldmodels_ros2/)
67

78
**A ROS 2-native runtime, adapter hub, benchmark and visualization layer for
89
using *existing* World Models in robotics and autonomous driving.**
@@ -69,6 +70,9 @@ python -m world_model_py.cli bench-compare --adapters dummy,remote --out compare
6970
# remote adapter's HTTP overhead (e.g. dummy ~0.6ms vs remote ~11ms p50)
7071
```
7172

73+
A live version of this dashboard is published to GitHub Pages on every push:
74+
**<https://rsasaki0109.github.io/worldmodels_ros2/>**.
75+
7276
### 2. ROS 2 runtime
7377

7478
```bash

0 commit comments

Comments
 (0)