about summary refs log tree commit diff
path: root/src/test/bench/task-perf-word-count.rs
AgeCommit message (Collapse)AuthorLines
2011-12-18libcore: Remove task::set_min_stackBrian Anderson-4/+0
This existed to make up for the lack of stack growth, and wasn't generally safe.
2011-12-16reorder args to the various vec, option fns so blk comes lastNiko Matsakis-2/+2
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-15/+15
2011-12-07Disallow binding by-mut-ref and by-move argumentsMarijn Haverbeke-9/+9
Fix bug in bound by-copy arguments. Closes #1261
2011-11-11Give task-perf-word-count default behavior. Closes #1172Brian Anderson-18/+172
2011-10-29stdlib: Make io failures recoverable by returning a resultBrian Anderson-1/+2
2011-10-21Remove some semicolons after block callsMarijn Haverbeke-2/+2
The remaining ones can be removed after the next snapshot. (Or we can let the next pretty-print pass take care of them.)
2011-10-21Remove remaining uses of iter and for-eachMarijn Haverbeke-8/+2
Issue #1056
2011-10-20Remove temporary fn# syntaxBrian Anderson-2/+2
2011-10-20Make fn denote a bare function. Convert fn to fn@ as neededBrian Anderson-2/+2
2011-10-20Drop the 2 from the spawn*2 functionsBrian Anderson-2/+2
Issue #1022
2011-10-20Convert tests to use bare-fn spawnBrian Anderson-4/+6
Issue #1022
2011-09-15Insert omitted semicolons for statementsMarijn Haverbeke-5/+3
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-2/+2
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-12/+12
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-02Reformat. Issue #855Brian Anderson-26/+24
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-2/+2
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-2/+2
2011-08-31Convert benchmarks to istrs. Issue #855Brian Anderson-27/+24
2011-08-31Convert uses of #fmt to #ifmt. Issue #855Brian Anderson-3/+3
2011-08-27Convert std::map::new_str_hash to istrs. Issue #855Brian Anderson-8/+9
2011-08-27Convert std::io to istrs. Issue #855Brian Anderson-2/+4
2011-08-27Convert std::u64 to istrs. Issue #855Brian Anderson-1/+1
2011-08-25Cleaning up task and comm exports, updating all the test cases.Eric Holk-28/+30
2011-08-20ReformatBrian Anderson-18/+10
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-17Using move-mode for spawn thunks to avoid race conditions.Eric Holk-2/+2
2011-08-16Port the tests to the expr foo::<T> syntax.Erick Tryzelaar-2/+2
2011-08-16Port the tests to the typaram foo<T> syntax.Erick Tryzelaar-15/+15
2011-08-16Rename std::ivec to std::vecBrian Anderson-4/+4
2011-08-16Convert most main functions to the ivec signatureBrian Anderson-5/+4
Converting rustc will still take a snapshot
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-1/+1
2011-08-15Syntax updates.Eric Holk-2/+3
2011-08-15Converted over benchmarks.Eric Holk-65/+39
2011-08-12Convert benchmarks to ivecsBrian Anderson-7/+7
2011-08-12Rename std::ioivec to std::ioBrian Anderson-5/+5
2011-08-12Convert all uses of std::io to std::ioivecBrian Anderson-5/+5
2011-08-12Rename std::str::unsafe_from_bytes_ivec to unsafe_from_bytesBrian Anderson-1/+1
2011-08-12Remove vec version of str::bytes, rename bytes_ivec to str::bytesBrian Anderson-1/+1
2011-08-09Change the ivec type syntax to [T].Erick Tryzelaar-2/+2
This preserves the old syntax for now.
2011-08-02Don't pp extra lines after block open when preserving whitespace. Closes #759Brian Anderson-1/+0
2011-08-02Include benchmarks in pretty-print testsBrian Anderson-0/+1
2011-07-28Made task threads wait instead of sleep, so they can be woken up. This ↵Eric Holk-1/+0
appears to give us much better parallel performance. Also, commented out one more unsafe log and updated rust_kernel.cpp to compile under g++
2011-07-28Adding a function to stdlib to set the min stack size, for programsEric Holk-5/+11
that absolutely will not succeed with a large default stack. This should be removed once we have stack grown working. Also updated word-count to succeed under the new test framework.
2011-07-27Reformat for new syntaxMarijn Haverbeke-209/+186
2011-07-26Remove uses of tuples from the test suiteMarijn Haverbeke-4/+6
2011-07-24The Big Test Suite OverhaulBrian Anderson-0/+366
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.