Julian Prein
000ac0f615
kitty: Enable close_on_child_death
Otherwise closing kitty takes forever on my system:
> kitty -1 --instance-group no -o close_on_child_death=no &
> kitty -1 --instance-group yes -o close_on_child_death=yes &
> kitty_cmd="kitty -1 \
--wait-for-single-instance-window-close \
--instance-group"
> zsh_cmd="zsh -ic exit"
> hyperfine -N "$kitty_cmd no $zsh_cmd" \
"$kitty_cmd yes $zsh_cmd" \
"st -e $zsh_cmd"
Benchmark 1: kitty -1 \
--wait-for-single-instance-window-close \
--instance-group no zsh -ic exit
Time (mean ± σ): 5.543 s ± 0.023 s [User: 0.002 s, System: 0.005 s]
Range (min … max): 5.486 s … 5.570 s 10 runs
Benchmark 2: kitty -1 \
--wait-for-single-instance-window-close \
--instance-group yes zsh -ic exit
Time (mean ± σ): 509.9 ms ± 29.4 ms [User: 1.0 ms, System: 2.2 ms]
Range (min … max): 480.9 ms … 560.1 ms 10 runs
Benchmark 3: st -e zsh -ic exit
Time (mean ± σ): 475.0 ms ± 12.6 ms [User: 304.3 ms, System: 171.5 ms]
Range (min … max): 455.6 ms … 495.7 ms 10 runs
Summary
st -e zsh -ic exit ran
1.07 ± 0.07 times faster than kitty -1 \
--wait-for-single-instance-window-close \
--instance-group yes zsh -ic exit
11.67 ± 0.31 times faster than kitty -1 \
--wait-for-single-instance-window-close \
--instance-group no zsh -ic exit
Link: https://github.com/kovidgoyal/kitty/issues/378
TODO: Could the 500ms be decreased? (zsh related)
2025-05-22 16:32:59 +02:00
..
2023-12-01 03:43:06 +01:00
2020-12-28 03:09:02 +01:00
2025-03-03 15:43:31 +01:00
2025-05-22 01:13:45 +02:00
2024-10-22 19:01:45 +02:00
2024-09-20 23:58:37 +02:00
2024-11-04 23:17:58 +01:00
2025-04-30 17:03:05 +02:00
2025-03-11 11:54:18 +01:00
2025-05-22 15:49:03 +02:00
2025-05-22 16:32:59 +02:00
2025-01-24 19:21:36 +01:00
2022-07-12 21:00:11 +02:00
2025-02-02 14:20:17 +01:00
2025-05-14 18:44:31 +02:00
2022-07-12 21:00:11 +02:00
2022-06-23 23:59:01 +02:00
2023-06-23 17:43:58 +02:00
2022-11-20 16:51:26 +01:00
2025-03-24 18:36:41 +01:00
2025-05-20 11:47:42 +02:00
2021-02-19 23:40:07 +01:00
2020-11-05 12:37:19 +01:00
2022-06-23 23:58:54 +02:00
2022-06-23 23:59:01 +02:00
2024-11-04 09:55:37 +01:00
2025-05-22 01:13:40 +02:00
2020-10-31 22:33:52 +01:00
2021-10-05 12:01:46 +02:00
2020-10-31 22:33:26 +01:00
2024-10-22 19:37:45 +02:00
2025-01-20 17:45:20 +01:00
2022-01-21 16:37:05 +01:00