[llvm-dev] How to Generate Code Size of llvm test suite

Jessica Paquette via llvm-dev llvm-dev at lists.llvm.org
Mon Apr 8 09:09:21 PDT 2019


Hi Ramakota,

If you run the test suite using LNT (see: http://llvm.org/docs/lnt/quickstart.html <http://llvm.org/docs/lnt/quickstart.html>), code size should be collected automatically.

After running the test suite, you can find a JSON report containing the metrics collected about each test. This report will have a name like “output (some hash).json”.

The "size.__text” field in this report contains the text size of the final executable.

- Jessica

> On Apr 8, 2019, at 1:54 am, Ramakota Reddy via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Hi All,
>  
> Could anyone please give your suggestions on how to generate/get Code Size of each test in LLVM TEST Suite.
>  
> Thanks & Regards,
> Ramakota Reddy.
>  
>  
> IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev <https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190408/3b895053/attachment.html>


More information about the llvm-dev mailing list