Dzmitry Malyshau
d51a0b60be
linux/x11: send XCB requests asynchronously ( #8045 )
...
With `send_and_check_request` we'd be blocking both the main loop and
the caller. `send_request` is only going to be blocking on the main loop
when processing the request.
Release Notes:
- N/A
Based on a flamegraph from `perf`/`hotspot`, we are spending 40% of time
redrawing, another 40% of time downloading stuff (i.e. rust toolchain),
and the rest on text rendering, layout and such. This is with Vulkan
Validation (see https://github.com/zed-industries/zed/pull/8044 ).
I'm also wondering if it would be better with #7758 , but regardless we
should have no problem rendering at 60-120 fps and processing user
input. More follow-ups are expected here.
2024-02-20 10:20:49 -08:00
..
2024-02-06 20:41:36 +01:00
2024-02-12 11:37:27 -05:00
2024-02-06 20:41:36 +01:00
2024-02-18 08:14:08 +02:00
2024-02-06 20:41:36 +01:00
2024-02-06 20:41:36 +01:00
2024-02-06 20:41:36 +01:00
2024-02-13 12:53:49 -07:00
2024-02-19 19:20:02 -07:00
2024-02-09 10:13:00 -08:00
2024-02-07 19:06:03 +02:00
2024-02-17 09:03:05 -07:00
2024-02-20 09:41:37 -07:00
2024-02-19 21:49:47 -07:00
2024-01-30 14:08:20 -05:00
2024-02-06 20:41:36 +01:00
2024-02-19 14:37:52 +02:00
2024-02-19 16:44:24 -08:00
2024-02-16 10:45:55 -05:00
2024-02-06 20:41:36 +01:00
2024-02-06 20:41:36 +01:00
2024-02-19 21:49:47 -07:00
2024-02-16 17:43:40 -05:00
2024-02-16 11:49:05 -05:00
2024-02-06 20:41:36 +01:00
2024-02-12 22:28:26 -07:00
2024-02-19 14:37:52 +02:00
2024-02-19 17:41:35 -08:00
2024-02-08 08:35:37 -08:00
2024-02-06 20:41:36 +01:00
2024-02-06 20:41:36 +01:00
2024-02-06 20:41:36 +01:00
2024-02-20 10:20:49 -08:00
2024-01-30 21:41:29 -05:00
2024-02-06 20:41:36 +01:00
2024-02-06 20:41:36 +01:00
2024-02-15 14:19:57 -07:00
2024-02-19 14:37:52 +02:00
2024-02-07 15:14:50 -05:00
2024-02-14 12:24:12 -08:00
2024-01-30 21:41:29 -05:00
2024-02-20 11:47:13 -05:00
2024-02-20 15:18:42 +02:00
2024-02-16 13:39:40 -08:00
2024-02-06 20:41:36 +01:00
2024-02-17 09:03:05 -07:00
2024-02-20 09:53:03 +02:00
2024-02-06 20:41:36 +01:00
2024-02-19 14:37:52 +02:00
2024-02-19 14:37:52 +02:00
2024-02-06 20:41:36 +01:00
2024-01-30 21:41:29 -05:00
2024-01-30 21:41:29 -05:00
2024-02-17 11:35:31 +02:00
2024-02-20 11:47:13 -05:00
2024-02-07 19:06:03 +02:00
2024-02-19 14:37:52 +02:00
2024-02-18 08:14:08 +02:00
2024-02-19 14:37:52 +02:00
2024-01-30 21:41:29 -05:00
2024-02-06 20:41:36 +01:00
2024-02-19 21:49:47 -07:00
2024-02-17 09:03:05 -07:00
2024-02-20 09:41:37 -07:00
2024-02-20 15:02:35 +02:00
2024-02-19 18:40:41 +01:00
2024-02-18 08:01:06 +02:00
2024-02-12 11:37:27 -05:00
2024-02-19 18:41:43 +02:00
2024-01-29 23:47:20 -05:00
2024-02-07 19:06:03 +02:00
2024-02-06 20:41:36 +01:00
2024-02-06 20:41:36 +01:00
2024-02-19 14:37:52 +02:00
2024-02-17 09:03:05 -07:00
2024-02-20 16:14:59 +02:00
2024-02-20 14:54:19 +02:00
2024-02-17 09:03:05 -07:00
2024-02-20 11:26:09 -05:00
2024-02-07 16:23:36 -05:00
2024-02-19 14:37:52 +02:00
2024-02-19 18:41:43 +02:00
2024-02-19 18:41:43 +02:00
2024-02-19 14:37:52 +02:00
2024-02-17 13:36:08 -07:00
2024-02-19 14:37:52 +02:00
2024-02-20 09:41:37 -07:00
2024-02-20 12:05:09 -05:00
2024-02-06 20:41:36 +01:00