Author SHA1 Message Date
adminandClaude Opus 5.5 31ac5adf6b Fetch third-party mirrors from the Gizmo org (renamed from Iris)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 22:24:42 +01:00
adminandClaude Opus 5.5 c390e6f5b2 Fetch third-party mirrors from the Iris org
The mirrors moved from Alpaq to the Iris org; point at them directly instead
of relying on Gitea's redirect from the old names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 22:20:18 +01:00
adminandClaude Opus 5.5 3d093767f7 Submodules: point at the Gitea repositories
The GitHub repositories are gone with the suspended account (or are
mirrored on Gitea). Relative URLs (../<repo>.git) resolve against wherever
this repository is cloned from.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 16:45:27 +01:00
admin 4dd3b1e4d6 Merge pull request #145 from Alpaq92/macos-shared-no-lto
CI: the macOS shared libreaktor without link-time optimization
2026-11-11 17:36:25 +01:00
admin 58e1ad6bbf Merge pull request #144 from Alpaq92/perf-remeasure-2
Performance: the chart's benchmark re-measured in forty passes
2026-11-11 17:36:09 +01:00
Roman ChojnackiandClaude Opus 5.5 d5df2d54e8 Performance: the chart's benchmark re-measured in forty passes
Two sessions of twenty interleaved passes on master for 0.11.0, from the
same binaries as 2026-11-10: software 8.8 MB / 6.0%, direct3d11 57.6 MB /
11.7%, direct3d12 120.5 MB / 5.2%, opengl 68.7 MB / 5.9%. software's
median falls between its two memory levels (16 of 40 runs on the lower).
The page now says how far a whole session moves with nothing changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 17:18:38 +01:00
5 changed files with 59 additions and 55 deletions
+13 -13
View File
@@ -1,39 +1,39 @@
[submodule "external/nuklear"]
path = external/nuklear
url = https://github.com/Immediate-Mode-UI/Nuklear.git
url = ../../Gizmo/Nuklear.git
[submodule "external/plutosvg"]
path = external/plutosvg
url = https://github.com/sammycage/plutosvg.git
url = ../../Gizmo/plutosvg.git
[submodule "external/ionicons"]
path = external/ionicons
url = https://github.com/ionic-team/ionicons.git
url = ../../Gizmo/ionicons.git
[submodule "external/SDL"]
path = external/SDL
url = https://github.com/libsdl-org/SDL.git
url = ../../Gizmo/SDL.git
[submodule "external/onlay"]
path = external/onlay
url = https://github.com/Alpaq92/Onlay.git
url = ../Onlay.git
[submodule "external/mojibake"]
path = external/mojibake
url = https://github.com/zaerl/mojibake.git
url = ../../Gizmo/mojibake.git
[submodule "external/kb"]
path = external/kb
url = https://github.com/JimmyLefevre/kb.git
url = ../../Gizmo/kb.git
[submodule "external/nukanim"]
path = external/nukanim
url = https://github.com/Alpaq92/NukAnim.git
url = ../NukAnim.git
[submodule "external/watercss"]
path = external/watercss
url = https://github.com/kognise/water.css
url = ../../Gizmo/water.css.git
[submodule "external/simplecss"]
path = external/simplecss
url = https://github.com/kevquirk/simple.css
url = ../../Gizmo/simple.css.git
[submodule "external/freetype"]
path = external/freetype
url = https://github.com/freetype/freetype
url = ../../Gizmo/freetype.git
[submodule "external/toml-c"]
path = external/toml-c
url = https://github.com/arp242/toml-c.git
url = ../../Gizmo/toml-c.git
[submodule "external/gibus"]
path = external/gibus
url = https://github.com/Alpaq92/gibus.git
url = ../gibus.git
+1 -1
View File
@@ -20,7 +20,7 @@ yourself.
> ⚠️ **Reaktor is in active development**; breaking changes may occur.
<p align="center">
<a href="docs/PERFORMANCE.md"><img src="docs/benchmark.svg" alt="Two bar charts of drawing 64 rotating boxes at 60 fps in an 800x600 window. Memory: Reaktor 9.1 MB, the same program on D3D12 120.3 MB and on OpenGL 68.9 MB, Flutter 132.7 MB, Electron 155.2 MB, Kotlin Multiplatform 668.7 MB. Steady-state CPU as a percent of one core: Reaktor 6.1%, D3D12 5.1%, OpenGL 5.0%, Flutter 15.3%, Electron 20.7%, Kotlin Multiplatform 29.4%"></a>
<a href="docs/PERFORMANCE.md"><img src="docs/benchmark.svg" alt="Two bar charts of drawing 64 rotating boxes at 60 fps in an 800x600 window. Memory: Reaktor 8.8 MB, the same program on D3D12 120.5 MB and on OpenGL 68.7 MB, Flutter 132.7 MB, Electron 155.2 MB, Kotlin Multiplatform 668.7 MB. Steady-state CPU as a percent of one core: Reaktor 6.0%, D3D12 5.2%, OpenGL 5.9%, Flutter 15.3%, Electron 20.7%, Kotlin Multiplatform 29.4%"></a>
</p>
How, and on what, is in [PERFORMANCE.md](docs/PERFORMANCE.md).
+3 -3
View File
@@ -1403,7 +1403,7 @@ it.
- **It needs no GPU.** Without one, Direct3D falls back to Microsoft's WARP
emulation: drawing `bench` flat out, SDL's software renderer took 0.75 ms
of CPU a frame where Direct3D on WARP took 1.78.
- **It uses the least memory**, 9.1 MB in `bench` against 57–120 MB on a GPU
- **It uses the least memory**, 8.8 MB in `bench` against 58–121 MB on a GPU
renderer, most of that the graphics driver's.
- **It starts fastest, and its cost does not depend on other programs** using
the GPU.
@@ -1440,8 +1440,8 @@ GPU renderer other than `sdl-gpu` keeps the linear output, which blends in
linear light, so edges and text differ slightly from an SDR renderer.
**Prefer `directx` or `direct3d12` to `direct3d11`.** Once running, on
2026-11-10, `direct3d11` took 9.1% of a core where `direct3d12` took 5.1%
and `opengl` 5.0%. On 2026-10-24 turning vsync off did not change that: the
2026-11-11, `direct3d11` took 11.7% of a core where `direct3d12` took 5.2%
and `opengl` 5.9%. On 2026-10-24 turning vsync off did not change that: the
cost is in SDL's Direct3D 11 renderer or the driver, not in Reaktor's frame.
Pick it only where Direct3D 12 will not start; `directx` does that by itself.
+29 -25
View File
@@ -24,10 +24,10 @@ and seven icons, 73,123 bytes.
## Against the others
![Two bar charts of drawing 64 rotating boxes at 60 fps in an 800x600 window.
Memory: Reaktor 9.1 MB, the same program on D3D12 120.3 MB and on OpenGL
68.9 MB, Flutter 132.7 MB, Electron 155.2 MB, Kotlin
Memory: Reaktor 8.8 MB, the same program on D3D12 120.5 MB and on OpenGL
68.7 MB, Flutter 132.7 MB, Electron 155.2 MB, Kotlin
Multiplatform 668.7 MB. Steady-state CPU as a percent of one core: Reaktor
6.1%, D3D12 5.1%, OpenGL 5.0%, Flutter 15.3%, Electron 20.7%,
6.0%, D3D12 5.2%, OpenGL 5.9%, Flutter 15.3%, Electron 20.7%,
Kotlin Multiplatform 29.4%](benchmark.svg)
The workload is [ShaftUI/Shaft](https://github.com/ShaftUI/Shaft)'s: 64 boxes
@@ -39,27 +39,28 @@ not plotted: it does not link on Windows.
| Arm | Memory | CPU, with startup | CPU, steady state | Measured |
| --- | --- | --- | --- | --- |
| **Reaktor**, `software` | 9.1 MB | 7.7% | 6.1% | 2026-11-10 |
| **Reaktor**, `direct3d11` | 57.2 MB | 14.1% | 9.1% | 2026-11-10 |
| **Reaktor**, `direct3d12` | 120.3 MB | 11.1% | 5.1% | 2026-11-10 |
| **Reaktor**, `opengl` | 68.9 MB | 10.7% | 5.0% | 2026-11-10 |
| **Reaktor**, `software` | 8.8 MB | 7.0% | 6.0% | 2026-11-11 |
| **Reaktor**, `direct3d11` | 57.6 MB | 14.4% | 11.7% | 2026-11-11 |
| **Reaktor**, `direct3d12` | 120.5 MB | 10.6% | 5.2% | 2026-11-11 |
| **Reaktor**, `opengl` | 68.7 MB | 11.1% | 5.9% | 2026-11-11 |
| Electron 44.3.0 | 155.2 MB | 36.1% | 20.7% | 2026-11-09 |
| Flutter 3.47.8 | 132.7 MB | 38.8% | 15.3% | 2026-10-24 |
| Kotlin Multiplatform | 668.7 MB | 51.5% | 29.4% | 2026-10-24 |
- **About a fourteenth of Flutter's memory and less than half its CPU**, with
startup or without, and about a seventieth of Kotlin Multiplatform's
- **About a fifteenth of Flutter's memory and less than half its CPU**, with
startup or without, and about a seventy-fifth of Kotlin Multiplatform's
memory.
- **Every Reaktor renderer takes less CPU than every other framework.** On a
GPU renderer its memory is mostly the graphics driver's: 57–120 MB, below
GPU renderer its memory is mostly the graphics driver's: 58–121 MB, below
Flutter's 133.
- **Once running, `direct3d12` and `opengl` take 1.0–1.1 points less than
`software`; with startup, 3.0–3.4 more.** `direct3d11` takes the most of
the four either way.
- **Once running, `direct3d12` takes 0.8 points less than `software` and
`opengl` about the same; with startup, they take 3.6–4.1 more.**
`direct3d11` takes the most of the four either way.
- **`software`'s memory lands on one of two levels.** Its runs read
8.1–8.3 MB or 9.1–9.2 MB, and master before #139 does the same: twelve
passes of the two taken in turn gave each a median of 9.1 MB. The
previous pass, on 2026-11-09, read 8.4.
8.1–8.3 MB or 9.1–9.2 MB, 16 of the 40 the lower, so the median falls
between. Master before #139 does the same: twelve passes of the two taken
in turn gave each a median of 9.1 MB. The passes of 2026-11-10 read 9.1,
those of 2026-11-09 8.4.
- **About 2.2 MB of every arm is the antivirus.** Bitdefender puts two
components into every process on this machine. Walked with VirtualQueryEx
and a heap ledger on `bench` on 2026-11-04, they come to two private heaps
@@ -80,17 +81,20 @@ not plotted: it does not link on Windows.
./benchmarks/run.ps1 -Targets <arm> -Fps 60 -Runs 1 -Steady -PinClock
```
Twenty passes of Reaktor's arms, each running every arm once in each mode,
the order of the arms rotated and reversed from pass to pass so none always
runs first. Memory is
Forty passes of Reaktor's arms, twenty in each of two sessions, each running
every arm once in each mode, the order of the arms rotated and reversed from
pass to pass so none always runs first. Memory is
peak private bytes and CPU the sum across each app's process tree, as a
percent of one core: with startup over the whole 6-second run, steady from
3 s to 8 s of a 9-second run. Every arm held 60 fps; one `opengl` run drew
532 frames of 541. Each figure is the median of the twenty runs. Between
runs of one arm, memory spread by up to 2.0 MB (`direct3d12` 6.0 MB) and
steady CPU by several points: the middle half of `software`'s runs read
5.5–6.4%, `direct3d11`'s 8.1–10.5%, `direct3d12`'s 3.2–6.6% and
`opengl`'s 4.4–6.0%. `-PinClock` runs
3 s to 8 s of a 9-second run. Every arm held 60 fps; the fewest frames a
run drew were 356 of 361. Each figure is the median of the forty runs.
Between runs of one arm, memory spread by up to 2.5 MB (`direct3d12`
7.3 MB) and steady CPU by several points: the middle half of `software`'s
runs read 5.6–6.7%, `direct3d11`'s 9.3–13.5%, `direct3d12`'s 4.2–6.1% and
`opengl`'s 4.9–6.5%. A whole session moves too: from the same binaries,
`direct3d11` read 9.7% steady in the first and 12.8% in the second, and
the passes of 2026-11-10 read 9.1% for `direct3d11` and 5.0% for
`opengl`. `-PinClock` runs
on a copy of the power plan that holds the processor at full speed, and
restores the plan after.
+13 -13
View File
@@ -3,14 +3,14 @@
<rect x="30" y="30" width="715" height="500" rx="14" fill="#353535"/>
<text x="70" y="90" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="31" font-weight="600" fill="#ffffff">Memory</text>
<text x="70" y="116" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="14" fill="#8e8e8e">private bytes, peak, whole process tree</text>
<rect x="99.5" y="448.761" width="46" height="3.23882" fill="#56c7ff"/>
<text x="122.5" y="418.761" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="18" font-weight="600" fill="#ffffff">9.1 MB</text>
<rect x="99.5" y="448.868" width="46" height="3.13205" fill="#56c7ff"/>
<text x="122.5" y="418.868" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="18" font-weight="600" fill="#ffffff">8.8 MB</text>
<text x="122.5" y="478" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="15" font-weight="600" fill="#ffffff">Software</text>
<path d="M205.5 452 v-36.8165 a6 6 0 0 1 6 -6 h34 a6 6 0 0 1 6 6 v36.8165 z" fill="#56c7ff"/>
<text x="228.5" y="379.183" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="18" font-weight="600" fill="#ffffff">120.3 MB</text>
<path d="M205.5 452 v-36.8877 a6 6 0 0 1 6 -6 h34 a6 6 0 0 1 6 6 v36.8877 z" fill="#56c7ff"/>
<text x="228.5" y="379.112" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="18" font-weight="600" fill="#ffffff">120.5 MB</text>
<text x="228.5" y="478" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="15" font-weight="600" fill="#ffffff">D3D12</text>
<path d="M311.5 452 v-18.5225 a6 6 0 0 1 6 -6 h34 a6 6 0 0 1 6 6 v18.5225 z" fill="#56c7ff"/>
<text x="334.5" y="397.477" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="18" font-weight="600" fill="#ffffff">68.9 MB</text>
<path d="M311.5 452 v-18.4513 a6 6 0 0 1 6 -6 h34 a6 6 0 0 1 6 6 v18.4513 z" fill="#56c7ff"/>
<text x="334.5" y="397.549" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="18" font-weight="600" fill="#ffffff">68.7 MB</text>
<text x="334.5" y="478" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="15" font-weight="600" fill="#ffffff">OpenGL</text>
<path d="M417.5 452 v-41.2298 a6 6 0 0 1 6 -6 h34 a6 6 0 0 1 6 6 v41.2298 z" fill="#6e7a82"/>
<text x="440.5" y="374.77" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="18" font-weight="600" fill="#ffffff">132.7 MB</text>
@@ -25,14 +25,14 @@
<rect x="755" y="30" width="715" height="500" rx="14" fill="#353535"/>
<text x="795" y="90" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="31" font-weight="600" fill="#ffffff">CPU at 60 fps</text>
<text x="795" y="116" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="14" fill="#8e8e8e">percent of one core, steady state (3 s to 8 s)</text>
<path d="M824.5 452 v-43.381 a6 6 0 0 1 6 -6 h34 a6 6 0 0 1 6 6 v43.381 z" fill="#56c7ff"/>
<text x="847.5" y="372.619" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="18" font-weight="600" fill="#ffffff">6.1%</text>
<path d="M824.5 452 v-42.5714 a6 6 0 0 1 6 -6 h34 a6 6 0 0 1 6 6 v42.5714 z" fill="#56c7ff"/>
<text x="847.5" y="373.429" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="18" font-weight="600" fill="#ffffff">6.0%</text>
<text x="847.5" y="478" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="15" font-weight="600" fill="#ffffff">Software</text>
<path d="M930.5 452 v-35.2857 a6 6 0 0 1 6 -6 h34 a6 6 0 0 1 6 6 v35.2857 z" fill="#56c7ff"/>
<text x="953.5" y="380.714" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="18" font-weight="600" fill="#ffffff">5.1%</text>
<path d="M930.5 452 v-36.0952 a6 6 0 0 1 6 -6 h34 a6 6 0 0 1 6 6 v36.0952 z" fill="#56c7ff"/>
<text x="953.5" y="379.905" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="18" font-weight="600" fill="#ffffff">5.2%</text>
<text x="953.5" y="478" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="15" font-weight="600" fill="#ffffff">D3D12</text>
<path d="M1036.5 452 v-34.4762 a6 6 0 0 1 6 -6 h34 a6 6 0 0 1 6 6 v34.4762 z" fill="#56c7ff"/>
<text x="1059.5" y="381.524" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="18" font-weight="600" fill="#ffffff">5.0%</text>
<path d="M1036.5 452 v-41.7619 a6 6 0 0 1 6 -6 h34 a6 6 0 0 1 6 6 v41.7619 z" fill="#56c7ff"/>
<text x="1059.5" y="374.238" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="18" font-weight="600" fill="#ffffff">5.9%</text>
<text x="1059.5" y="478" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="15" font-weight="600" fill="#ffffff">OpenGL</text>
<path d="M1142.5 452 v-117.857 a6 6 0 0 1 6 -6 h34 a6 6 0 0 1 6 6 v117.857 z" fill="#6e7a82"/>
<text x="1165.5" y="298.143" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="18" font-weight="600" fill="#ffffff">15.3%</text>
@@ -45,5 +45,5 @@
<text x="1377.5" y="478" text-anchor="middle" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="15" font-weight="400" fill="#b9b9b9">KMP</text>
<line x1="785" y1="452.5" x2="1440" y2="452.5" stroke="#4a4a4a" stroke-width="1"/>
<text x="40" y="562" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="15" fill="#b9b9b9">Drawing 64 rotating boxes at 60 fps in an 800×600 window. Lower is better in both panels.</text>
<text x="40" y="586" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="13" fill="#8e8e8e">Three Reaktor renderers (0.11.0) measured 2026-11-10, Electron 2026-11-09, Flutter and Kotlin Multiplatform 2026-10-24, all on the same machine — details in benchmarks/BENCHMARKS.md.</text>
<text x="40" y="586" font-family="Segoe UI, -apple-system, Helvetica Neue, Arial, sans-serif" font-size="13" fill="#8e8e8e">Three Reaktor renderers (0.11.0) measured 2026-11-11, Electron 2026-11-09, Flutter and Kotlin Multiplatform 2026-10-24, all on the same machine — details in benchmarks/BENCHMARKS.md.</text>
</svg>

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB