mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #472] [MERGED] bench(text-buffer-view): add measureForDimensions benchmark #1340
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1340
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/472
Author: @simonklee
Created: 1/4/2026
Status: ✅ Merged
Merged: 1/5/2026
Merged by: @kommander
Base:
main← Head:measure-dimensions-bench📝 Commits (1)
16dfa50bench(text-buffer-view): add measureForDimensions benchmark📊 Changes
1 file changed (+109 additions, -6 deletions)
View changed files
📝
packages/core/src/zig/bench/text-buffer-view_bench.zig(+109 -6)📄 Description
Add a benchmark for measureForDimensions().
This function creates a fresh arena and performs a full rope walk on every call.
The benchmark has two scenarios:
This adds a baseline for measuring future fixes like result caching, arena reuse.
Refs: anomalyco/opencode#6172
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.