zed-industries/zed
Legitimate Zed editor source code
100+ functions have 50+ basic blocksAArch64 (ARM64) architecture string
SHA-2567a2cbb06ca0bb4e7eda0f87ba8f0d99608893ee9e06189f6510671a54ef8f09f
Evidence
1---
2name: gpui-bench
3description: >-
4 Design, write, review, run, and interpret production-shaped GPUI Criterion
5 benchmarks, including gpui::bench, BenchAppContext, renderer and task
6 benchmarks, headless Metal frame data, responsiveness and hang regressions,
7 feature isolation from …
12:178… hether a GPUI benchmark represents production.
13
14The primary goal is UI responsiveness. Throughput matters, but a UI that finishes work quickly while blocking input and frames is still regressed.
15
16## Start with the performance question
17
18Before editing, establish or derive:
19
201. What user-visible problem is being reproduced: slow computation, long foreground poll …
47:7… t the complete feature graph for the actual benchmark package:
48
49```sh
50feature_tree="$(cargo tree -p <benchmark-package> -e normal,build,dev,features)"
51if grep -F 'feature "test-support"' <<<"${feature_tree}"; then
52 echo 'benchmark graph contains test-su …
272:8… p90, p95, p99, and maximum durations;
273- total and maximum frame-budget overruns.
274
275Frame-budget overruns are a synthetic missed-deadline proxy because the headless harness has no display vsync. Do not call th …
371:119… bles. Fall back to `Time Profiler` if it is unavailable:
372
373```sh
374rm -rf /tmp/zed-profiles/<name>.trace
375xctrace record \
376 --template "zed-bench" \
377 --output /tmp/zed-profiles/<name>.trace \
378 --launch -- …
Showing the top 5 files — 5 more files (56 regions) not shown.