Skip to content

Fix shootout benchmarks #2913

Closed
Closed
@brson

Description

@brson

Several of them do not report the correct results, per Isaac Gouy:

I saw that there'd been changes to mozilla/rust/src/test/bench so I took a look and ran the programs with Rust 0.3

There are a few trivial errors --

1) binarytrees prints "long lived trees of depth" instead of "long lived tree of depth"


2) chameneosredux -- the whitespace printed by show_number should be the same as printed by show_color

See the attached file.

3) spectralnorm prints an extra \n

4) threadring prints an extra \n


and less trivial errors


5) fasta -- strangely, output stops half-way through line 169 -- with another 8166 lines still to do.

6) the latest binarytrees fails with input N=20 on a 4GB machine.


stretch tree of depth 21     check: -1
2097152     trees of depth 4     check: -2097152
524288     trees of depth 6     check: -524288

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions