Skip to content

Commit 3655a7e

Browse files
root clean up, scripts and benchmarks , expand .gitignore
1 parent 38bdd7c commit 3655a7e

19 files changed

Lines changed: 1904 additions & 19 deletions

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
# Build output
22
build/
3+
build-bench/
34
dist/
45
out/
56

7+
# Local benchmark scratch output (the canonical run is tracked under docs/benchmarks/)
8+
/bench_*.txt
9+
/bench_*.json
10+
11+
# Release artefacts produced by scripts/release_sdk.* (shipped via GitHub Releases, not git)
12+
/vtx-sdk-*.zip
13+
/vtx-sdk-*.zip.sha256
14+
/vtx-sdk-*.tar.gz
15+
/vtx-sdk-*.tar.gz.sha256
16+
617
# Local tool state (Claude Code, etc.)
718
.claude/
819

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ All notable changes to the VTX SDK will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Added
11+
12+
- **scripts**: `scripts/release_sdk.sh` -- Linux/macOS counterpart to `scripts/release_sdk.bat`. Builds the SDK libs + `vtx_cli` in Release mode and installs into `./dist`. Removes the build/release script asymmetry between Windows and Linux
13+
14+
### Changed
15+
16+
- **repo layout**: all five build/clean/release wrappers moved from the repo root into `scripts/` (`build_sdk.bat`, `build_sdk.sh`, `clean.bat`, `clean.sh`, `release_sdk.bat`). Each script now `cd`s to the repo root internally so invocations like `./scripts/build_sdk.sh` or `scripts\build_sdk.bat` work from any working directory. Documentation references (README, CONTRIBUTING, docs/BUILD.md) updated accordingly
17+
- **repo layout**: `reports/benchmarks/` renamed to `docs/benchmarks/` to signal that the committed baseline outputs are reference documentation (co-located with `docs/PERFORMANCE.md` which narrates them) rather than stray CI artefacts. `reports/` directory removed. References in `docs/PERFORMANCE.md`, `docs/BUILD.md`, and the benchmark write-ups updated
18+
819
## [0.1.0] - 2026-04-24
920

1021
### Added

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cmake --build build --config Release --parallel
1818
Or use the provided script:
1919

2020
```bat
21-
build_sdk.bat
21+
scripts\build_sdk.bat
2222
```
2323

