zed/crates/multi_buffer/src
Anthony Eid 58d03b0137 benchmarks: Stop requesting multi_buffer's test-support feature
Adds a narrow `benchmarks` feature to `multi_buffer`, gating
`MultiBuffer::build_simple_for_benchmarks`/`build_random_for_benchmarks` as
production-faithful equivalents of `build_simple`/`build_random` that do not
require any crate's test-support. `display_map`/`editor_render` now call the
new functions instead, and `benchmarks` requests `multi_buffer/benchmarks`
instead of `multi_buffer/test-support`.

`build_random_for_benchmarks` is a dedicated duplicate of
`randomly_edit_excerpts`, substituting a vendored `BenchmarkRandomCharIter`
for `util::RandomCharIter` (the only test-support-only dependency it has),
guarded against drift by a new parity test asserting byte-identical output
against `build_random` for the same rng sequence.

Extends script/check-gpui-bench-feature-isolation to prove the direct
benchmarks -> multi_buffer/test-support edge is gone and that multi_buffer's
benchmarks feature itself resolves no test-support.
2026-08-21 18:07:52 -04:00
..
anchor.rs git: Add diff_base setting for showing changes since the default branch (#61501) 2026-07-31 19:57:13 +00:00
multi_buffer.rs benchmarks: Stop requesting multi_buffer's test-support feature 2026-08-21 18:07:52 -04:00
multi_buffer_tests.rs benchmarks: Stop requesting multi_buffer's test-support feature 2026-08-21 18:07:52 -04:00
path_key.rs Split out RelPath into a separate crate (#61029) 2026-07-15 08:33:25 +00:00
transaction.rs ep: Fix agent edits triggering edit predictions due to diagnostic refresh (#57832) 2026-05-28 13:27:55 +00:00