[PATCH] D16726: [Profiling] Speed up unittests by ~5x

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 17:51:16 PST 2016

On Fri, Jan 29, 2016 at 5:44 PM, David Li via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> davidxl added a comment.
> I took the liberty to further reduce the test time down to ~6ms.

The exact time taken isn't what I'm trying to explain - unit tests (& the
regression suite generally) are intended for targeted testing. This makes
failures more actionable and stepping through the test case in a debugger
easier (as well as keeping iteration time low).

I'm still not sure what even running this a hundred times is adding to our
test coverage.

- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160129/a555a818/attachment.html>

More information about the llvm-commits mailing list