Brecht Van Lommel
b88e5fc72d
Fix slow patch checking with commits that add or remove many files ( #31548 )
...
Running git update-index for every individual file is slow, so add and
remove everything with a single git command.
When such a big commit lands in the default branch, it could cause PR
creation and patch checking for all open PRs to be slow, or time out
entirely. For example, a commit that removes 1383 files was measured to
take more than 60 seconds and timed out. With this change checking took
about a second.
This is related to #27967 , though this will not help with commits that
change many lines in few files.
2024-07-04 18:57:11 +00:00
..
2024-01-16 08:13:07 +01:00
2023-02-04 10:30:43 +08:00
2024-04-26 02:53:30 +00:00
2024-01-19 17:05:02 +01:00
2022-11-27 18:20:29 +00:00
2024-02-24 18:46:49 +00:00
2024-04-22 11:48:42 +00:00
2024-03-12 04:21:27 +00:00
2024-03-12 04:21:27 +00:00
2024-05-06 18:34:16 +02:00
2023-12-13 21:02:00 +00:00
2024-02-24 11:45:59 +00:00
2022-11-27 18:20:29 +00:00
2023-06-13 09:02:25 +00:00
2022-11-27 18:20:29 +00:00
2023-04-13 19:17:27 -04:00
2024-03-24 17:05:00 +01:00
2024-04-01 20:23:17 +00:00
2023-12-13 21:02:00 +00:00
2024-04-29 08:47:56 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2024-04-22 11:48:42 +00:00
2024-03-12 04:21:27 +00:00
2024-03-29 21:55:10 +00:00
2024-05-06 18:34:16 +02:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2024-02-12 23:37:23 +01:00
2024-02-14 17:18:30 +00:00
2024-05-06 18:34:16 +02:00
2024-05-03 09:13:48 +00:00
2024-05-03 09:13:48 +00:00
2022-11-27 18:20:29 +00:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2024-04-13 08:38:44 +00:00
2024-02-14 18:19:57 +00:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2024-05-06 18:34:16 +02:00
2024-01-19 17:05:02 +01:00
2024-04-26 09:49:48 +00:00
2024-05-06 18:34:16 +02:00
2024-04-29 08:47:56 +00:00
2024-04-29 08:47:56 +00:00
2024-04-29 08:47:56 +00:00
2024-04-29 08:47:56 +00:00
2019-03-27 17:33:00 +08:00
2023-05-26 01:04:48 +00:00
2024-04-27 08:03:49 +00:00
2024-05-06 18:34:16 +02:00
2024-01-19 05:49:18 +00:00
2024-02-24 18:46:49 +00:00
2024-02-24 18:46:49 +00:00
2024-05-06 18:34:16 +02:00
2024-05-06 18:34:16 +02:00
2023-07-12 19:07:29 +02:00
2023-12-13 21:02:00 +00:00
2023-12-13 21:02:00 +00:00
2023-12-19 07:20:47 +00:00
2023-12-19 07:20:47 +00:00
2024-01-27 21:09:51 +01:00
2024-01-27 21:09:51 +01:00
2022-11-27 18:20:29 +00:00
2024-03-08 15:30:10 +08:00
2024-03-12 04:21:27 +00:00
2024-03-12 04:21:27 +00:00
2023-04-22 17:56:27 -04:00
2024-05-06 18:34:16 +02:00
2024-01-23 05:40:00 +00:00
2024-05-06 18:34:16 +02:00
2024-03-12 04:21:27 +00:00
2024-03-12 04:21:27 +00:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2024-07-04 18:57:11 +00:00
2024-02-24 18:46:49 +00:00
2024-02-24 18:46:49 +00:00
2023-05-24 19:37:36 +00:00
2024-02-24 18:46:49 +00:00
2023-12-19 07:20:47 +00:00
2023-12-13 21:02:00 +00:00
2023-12-19 07:20:47 +00:00
2023-03-02 13:32:21 +08:00
2023-07-27 12:47:41 +02:00
2023-03-02 13:32:21 +08:00
2024-03-22 19:17:30 +08:00
2023-12-19 07:20:47 +00:00
2024-02-22 03:48:19 +00:00
2024-04-01 20:23:17 +00:00
2024-04-01 20:23:17 +00:00
2023-05-04 05:08:41 +00:00
2024-03-12 04:21:27 +00:00
2024-03-12 04:21:27 +00:00
2023-12-19 07:20:47 +00:00
2024-05-06 17:02:30 +00:00
2024-02-09 11:02:53 +08:00
2024-02-09 11:02:53 +08:00
2024-02-09 11:02:53 +08:00
2024-02-09 11:02:53 +08:00
2022-11-27 18:20:29 +00:00
2024-04-22 11:48:42 +00:00
2024-04-01 20:23:17 +00:00
2024-04-01 20:23:17 +00:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2023-12-13 21:02:00 +00:00
2022-11-27 18:20:29 +00:00
2023-02-14 21:23:04 +00:00
2023-12-13 21:02:00 +00:00
2024-04-29 08:47:56 +00:00
2024-02-22 03:48:19 +00:00
2023-12-13 21:02:00 +00:00
2024-05-20 15:12:50 +00:00
2024-05-20 15:12:50 +00:00