[PATCH] D109632: [clang] de-duplicate methods from AST files

Richard Howell via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 28 12:14:31 PDT 2021


rmaz added a comment.

Avoiding serializing external methods in `ASTMethodPoolTrait` is working successfully, although the times are not as good as using set deduplication:

| **file**   | **baseline** | **set dedupe** | **no external** |
| Total      | 149.68       | 92.97          | 109.83          |
| IGMFVC.mm  | 25.75        | 5.38           | 6.35            |
| IGMFLADS.m | 15.97        | 3.30           | 4.61            |
| IGIMFVC.mm | 6.70         | 2.98           | 3.77            |
| IGSFCVC.m  | 4.57         | 1.53           | 1.87            |
| IGVFVC.mm  | 4.19         | 1.61           | 1.85            |
| IGMFAHC.mm | 4.00         | 1.93           | 2.41            |
| IGMFLCVC.m | 3.89         | 1.55           | 1.96            |
| PLRFPPC.mm | 3.19         | 3.26           | 4.05            |
| IGBFPVC.m  | 3.18         | 1.11           | 1.36            |
|

Where the no external numbers are using D110648 <https://reviews.llvm.org/D110648>


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109632/new/

https://reviews.llvm.org/D109632



More information about the cfe-commits mailing list