This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Avoid combinatorial explosion in CodeCompleteTests.
ClosedPublic

Authored by sammccall on Jan 15 2018, 4:32 AM.

Details

Summary

This test dominates our unit test runtime, and the change speeds it up by 10x.
We lose coverage of some combinations of flags, but I'm not sure that's finding
many bugs.

3300 -> 300ms on my machine (3800 -> 800ms for the whole of CompletionTest).

Diff Detail

Repository
rL LLVM

Event Timeline

sammccall created this revision.Jan 15 2018, 4:32 AM
This revision is now accepted and ready to land.Jan 16 2018, 2:29 AM
This revision was automatically updated to reflect the committed changes.