[LLVMdev] How to run llvm lnt performance test between 2 revisions

Karthik Bhat blitz.opensource at gmail.com
Fri May 23 11:03:18 PDT 2014


Hi All,
I have a basic question. I want to compare 2 clang binaries one with a
patch and one without patch for performance.
I went though http://llvm.org/docs/lnt/quickstart.html and and followed the
steps to generate the reports for both the binaries but i was unable to
compare the 2 results. Upon seeing the options under-
ln runtest nt --help it seems i need to set cc as clang with patch and
cc-reference and clang without patch.

I tried the following command -

lnt runtest nt \
--sandbox SANDBOX \
--cc ~/Opensource/rbuild/bin/clang \
--cxx ~/Opensource/rbuild/bin/clang++ \
--cc-reference=~/Opensource/rbuild_old/bin/clang \
--cxx-reference=~/Opensource/rbuild_old/bin/clang++ \
--test-suite ~/llvm-test-suite

but this gave me an error as follows-
"lnt: error: --cc-reference is unused with --simple" .

Could someone please let me know the correct approach and command to
compare reports generated for 2 clang binaries(1 with patch/changes and
other as base revision).

Thanks for the help.

Regards
Karthik Bhat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140523/d86b72da/attachment.html>


More information about the llvm-dev mailing list