[Lldb-commits] [PATCH] D60300: [testsuite] Split Objective-C data formatter

Davide Italiano via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 5 11:09:03 PDT 2019


davide added a comment.

In D60300#1456491 <https://reviews.llvm.org/D60300#1456491>, @davide wrote:

> In D60300#1456472 <https://reviews.llvm.org/D60300#1456472>, @clayborg wrote:
>
> > In D60300#1456468 <https://reviews.llvm.org/D60300#1456468>, @JDevlieghere wrote:
> >
> > > In D60300#1455790 <https://reviews.llvm.org/D60300#1455790>, @davide wrote:
> > >
> > > > I think this is good regardless for readability, but I would really appreciate if we can collect some numbers to see how effective this change actually is.
> > >
> > >
> > > I see 120 -> 12 seconds on my iMac Pro.
> >
> >
> > Nice! Might be nice to have some automated info that gets dumped when one file with multiple tests takes a long time and suggest breaking them up in the python test infrastructure modules. Might be other nice gains to be had?
>
>
> lit has this feature. It's called `--time-tests`. That's how we discovered the problem. There are other tests that we can fix.
>
> --Davide


And, as you ask, these are the slowest tests for now.

  68.25s: lldb-Suite :: types/TestIntegerTypes.py
  86.52s: lldb-Suite :: types/TestIntegerTypesExpr.py
  95.66s: lldb-Suite :: lang/objc/foundation/TestObjCMethods2.py
  131.24s: lldb-Suite :: lang/objc/objc-new-syntax/TestObjCNewSyntax.py


Repository:
  rL LLVM

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

https://reviews.llvm.org/D60300





More information about the lldb-commits mailing list