2424
## Code Style

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![CI](https://github.com/ZenosInteractive/VTX/actions/workflows/build.yml/badge.svg)](https://github.com/ZenosInteractive/VTX/actions/workflows/build.yml)
44
[![License](https://img.shields.io/badge/License-Apache_2.0-blue?logo=apache&logoColor=white)](LICENSE)
5-
[![Release](https://img.shields.io/github/v/release/ZenosInteractive/VTX?logo=github&label=Release)](https://github.com/ZenosInteractive/VTX/releases)
5+
[![Release](https://img.shields.io/github/v/release/ZenosInteractive/VTX?include_prereleases&logo=github&label=Release)](https://github.com/ZenosInteractive/VTX/releases)
66
[![C++20](https://img.shields.io/badge/C%2B%2B-20-00599C?logo=cplusplus&logoColor=white)](#requirements)
77
[![Docs](https://img.shields.io/badge/Docs-Wiki-blue?logo=gitbook&logoColor=white)](https://github.com/ZenosInteractive/VTX/wiki)
88
[![Website](https://img.shields.io/badge/Website-zenosinteractive.com-B870FB?logoColor=white)](https://www.zenosinteractive.com/)
@@ -28,7 +28,7 @@ cmake --build build --config Release --parallel
2828
cmake --install build --config Release --prefix dist
2929
```
3030

31-
Other build paths (vcpkg, CMake presets, the `build_sdk.bat` one-shot wrapper) in [Getting Started](https://github.com/ZenosInteractive/VTX/wiki/Getting-Started).
31+
Other build paths (vcpkg, CMake presets, the `scripts/build_sdk.bat` one-shot wrapper) in [Getting Started](https://github.com/ZenosInteractive/VTX/wiki/Getting-Started).
3232

3333
### Write a replay
3434

docs/BUILD.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,23 +117,23 @@ sudo apt install libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-d
117117
### Windows build script
118118

119119
```bat
120-
build_sdk.bat
120+
scripts\build_sdk.bat
121121
```
122122

123123
### Linux / macOS build script
124124

125125
```bash
126-
./build_sdk.sh
126+
./scripts/build_sdk.sh
127127
```
128128

129129
Environment overrides:
130130

131131
```bash
132-
BUILD_TYPE=Debug ./build_sdk.sh
133-
SKIP_TESTS=1 ./build_sdk.sh
134-
CLEAN=1 ./build_sdk.sh
135-
JOBS=16 ./build_sdk.sh
136-
INSTALL_PREFIX=/opt/vtx ./build_sdk.sh
132+
BUILD_TYPE=Debug ./scripts/build_sdk.sh
133+
SKIP_TESTS=1 ./scripts/build_sdk.sh
134+
CLEAN=1 ./scripts/build_sdk.sh
135+
JOBS=16 ./scripts/build_sdk.sh
136+
INSTALL_PREFIX=/opt/vtx ./scripts/build_sdk.sh
137137
```
138138

139139
### Manual CMake
@@ -295,7 +295,7 @@ cmake --build build-bench --target vtx_benchmarks --config Release --parallel
295295

296296
# Run the full suite (writes JSON + console side-by-side for diffing over time)
297297
build-bench/bin/Release/vtx_benchmarks.exe \
298-
--benchmark_out=reports/benchmarks/bench_$(date +%Y%m%d_%H%M%S).json \
298+
--benchmark_out=docs/benchmarks/bench_$(date +%Y%m%d_%H%M%S).json \
299299
--benchmark_out_format=json \
300300
--benchmark_counters_tabular=true
301301

@@ -309,7 +309,7 @@ Fixtures required at run time:
309309
- `samples/content/reader/{cs,rl,arena}/*.vtx` -- real replays; checked in.
310310
- `benchmarks/fixtures/synth_10k.vtx` -- small synthetic fixture generated by `vtx_sample_write` when `VTX_BUILD_BENCHMARKS=ON`.
311311

312-
Narrative results (what the numbers mean, not just the tables) live in [`docs/PERFORMANCE.md`](PERFORMANCE.md). The raw output of the canonical run is committed under `reports/benchmarks/` as JSON + console text for regression tracking and graphing.
312+
Narrative results (what the numbers mean, not just the tables) live in [`docs/PERFORMANCE.md`](PERFORMANCE.md). The raw output of the canonical run is committed under `docs/benchmarks/` as JSON + console text for regression tracking and graphing.
313313

314314
## Running sanitizers locally
315315

docs/PERFORMANCE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Performance
22

33
> Numbers in this page come from the benchmark run on **2026-04-23** against `main` at commit `78b20f3`.
4-
> Raw data for that run (re-usable for graphing or regression tracking): [`reports/benchmarks/bench_20260423_162008.json`](../reports/benchmarks/bench_20260423_162008.json).
4+
> Raw data for that run (re-usable for graphing or regression tracking): [`docs/benchmarks/bench_20260423_162008.json`](benchmarks/bench_20260423_162008.json).
55
66
## At a glance
77

@@ -110,7 +110,7 @@ cmake --build build-bench --target vtx_benchmarks --config Release --parallel
110110

111111
# Run the full suite (JSON + console output)
112112
build-bench/bin/Release/vtx_benchmarks.exe \
113-
--benchmark_out=reports/benchmarks/bench_$(date +%Y%m%d_%H%M%S).json \
113+
--benchmark_out=docs/benchmarks/bench_$(date +%Y%m%d_%H%M%S).json \
114114
--benchmark_out_format=json \
115115
--benchmark_counters_tabular=true
116116

@@ -129,7 +129,7 @@ Fixtures required: CS, RL, and arena replays under `samples/content/reader/{cs,r
129129

130130
| Path | What it is |
131131
|---|---|
132-
| [`reports/benchmarks/bench_20260423_162008.json`](../reports/benchmarks/bench_20260423_162008.json) | Raw google/benchmark JSON — reusable for graphing or regression tracking. |
133-
| [`reports/benchmarks/bench_20260423_162008.txt`](../reports/benchmarks/bench_20260423_162008.txt) | Console output as produced. |
132+
| [`docs/benchmarks/bench_20260423_162008.json`](benchmarks/bench_20260423_162008.json) | Raw google/benchmark JSON — reusable for graphing or regression tracking. |
133+
| [`docs/benchmarks/bench_20260423_162008.txt`](benchmarks/bench_20260423_162008.txt) | Console output as produced. |
134134

135135
This page is the canonical narrative version of that data. If the benchmarks are re-run, update the numbers here (and commit the new raw outputs alongside) rather than maintaining a parallel per-run markdown report.

0 commit comments

Comments
 (0)