about summary refs log tree commit diff
path: root/src/test/bench/graph500-bfs.rs
AgeCommit message (Collapse)AuthorLines
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-2/+2
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-10test: Use the new `for` protocolAlex Crichton-5/+2
2013-05-08test: Fix modes in the benchmarks.Patrick Walton-2/+2
2013-05-08test: Fix tests and the pipe compilerPatrick Walton-8/+9
2013-04-29test: Fix tests.Patrick Walton-4/+4
2013-04-29test: Remove #[legacy_modes] from the test suite.Patrick Walton-1/+0
2013-04-24libcore: unify `gen_<type>` methods on `rand::RngUtil` into the generic `gen`.Huon Wilson-2/+1
This moves all the basic random value generation into the Rand instances for each type and then removes the `gen_int`, `gen_char` (etc) methods on RngUtil, leaving only the generic `gen` and the more specialised methods. Also, removes some imports that are redundant due to a `use core::prelude::*` statement.
2013-04-24libcore: remove @Rng from rand, and use traits instead.Huon Wilson-4/+4
Also, rename RandRes -> IsaacRng, and make the constructors static methods.
2013-04-03rename Linear{Map,Set} => Hash{Map,Set}Daniel Micay-3/+3
2013-04-03hashmap: rm linear namespaceDaniel Micay-1/+1
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-4/+4
2013-03-26test: Remove uses of oldmap::HashMapAlex Crichton-12/+18
2013-03-14test: Remove deprecated features from benchmark tests. rs=burningtreePatrick Walton-1/+2
2013-03-13Remove `++` mode from the compiler (it is parsed as `+` mode)Niko Matsakis-1/+1
and obsolete `-` mode altogether (it *was* parsed as `+` mode).
2013-03-11Remove uses of logBrian Anderson-6/+6
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-4/+4
2013-03-02test: Remove `fn@`, `fn~`, and `fn&` from the test suite. rs=defunPatrick Walton-6/+9
2013-02-24test: xfail-pretty some benchmarks. rs=burningtreePatrick Walton-0/+2
2013-02-16modernize std::dequeDaniel Micay-6/+5
* use a proper exported data type with private fields * implement core::container::Container * use the current constructor convention * use explicit self * get rid of DVec and the mutable fields Closes #2343
2013-02-15tests/tutorials: Get rid of `move`.Luqman Aden-2/+2
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-2/+2
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-18/+26
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-04Merge remote-tracking branch 'bstrie/rimov' into incomingBrian Anderson-3/+3
Conflicts: src/libsyntax/parse/parser.rs src/test/bench/graph500-bfs.rs src/test/bench/sudoku.rs src/test/run-pass/borrowck-mut-vec-as-imm-slice.rs src/test/run-pass/empty-mutable-vec.rs src/test/run-pass/foreach-nested.rs src/test/run-pass/swap-2.rs
2013-02-03oldmap: implement core::container::ContainerDaniel Micay-1/+1
2013-02-03rename map -> oldmap and mark it as deprecatedDaniel Micay-27/+27
LinearMap is quite a bit faster, and is fully owned/sendable without requiring copies. The older std::map also doesn't use explicit self and relies on mutable fields.
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-2/+2
2013-01-31Finalize moves-based-on-type implementation.Niko Matsakis-1/+2
Changes: - Refactor move mode computation - Removes move mode arguments, unary move, capture clauses (though they still parse for backwards compatibility) - Simplify how moves are handled in trans - Fix a number of illegal copies that cropped up - Workaround for bug involving def-ids in params (see details below) Future work (I'll open bugs for these...): - Improve error messages for moves that are due to bindings - Add support for moving owned content like a.b.c to borrow check, test in trans (but I think it'll "just work") - Proper fix for def-ids in params Def ids in params: Move captures into a map instead of recomputing. This is a workaround for a larger bug having to do with the def-ids associated with ty_params, which are not always properly preserved when inlining. I am not sure of my preferred fix for the larger bug yet. This current fix removes the only code in trans that I know of which relies on ty_param def-ids, but feels fragile.
2013-01-30Repair RIMOV damage to benchmarksBen Striegel-2/+2
2013-01-30RIMOV, round 3Ben Striegel-1/+1
find ./ -type f -name "*.rs" -exec sed -i "s/let \(.*\)\[mut[ ]\?/let mut \1\[/g" {} \;
2013-01-30Remove oldcomm from the test suiteBrian Anderson-1/+0
2013-01-23core: Rename to_mut and from_mut to cast_to_mut and cast_from_mutTrinick-2/+2
2012-12-28test: Fix benchmarks. rs=rustbotPatrick Walton-3/+3
2012-12-14Fix broken testsBrian Anderson-7/+7
2012-12-14Rename core::comm to core::oldcommBrian Anderson-1/+1
2012-12-13Fix benchmarksBrian Anderson-1/+1
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-12-06test: Fix compilation of benchmarks for moves-based-on-type. rs=bustagePatrick Walton-1/+1
2012-10-12Make moves explicit in bench testsTim Chevalier-11/+11
2012-10-04Remove arg vectors from main functions. Stop supporting them.Brian Anderson-1/+2
2012-10-03Remove uses of + mode from libstdTim Chevalier-1/+1
More or less the same as my analogous commit for libcore. Had to remove the forbid(deprecated_modes) pragma from some files -- will restore it after the snapshot.
2012-10-02Removing explicit uses of + modeTim Chevalier-1/+1
This removes most explicit uses of the + argument mode. Pending a snapshot, I had to remove the forbid(deprecated_modes) pragma from a bunch of files. I'll put it back! + mode still has to be used in a few places for functions that get moved (see task.rs) The changes outside core and std are due to the to_bytes trait and making the compiler (with legacy modes on) agree with the libraries (with legacy modes off) about modes.
2012-10-02libstd: Switch off legacy modes in both core and std.Patrick Walton-1/+1
2012-09-28Fix graph500-bfsTim Chevalier-5/+5
2012-09-28Fix benchmarks.Graydon Hoare-3/+3
2012-09-28Demoding in iter: any, all, map_to_vec, flat_map_to_vec, filter_to_vecTim Chevalier-1/+1
2012-09-28demode vecNiko Matsakis-7/+7
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-1/+1
2012-09-25Fix borked testsTim Chevalier-1/+1
2012-09-25use + mode for (almost) everything when not using legacy modesNiko Matsakis-1/+1
2012-09-21De-mode vec::map, vec::eachi, vec::rev_each, vec::rev_eachiNiko Matsakis-10/+10