Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,42 @@ All notable changes to Hyprburst are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.9.0] - 2026-10-17

### Added

- Opt-in profiling. The `hotpath` and `hotpath-alloc` Cargo features
instrument the open, query, and render paths, and the default build pulls
in none of their dependencies. `HYPRBURST_PERF=1` prints open
(`first-present`, `first-content-present`) and query/selection
input-to-present samples to stderr. `scripts/perf-summary.sh` summarises
them, and `examples/query-cost.rs` measures query cost offscreen. See
`docs/hotpath-profiling.md`.

### Changed

- Opening is about twice as fast: content p95 is ~40 ms instead of 86 ms for
native and 115 ms for Rio (Ryzen 7 8845HS, performance profile).
- Font resolution skips fontconfig when `[font] path` or `$HYPRBURST_FONT`
already has Nerd Font icons. Otherwise it caches the answer in
`$XDG_CACHE_HOME/hyprburst/fonts` until the font settings or the
fontconfig cache change.
- Fonts and the native launcher core load on worker threads while the
window and GL context are created.
- The Rio child starts as soon as the window exists, overlapping GL setup,
and draws before it waits for input. Its content is now in the first
presented frame instead of ~30 ms after an empty one.

### Fixed

- The Rio frontend re-lays out the grid as soon as the window is resized,
instead of on the next key.
- With `HYPRBURST_PERF` set, `--measure` no longer delays the Rio child's
first paint by ~70 ms; it reports after content is presented.
- `HYPRBURST_PERF` no longer times a key that changed nothing (such as
`Backspace` on an empty query) to the next key's frame. It reports it as
`*-input-unanswered`, the same way in both frontends.

## [0.8.1] - 2026-09-13

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hyprburst"
version = "0.8.1"
version = "0.9.0"
edition = "2024"
description = "Fast fullscreen GPU-rendered application launcher for Arch Linux and Hyprland"
license = "GPL-3.0-or-later"
Expand Down
42 changes: 41 additions & 1 deletion docs/hotpath-findings.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ bringing Rio content close to native.

### 4. Warm native opens miss the balanced target (+14.1% at p95)

**Resolved in [NUKE-115](https://linear.app/tiendacables/issue/NUKE-115) by
re-measuring after NUKE-111..114; see
[After NUKE-115](#after-nuke-115--2026-10-17).**

Back-to-back native opens in balanced have a long tail (p95 103.9 ms, max
110 ms vs 91–92 ms in performance). The cold case and both Rio cases pass. The
open path is dominated by findings 1 and 2, which are process spawns and driver
Expand Down Expand Up @@ -419,6 +423,42 @@ Remaining limit: a no-op key followed by another key within 50 ms still
folds, so that sample can read up to ~50 ms. Real input latency here is
1–2 ms, so such a sample stands out.

## After NUKE-115 — 2026-10-17

Re-measure of finding 4 on `main` (`d703172`, which includes NUKE-111..114),
no code change. Earlier sessions of 30 opens swung the balanced/performance
ratio from 1.5% to 20%, so this run uses 100 cold + 100 warm `--measure`
opens per frontend and profile, one throwaway open first, performance and
then balanced in one session.

### First-content present (ms)

| Open | Frontend | Perf median | Perf p95 | Bal median | Bal p95 | p95 Δ | Ratio | ≤ 10% |
| --- | --- | ---: | ---: | ---: | ---: | ---: | ---: | :---: |
| cold | native | 34.9 | 38.0 | 39.2 | 43.4 | +5.4 | +14.1% | fail |
| warm | native | 36.5 | 46.4 | 39.0 | 50.6 | +4.2 | +9.0% | **pass** |
| cold | rio | 36.5 | 39.4 | 41.1 | 44.9 | +5.6 | +14.1% | fail |
| warm | rio | 37.9 | 45.1 | 41.0 | 50.1 | +5.0 | +11.0% | fail |

Warm native in balanced, the case finding 4 was about, is now +9.0% above
performance: **NUKE-115's done-when is met.** It was 103.9 ms p95 at the
baseline and is 50.6 ms now. Its long tail came from the font lookup and GL
setup that NUKE-111 and NUKE-112 removed or overlapped, as the finding
expected.

The other three cells miss the relative target by 1–4 points. In every cell
the gap is 4–6 ms on a ~40 ms open, consistent with a lower clock slowing CPU
and driver work this short. Five hotpath reports of a cold native open per
profile show the same phases in both (`GlState::open_window` 20–23 ms,
`GlState::new` 7.6–10.9 ms, content at 33.4–40.0 ms). At five samples the
phase noise is larger than the gap, so hotpath cannot place it in one phase.

A relative ≤ 10% target no longer separates a regression from clock speed
at this size: a 4 ms gap is 10% of a 40 ms open. For future runs, an
absolute bound (balanced p95 ≤ performance p95 + 10 ms) or a balanced p95
budget (≤ 60 ms) would catch a real regression without flagging the clock
ratio.

## Follow-ups

Filed as sub-issues of NUKE-109:
Expand All @@ -429,4 +469,4 @@ Filed as sub-issues of NUKE-109:
| [NUKE-112](https://linear.app/tiendacables/issue/NUKE-112) Load fonts while the window and GL context are created | 2 | NUKE-111 | fixed (see above) |
| [NUKE-113](https://linear.app/tiendacables/issue/NUKE-113) Rio: draw before the first input poll, spawn the child earlier | 3 | — | fixed (see above) |
| [NUKE-114](https://linear.app/tiendacables/issue/NUKE-114) Probe: count no-op keys the same way in both frontends | 5 | — | fixed (see above) |
| [NUKE-115](https://linear.app/tiendacables/issue/NUKE-115) Re-measure warm native open in balanced | 4 | NUKE-111, NUKE-112 | open: both frontends now open in ~40 ms, and the ≤ 10% ratio swings 1.5–20% between sessions |
| [NUKE-115](https://linear.app/tiendacables/issue/NUKE-115) Re-measure warm native open in balanced | 4 | NUKE-111, NUKE-112 | resolved: warm native +9.0% at n=100 (see above) |
4 changes: 2 additions & 2 deletions packaging/aur/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgbase = hyprburst
pkgdesc = Fast fullscreen GPU-rendered application launcher for Arch Linux and Hyprland
pkgver = 0.8.1
pkgver = 0.9.0
pkgrel = 1
url = https://github.com/piny4man/hyprburst
arch = x86_64
Expand All @@ -12,7 +12,7 @@ pkgbase = hyprburst
optdepends = ttf-nerd-fonts-symbols: Nerd Font glyphs for entry icons (any Nerd Font works)
optdepends = foot: terminal emulator for the `hyprburst tui` fallback (any of alacritty/wezterm/ghostty/kitty/foot/rio works)
options = !lto
source = hyprburst-0.8.1.crate::https://static.crates.io/crates/hyprburst/hyprburst-0.8.1.crate
source = hyprburst-0.9.0.crate::https://static.crates.io/crates/hyprburst/hyprburst-0.9.0.crate
sha256sums = SKIP

pkgname = hyprburst
2 changes: 1 addition & 1 deletion packaging/aur/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: piny4man <development@pinya.dev>

pkgname=hyprburst
pkgver=0.8.1
pkgver=0.9.0
pkgrel=1
pkgdesc="Fast fullscreen GPU-rendered application launcher for Arch Linux and Hyprland"
arch=('x86_64')
Expand Down
Loading