Krzysztof Pszeniczny
21ba91c439
[SamplePGO] Add a cutoff for number of profile matching anchors ( #95542 )
...
The algorithm added by PR #87375 can be potentially quadratic in the
number of anchors. This is almost never a problem because normally
functions have a reasonable number of function calls.
However, in some rare cases of auto-generated code we observed very
large functions that trigger quadratic behaviour here (resulting in
>130GB of peak heap memory usage for clang). Let's add a knob for
controlling the max number of callsites in a function above which stale
profile matching won't be performed.
2024-06-17 19:50:58 +02:00
..
2024-05-28 16:41:53 -04:00
2023-12-02 13:01:48 -08:00
2023-12-02 13:01:48 -08:00
2023-07-07 14:56:21 -07:00
2024-03-19 16:50:48 -07:00
2023-01-09 12:03:28 -08:00
2023-03-30 11:05:10 -07:00
2024-03-27 22:27:22 -07:00
2023-03-30 11:05:10 -07:00
2023-12-31 20:44:48 +08:00
2023-12-02 13:01:48 -08:00
2023-12-02 13:01:48 -08:00
2023-12-02 13:01:48 -08:00
2023-05-01 17:10:08 +00:00
2023-08-07 16:50:03 +05:30
2024-05-28 16:41:53 -04:00
2023-03-10 18:05:25 -08:00
2022-11-27 21:27:50 -05:00
2022-11-27 21:27:50 -05:00
2024-05-02 10:32:37 -07:00
2023-12-02 13:01:48 -08:00
2024-05-08 14:32:56 +01:00
2023-03-20 13:43:54 -07:00
2023-06-16 13:53:31 -07:00
2023-01-11 14:34:43 -08:00
2023-10-24 20:27:39 -07:00
2023-05-01 17:10:08 +00:00
2023-12-02 13:01:48 -08:00
2023-12-02 13:01:48 -08:00
2023-12-02 13:01:48 -08:00
2023-12-02 13:01:48 -08:00
2024-02-19 11:36:20 -08:00
2022-12-08 11:47:16 +01:00
2023-03-20 13:43:54 -07:00
2023-12-02 13:01:48 -08:00
2024-04-03 10:58:17 -07:00
2022-12-08 02:38:50 +03:00
2024-04-03 11:18:29 -07:00
2023-03-24 12:43:16 -07:00
2024-06-07 11:37:49 -07:00
2024-04-01 13:54:54 -07:00
2024-06-07 11:37:49 -07:00
2024-06-07 11:37:49 -07:00
2022-11-27 21:27:50 -05:00
2024-06-07 11:37:49 -07:00
2024-01-24 15:25:29 +01:00
2024-04-03 11:18:29 -07:00
2022-12-01 21:25:59 +01:00
2023-05-26 13:00:16 -07:00
2023-09-13 12:33:39 +01:00
2024-04-03 11:18:29 -07:00
2024-03-27 11:14:21 -07:00
2024-02-19 11:36:20 -08:00
2024-02-19 11:36:20 -08:00
2024-06-07 11:37:49 -07:00
2023-01-03 14:23:25 +01:00
2024-06-17 19:50:58 +02:00
2024-03-28 20:03:03 -07:00
2024-05-13 16:01:29 -07:00
2023-05-19 22:21:56 +08:00
2023-10-24 20:27:39 -07:00
2024-04-03 11:18:29 -07:00
2024-06-07 11:37:49 -07:00
2023-11-10 21:38:13 +00:00
2023-12-02 13:01:48 -08:00
2024-03-28 10:11:57 -07:00
2024-05-28 16:41:53 -04:00
2024-01-09 13:32:59 +07:00