Files
oak-gpui/crates
Michael Sloan 9427526a41 gpui: Clear the element arena after presenting the frame (#33338)
This is an easy way to shave some microseconds off the critical path for
frame rendering. On my machine this reduces typical frame rendering
latency by ~100 microseconds, probably quite a bit more on slower
machines.

Here is how long it typically takes to drop elements from the arena,
from a fairly brief run:


![image](https://github.com/user-attachments/assets/65cfd911-eccf-4393-887d-8cad2cd27148)

Release Notes:

- N/A
2025-06-24 19:43:33 +00:00
..
2025-06-18 14:43:23 +00:00
2025-06-22 16:23:17 -04:00
2025-06-22 16:23:17 -04:00
2025-06-05 12:59:22 +00:00
2025-06-22 16:23:17 -04:00
2025-06-22 16:23:17 -04:00
2025-06-17 20:26:27 +00:00
…
…
2025-06-23 20:53:55 -03:00
2025-06-24 10:51:41 -06:00