[PATCH][LNT] Allow samples to be ordered "bigger is better"

James Molloy james at jamesmolloy.co.uk
Fri Apr 17 06:47:58 PDT 2015


Hi Chris,

Two patches are attached. The first introduces the concept of a "bigger is
better" sample type. This is useful for benchmarks that emit metrics such
as iterations/sec, or some abstract "score". The patch adds a database
migration and does the appropriate plumbing.

The second patch is a bit more hacky, but it adds a "score" sample type to
the default schema so any user can insert at least some samples with
"bigger is better" ordering.

If you'd prefer not to have this sample type upstream because it hasn't got
any use in the official instance, I'm happy to keep this as a downstream
patch.

Cheers,

James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150417/498d46c4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-LNT-Add-the-ability-for-test-samples-to-be-interpret.patch
Type: application/octet-stream
Size: 7901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150417/498d46c4/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-LNT-Add-a-score-sample-type.patch
Type: application/octet-stream
Size: 2129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150417/498d46c4/attachment-0001.obj>


More information about the llvm-commits mailing list