[PATCH] D11231: [LNT] Add support for storing hash of test binaries.

Kristof Beyls kristof.beyls at arm.com
Wed Jul 15 11:15:29 PDT 2015


kristof.beyls created this revision.
kristof.beyls added a reviewer: cmatthews.
kristof.beyls added a subscriber: llvm-commits.

    This commit adds support for storing hashes of the test binaries as a
    new sample type. The idea is that when the hash function of the same
    test is the same as on a previous run, the analyses can assume that
    the binary didn't change in a meaningful way.

    None of the analyses in LNT have been adapted yet to take advantage of
    this extra information.

    The hash value is stored as a new sample type.  Since the hash value
    in many cases should not be handled the same as other sample types,
    like execution time or compilation time, a distinction needs to be
    made. This patch changes terminology in LNT and calls sample types
    that have a meaningful order, like execution time and compilation
    time, "metic fields". The hash function of a binary - as one hash
    value cannot be said to be "better" than another hash value - is not
    considered a "metric field".


http://reviews.llvm.org/D11231

Files:
  lnt/server/db/fieldchange.py
  lnt/server/db/migrations/upgrade_5_to_6.py
  lnt/server/db/testsuitedb.py
  lnt/server/db/v4db.py
  lnt/server/reporting/analysis.py
  lnt/server/reporting/dailyreport.py
  lnt/server/reporting/runs.py
  lnt/server/reporting/summaryreport.py
  lnt/server/ui/templates/reporting/runs.html
  lnt/server/ui/templates/v4_run.html
  lnt/server/ui/views.py
  lnt/testing/__init__.py
  lnt/tests/nt.py
  tests/runtest/Inputs/rerun-test-suite1/fake-report.simple.csv
  tests/runtest/Inputs/rerun-test-suite2/Output/ms_struct_pack_layout-1.simple.report.txt
  tests/runtest/Inputs/rerun-test-suite2/Output/vla.simple.report.txt
  tests/runtest/Inputs/rerun-test-suite2/TEST.simple.report
  tests/runtest/Inputs/rerun-test-suite2/fake-report.simple.csv
  tests/runtest/Inputs/test-suite/fake-report.simple.csv

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11231.29800.patch
Type: text/x-patch
Size: 57039 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150715/8db8a897/attachment.bin>


More information about the llvm-commits mailing list