Dave Borowitz
bbaea3fb34
Revert marking merged or abandoned changes in related changes
...
This incurs database lookups on every commit returned from the RevWalk
that does not have an open change associated with it. Typically this
is not very many, because the walk is limited to the current branch
tip.
However, there is very bad worst-case behavior in the case of
reviewing a merge that pulls in a long side branch whose merge base
with tip is far back in history:
M
|\
T \
| B1000
... ...
| B1
|/
O
In this case, we incur a thousand distinct database lookups to see
whether B1..B1000 have changes associated with them. In practice this
is a serious performance regression on some large repositories.
The original changes were a very useful bugfix, but it needs a more
efficient implementation.
This reverts the following commits:
d3b6e1d531
72d9193f62
Change-Id: Ia3d4b200e677bca24fcd8fa9a4629bb406e90998
2015-03-17 10:46:12 -07:00
..
2015-01-30 05:32:46 +00:00
2013-06-14 20:30:32 +02:00
2014-05-19 13:42:34 -07:00
2015-02-04 12:07:39 +00:00
2014-05-14 11:05:42 +09:00
2014-09-05 14:19:15 -07:00
2014-09-05 14:19:15 -07:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2015-01-19 09:54:55 -05:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-12-03 21:58:23 +09:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2015-03-05 09:12:55 +01:00
2014-03-25 19:44:49 +00:00
2014-09-26 09:13:35 -04:00
2014-09-26 09:13:35 -04:00
2013-12-20 12:55:51 -08:00
2014-03-24 18:32:42 -07:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2015-01-21 11:03:08 +09:00
2015-01-21 11:03:08 +09:00
2015-01-21 11:03:08 +09:00
2015-01-21 11:03:08 +09:00
2015-01-21 11:03:08 +09:00
2014-12-23 14:48:06 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-09-09 13:08:04 -04:00
2014-10-03 09:53:34 +00:00
2015-03-05 09:50:10 +01:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-05-07 14:51:17 +02:00
2014-09-04 13:12:24 +09:00
2014-07-02 18:57:01 +00:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2015-01-20 09:04:48 +00:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-02-24 11:11:04 +01:00
2013-12-20 12:55:51 -08:00
2015-03-01 22:25:50 +01:00
2015-03-12 09:39:20 +01:00
2015-03-05 08:54:37 +00:00
2015-02-17 10:29:38 +09:00
2015-02-17 10:29:38 +09:00
2013-12-20 12:55:51 -08:00
2014-03-24 19:02:08 -07:00
2015-02-15 12:40:41 +00:00
2015-01-22 07:42:37 +01:00
2014-06-05 09:47:13 +02:00
2015-03-01 22:25:50 +01:00
2013-12-20 12:55:51 -08:00
2015-01-06 09:02:39 +01:00
2014-08-22 10:32:51 -07:00
2014-07-08 18:24:26 +09:00
2015-03-04 10:59:02 +09:00
2014-01-24 23:16:25 +01:00
2015-02-10 09:58:47 +01:00
2013-12-20 12:55:51 -08:00
2015-01-16 19:26:25 +09:00
2013-12-20 12:55:51 -08:00
2015-03-13 11:50:26 +09:00
2015-03-17 01:50:46 +00:00
2014-10-02 10:22:58 +02:00
2013-12-20 12:55:51 -08:00
2015-02-10 01:36:45 +00:00
2015-01-06 06:54:12 +00:00
2014-11-04 22:55:01 +01:00
2014-05-02 17:21:22 +09:00
2014-05-02 17:21:22 +09:00
2014-09-04 13:12:24 +09:00
2014-09-04 13:12:24 +09:00
2013-12-20 12:55:51 -08:00
2014-03-11 18:24:13 +09:00
2013-12-20 12:55:51 -08:00
2014-09-04 13:12:24 +09:00
2013-12-20 12:55:51 -08:00
2014-05-02 17:21:22 +09:00
2014-07-08 07:24:01 +00:00
2014-02-21 09:25:33 +01:00
2014-09-04 13:12:24 +09:00
2014-02-21 09:25:33 +01:00
2014-05-02 17:21:22 +09:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-05-02 17:21:22 +09:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2013-12-20 12:55:51 -08:00
2014-05-02 17:21:22 +09:00
2014-02-21 10:37:47 +09:00
2014-05-02 17:21:22 +09:00
2013-12-20 12:55:51 -08:00
2014-09-05 09:25:33 +09:00
2013-11-05 12:49:43 -08:00
2014-11-04 22:55:01 +01:00
2013-12-20 12:55:51 -08:00
2015-02-15 12:40:41 +00:00
2014-10-21 11:04:42 +09:00
2013-12-20 12:55:51 -08:00
2014-05-07 14:51:17 +02:00
2014-07-16 06:50:39 +00:00
2014-09-04 13:12:24 +09:00
2015-01-20 23:16:26 +01:00
2015-02-17 10:29:38 +09:00
2014-05-19 13:42:34 -07:00
2014-10-30 11:02:24 -04:00
2013-12-20 12:55:51 -08:00
2015-02-23 09:53:05 +01:00
2013-12-20 12:55:51 -08:00
2014-05-02 17:21:22 +09:00
2013-12-20 12:55:51 -08:00
2014-01-22 19:22:03 +09:00
2013-12-20 12:55:51 -08:00
2015-02-23 09:53:05 +01:00
2014-12-19 00:43:16 +00:00
2013-12-20 12:55:51 -08:00
2015-01-26 13:24:25 +01:00
2014-12-12 20:25:48 +09:00
2015-01-06 06:54:12 +00:00
2015-02-02 11:17:45 +01:00
2015-03-17 10:46:12 -07:00
2015-01-26 04:45:30 +00:00
2014-11-25 18:35:53 +09:00
2015-01-26 04:45:30 +00:00
2015-01-06 06:54:12 +00:00
2015-03-06 10:18:58 +00:00
2015-01-21 11:42:32 +09:00
2014-10-06 18:15:10 +09:00
2013-12-20 12:55:51 -08:00
2015-02-19 10:18:35 +09:00
2014-12-12 13:46:38 -06:00
2015-03-17 10:46:12 -07:00
2015-01-19 11:33:04 +09:00
2014-03-25 19:44:49 +00:00
2013-12-20 12:55:51 -08:00
2015-02-26 10:00:45 +09:00