about summary refs log tree commit diff
path: root/src/test/bench/shootout
AgeCommit message (Collapse)AuthorLines
2013-08-30Revert "src/test/bench: restructure"Corey Richardson-85559/+0
This reverts commit 14cdc26e8a7794e437946f46df5769362b42acdf.
2013-08-28src/test/bench: restructureCorey Richardson-0/+85559
2011-07-24The Big Test Suite OverhaulBrian Anderson-549/+0
This replaces the make-based test runner with a set of Rust-based test runners. I believe that all existing functionality has been preserved. The primary objective is to dogfood the Rust test framework. A few main things happen here: 1) The run-pass/lib-* tests are all moved into src/test/stdtest. This is a standalone test crate intended for all standard library tests. It compiles to build/test/stdtest.stageN. 2) rustc now compiles into yet another build artifact, this one a test runner that runs any tests contained directly in the rustc crate. This allows much more fine-grained unit testing of the compiler. It compiles to build/test/rustctest.stageN. 3) There is a new custom test runner crate at src/test/compiletest that reproduces all the functionality for running the compile-fail, run-fail, run-pass and bench tests while integrating with Rust's test framework. It compiles to build/test/compiletest.stageN. 4) The build rules have been completely changed to use the new test runners, while also being less redundant, following the example of the recent stageN.mk rewrite. It adds two new features to the cfail/rfail/rpass/bench tests: 1) Tests can specify multiple 'error-pattern' directives which must be satisfied in order. 2) Tests can specify a 'compile-flags' directive which will make the test runner provide additional command line arguments to rustc. There are some downsides, the primary being that Rust has to be functioning pretty well just to run _any_ tests, which I imagine will be the source of some frustration when the entire test suite breaks. Will also cause some headaches during porting. Not having individual make rules, each rpass, etc test no longer remembers between runs whether it completed successfully. As a result, it's not possible to incrementally fix multiple tests by just running 'make check', fixing a test, and repeating without re-running all the tests contained in the test runner. Instead you can filter just the tests you want to run by using the TESTNAME environment variable. This also dispenses with the ability to run stage0 tests, but they tended to be broken more often than not anyway.
2011-07-22Commenting out the huge-memory-using lines in pfib.Eric Holk-2/+2
2011-07-13Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.Graydon Hoare-17/+17
2011-07-08Adding more support for working with u64s.Eric Holk-4/+9
2011-06-30Added a nanosecond timer to time.rs, support for some floating point casts, ↵Eric Holk-24/+47
and a commandline-driven mode for pfib.rs
2011-06-27Fixed a few concurrency bugs. Still not perfect, but overall it seems much ↵Eric Holk-4/+4
more reliable.
2011-06-27Added a parallel fibonacci program. It doesn't actually run in parallel yet, ↵Eric Holk-0/+41
but it will give us something fun to test threading with.
2011-06-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-275/+179
2011-06-15Fix assignments to immutable fields throughout the codeMarijn Haverbeke-3/+3
2011-05-23test: Un-xfail some working testsBrian Anderson-3/+0
2011-05-17Finally rename std::_xxx to std::xxxMarijn Haverbeke-21/+21
Except for _task, which is still a keyword.
2011-05-16Rewrite everything to use [] instead of vec() in value position.Graydon Hoare-10/+10
2011-05-14Remove xfail-boot lines from testsBrian Anderson-1/+0
2011-05-12Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke-49/+49
This should be a snapshot transition.
2011-05-06Remove a few more superfluous 'mutable' keywordsMarijn Haverbeke-4/+4
2011-05-06Rename std modules to be camelcasedMarijn Haverbeke-22/+22
(Have fun mergining your stuff with this.)
2011-05-05Change checks to asserts in test/bench filesTim Chevalier-6/+6
2011-05-03Assume xfail-stage0 implies stage1 and stage2 in tests, for now.Graydon Hoare-0/+2
2011-05-03Revert "Rename the "llvm" API to "llvm-intrinsic"" due to tinderbox bustagePatrick Walton-1/+1
This reverts commit 6871c245a67fab222eccc2a21dcb620d11d3b0d0.
2011-05-03Rename the "llvm" API to "llvm-intrinsic"Patrick Walton-1/+1
2011-05-01Un-XFAIL various tests in stage0Brian Anderson-2/+0
2011-04-19Remove effect system from src.Graydon Hoare-3/+3
2011-03-28Move all allocas to dedicated basic block at top of function, to keep frames ↵Graydon Hoare-5/+8
finite. Un-comment next size in nbody.rs.
2011-03-28shootout: Hoist out the movement too; switch square root to an LLVM intrinsicPatrick Walton-13/+13
2011-03-26shootout: Hoist out the vector indexing on nbody; don't rely on LICM, which ↵Patrick Walton-19/+21
isn't working for some reason (insufficient alias info?) Speeds up nbody a bit.
2011-03-26Got the nbody demo working, and hopefully faster, too!Lindsey Kuper-106/+112
2011-03-26Updates to the nbody demo.Lindsey Kuper-38/+47
2011-03-25Switch xfail system to use comments embedded in source files.Graydon Hoare-0/+4
2011-03-25A first stab at the 'nbody' demo, with support for calling C sqrt().Lindsey Kuper-0/+209
2011-03-16Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵Graydon Hoare-3/+3
Tweak std lib vec fns in process.
2011-03-14Add fannkuchredux shootout benchmarkBrian Anderson-0/+99
2011-03-14Rename binary trees benchmark to match the original shootout sourceBrian Anderson-0/+0
2011-03-14Implement the rest of the binary trees shootout benchmarkBrian Anderson-0/+56
2011-03-14Integrate shootout benchmarks into testsuiteBrian Anderson-5/+5
2010-09-15Add Peter Hull's contributed translation of the fasta shootout benchmark ↵Graydon Hoare-1/+131
(integer-only version).
2010-06-23Populate tree.Graydon Hoare-0/+62