Files
oak-gpui/crates
Martin Pool 65acf125fb Fix use of PRNG in Rope benchmarks (#39949)
Using a seeded PRNG to produce consistent test data and reduce
variability makes sense.

However, the way it was used previously, by always cloning the RNG,
means that every generated string is the same, and every offset is the
same. After this change, the tested value stream should still be the same on
each run of the benchmark, but the values within each run will vary.

The `generate_random_text` measured in chars also seems possibly
inconsistent with later comments about it being a number of bytes.

Release Notes:

- N/A
2025-10-17 00:15:28 +02:00
..
2025-08-13 13:25:52 -06:00
2025-09-08 21:53:17 -06:00
2025-09-03 22:10:14 +00:00
2025-10-10 15:14:37 +00:00
2025-09-25 14:42:32 -07:00
2025-09-18 16:47:23 +00:00
2025-07-17 14:25:55 +00:00
2025-09-18 16:47:23 +00:00
2025-09-18 16:47:23 +00:00
2025-10-15 19:38:08 -07:00
2025-09-08 21:53:17 -06:00
2025-09-26 11:41:26 -04:00