~linaro-toolchain-dev/cortex-strings/trunk

« back to all changes in this revision

Viewing changes to scripts/libplot.py

  • Committer: Michael Hope
  • Date: 2011-09-08 03:27:40 UTC
  • Revision ID: michael.hope@linaro.org-20110908032740-l0rx3olleapcwk6f
Benchmark more sizes and alignments.  Make the figures bigger to make the text smaller.  Put the 'this' results first.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    if not values:
25
25
        return values
26
26
    elif type(values[0]) == str:
27
 
        keys = ['%06d|%s' % (-prefer.find(x), x) for x in values]
28
 
        print keys, prefer
29
27
        return sorted(values, key=lambda x: '%-06d|%s' % (-prefer.find(x), x))
30
28
    else:
31
29
        return sorted(values)