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
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,14 @@ jobs:

- name: Tests
run: cargo test --all-targets

# The opt-in profiling build (docs/hotpath-profiling.md) must keep
# compiling, and its report must keep naming every instrumented phase.
- name: Clippy (hotpath-alloc)
run: cargo clippy --all-targets --features hotpath-alloc -- -D warnings

- name: Tests (hotpath)
run: cargo test --all-targets --features hotpath

- name: Tests (hotpath-alloc)
run: cargo test --all-targets --features hotpath-alloc
148 changes: 148 additions & 0 deletions Cargo.lock

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

11 changes: 11 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ include = [
"packaging/hyprburst.lua",
"src/**",
"tests/**",
"examples/**",
]

[dependencies]
Expand All @@ -50,6 +51,16 @@ glutin-winit = "0.5"
glow = "0.16"
ab_glyph = "0.2"
raw-window-handle = "0.6"
# Profiling instrumentation. Every macro is a no-op and none of hotpath's own
# dependencies are compiled unless the `hotpath` feature below is enabled.
hotpath = { version = "0.28", default-features = false }

[features]
# Opt-in profiling: `cargo build --release --features hotpath[,hotpath-alloc]`
# writes a timing (and allocation) report when the launcher exits. See
# docs/hotpath-profiling.md.
hotpath = ["hotpath/hotpath", "hotpath/threads"]
hotpath-alloc = ["hotpath", "hotpath/hotpath-alloc"]

[profile.release]
opt-level = 3
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@ CI asserts the same path stays under a **250ms ceiling** via `tests/bench_startu

Compare first presentation with `hyprburst --measure` (Rio default) and `hyprburst native --measure` (direct fallback). Reference results are recorded in [Rio Prototype Findings](docs/rio-prototype.md).

For where the time goes, build with the opt-in `hotpath` / `hotpath-alloc` features and run with `HYPRBURST_PERF=1` for open, query, and selection latency; see [Profiling with hotpath](docs/hotpath-profiling.md) and the [findings](docs/hotpath-findings.md).

## Troubleshooting

**Icons look generic.** Both GPU frontends use a four-tile app symbol when no resolved font provides the requested icon. Install a [Nerd Font](https://www.nerdfonts.com/) such as `JetBrainsMono Nerd Font` and reopen hyprburst to get application-specific icons; your configured text family can stay unchanged. Set `ui.show_icons = false` to hide icons entirely. If **icons show as tofu squares (□)** in `hyprburst tui`, configure a Nerd Font or font fallback in the hosting terminal; a shared theme family does not control its font.
Expand Down
Loading
Loading