sort-test-microbenchmark-branchless.txt

text/plain

Filename: sort-test-microbenchmark-branchless.txt
Type: text/plain
Part: 0
Message: Re: A qsort template
NOTICE:  [traditional qsort] size=8MB, order=random, cmp=arg, test=0, time=0.144545
NOTICE:  [traditional qsort] size=8MB, order=random, cmp=arg, test=1, time=0.140534
NOTICE:  [traditional qsort] size=8MB, order=random, cmp=arg, test=2, time=0.140526
NOTICE:  [inlined] size=8MB, order=random, cmp=inline, test=0, time=0.085023
NOTICE:  [inlined] size=8MB, order=random, cmp=inline, test=1, time=0.086370
NOTICE:  [inlined] size=8MB, order=random, cmp=inline, test=2, time=0.084781
NOTICE:  [branchless] size=8MB, order=random, cmp=branchless, test=0, time=0.091837
NOTICE:  [branchless] size=8MB, order=random, cmp=branchless, test=1, time=0.090426
NOTICE:  [branchless] size=8MB, order=random, cmp=branchless, test=2, time=0.091245
NOTICE:  [SQL arg] size=8MB, order=random, cmp=SQL-arg, test=0, time=0.257024
NOTICE:  [SQL arg] size=8MB, order=random, cmp=SQL-arg, test=1, time=0.256487
NOTICE:  [SQL arg] size=8MB, order=random, cmp=SQL-arg, test=2, time=0.256708
NOTICE:  [SQL inlined] size=8MB, order=random, cmp=SQL-inline, test=0, time=0.192063
NOTICE:  [SQL inlined] size=8MB, order=random, cmp=SQL-inline, test=1, time=0.191919
NOTICE:  [SQL inlined] size=8MB, order=random, cmp=SQL-inline, test=2, time=0.192018
NOTICE:  [SQL arg reverse] size=8MB, order=random, cmp=SQL-arg-rev, test=0, time=0.251948
NOTICE:  [SQL arg reverse] size=8MB, order=random, cmp=SQL-arg-rev, test=1, time=0.251733
NOTICE:  [SQL arg reverse] size=8MB, order=random, cmp=SQL-arg-rev, test=2, time=0.251913
NOTICE:  [SQL inlined reverse] size=8MB, order=random, cmp=SQL-inline-rev, test=0, time=0.190797
NOTICE:  [SQL inlined reverse] size=8MB, order=random, cmp=SQL-inline-rev, test=1, time=0.191047
NOTICE:  [SQL inlined reverse] size=8MB, order=random, cmp=SQL-inline-rev, test=2, time=0.190807
NOTICE:  [traditional qsort] size=8MB, order=increasing, cmp=arg, test=0, time=0.001608
NOTICE:  [traditional qsort] size=8MB, order=increasing, cmp=arg, test=1, time=0.001608
NOTICE:  [traditional qsort] size=8MB, order=increasing, cmp=arg, test=2, time=0.001607
NOTICE:  [inlined] size=8MB, order=increasing, cmp=inline, test=0, time=0.000588
NOTICE:  [inlined] size=8MB, order=increasing, cmp=inline, test=1, time=0.000585
NOTICE:  [inlined] size=8MB, order=increasing, cmp=inline, test=2, time=0.000623
NOTICE:  [branchless] size=8MB, order=increasing, cmp=branchless, test=0, time=0.000729
NOTICE:  [branchless] size=8MB, order=increasing, cmp=branchless, test=1, time=0.001734
NOTICE:  [branchless] size=8MB, order=increasing, cmp=branchless, test=2, time=0.000762
NOTICE:  [SQL arg] size=8MB, order=increasing, cmp=SQL-arg, test=0, time=0.005885
NOTICE:  [SQL arg] size=8MB, order=increasing, cmp=SQL-arg, test=1, time=0.005934
NOTICE:  [SQL arg] size=8MB, order=increasing, cmp=SQL-arg, test=2, time=0.006892
NOTICE:  [SQL inlined] size=8MB, order=increasing, cmp=SQL-inline, test=0, time=0.004524
NOTICE:  [SQL inlined] size=8MB, order=increasing, cmp=SQL-inline, test=1, time=0.004509
NOTICE:  [SQL inlined] size=8MB, order=increasing, cmp=SQL-inline, test=2, time=0.004523
NOTICE:  [SQL arg reverse] size=8MB, order=increasing, cmp=SQL-arg-rev, test=0, time=0.160391
NOTICE:  [SQL arg reverse] size=8MB, order=increasing, cmp=SQL-arg-rev, test=1, time=0.159284
NOTICE:  [SQL arg reverse] size=8MB, order=increasing, cmp=SQL-arg-rev, test=2, time=0.159275
NOTICE:  [SQL inlined reverse] size=8MB, order=increasing, cmp=SQL-inline-rev, test=0, time=0.127051
NOTICE:  [SQL inlined reverse] size=8MB, order=increasing, cmp=SQL-inline-rev, test=1, time=0.126240
NOTICE:  [SQL inlined reverse] size=8MB, order=increasing, cmp=SQL-inline-rev, test=2, time=0.125769
NOTICE:  [traditional qsort] size=8MB, order=decreasing, cmp=arg, test=0, time=0.069454
NOTICE:  [traditional qsort] size=8MB, order=decreasing, cmp=arg, test=1, time=0.068313
NOTICE:  [traditional qsort] size=8MB, order=decreasing, cmp=arg, test=2, time=0.068701
NOTICE:  [inlined] size=8MB, order=decreasing, cmp=inline, test=0, time=0.022330
NOTICE:  [inlined] size=8MB, order=decreasing, cmp=inline, test=1, time=0.023942
NOTICE:  [inlined] size=8MB, order=decreasing, cmp=inline, test=2, time=0.024963
NOTICE:  [branchless] size=8MB, order=decreasing, cmp=branchless, test=0, time=0.036423
NOTICE:  [branchless] size=8MB, order=decreasing, cmp=branchless, test=1, time=0.034867
NOTICE:  [branchless] size=8MB, order=decreasing, cmp=branchless, test=2, time=0.035467
NOTICE:  [SQL arg] size=8MB, order=decreasing, cmp=SQL-arg, test=0, time=0.166501
NOTICE:  [SQL arg] size=8MB, order=decreasing, cmp=SQL-arg, test=1, time=0.165822
NOTICE:  [SQL arg] size=8MB, order=decreasing, cmp=SQL-arg, test=2, time=0.165749
NOTICE:  [SQL inlined] size=8MB, order=decreasing, cmp=SQL-inline, test=0, time=0.125182
NOTICE:  [SQL inlined] size=8MB, order=decreasing, cmp=SQL-inline, test=1, time=0.126536
NOTICE:  [SQL inlined] size=8MB, order=decreasing, cmp=SQL-inline, test=2, time=0.122951
NOTICE:  [SQL arg reverse] size=8MB, order=decreasing, cmp=SQL-arg-rev, test=0, time=0.005721
NOTICE:  [SQL arg reverse] size=8MB, order=decreasing, cmp=SQL-arg-rev, test=1, time=0.005725
NOTICE:  [SQL arg reverse] size=8MB, order=decreasing, cmp=SQL-arg-rev, test=2, time=0.006157
NOTICE:  [SQL inlined reverse] size=8MB, order=decreasing, cmp=SQL-inline-rev, test=0, time=0.004404
NOTICE:  [SQL inlined reverse] size=8MB, order=decreasing, cmp=SQL-inline-rev, test=1, time=0.004415
NOTICE:  [SQL inlined reverse] size=8MB, order=decreasing, cmp=SQL-inline-rev, test=2, time=0.006027