about summary refs log tree commit diff
path: root/src/test/bench
AgeCommit message (Collapse)AuthorLines
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-6/+6
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-13test: Fix broken benchmark testPatrick Walton-3/+3
2013-05-10Fix tests with the swap operatorAlex Crichton-2/+2
2013-05-10Stop using the '<->' operatorAlex Crichton-7/+7
2013-05-10test: Use the new `for` protocolAlex Crichton-5/+2
2013-05-08test: Fix modes in the benchmarks.Patrick Walton-17/+12
2013-05-08test: Fix tests and the pipe compilerPatrick Walton-49/+83
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-16/+7
2013-05-02librustc: Update the serializer to work properly with INHTWAMA, removing ↵Patrick Walton-11/+12
mutable fields in the process
2013-04-29test: Fix tests.Patrick Walton-16/+16
2013-04-29test: Remove #[legacy_modes] from the test suite.Patrick Walton-11/+2
2013-04-29librustc: Remove `ptr::addr_of`.Patrick Walton-4/+4
2013-04-28make way for a new iter moduleDaniel Micay-1/+1
2013-04-24Fixed typo... And a billion other things.Marvin Löbel-2/+7
2013-04-24libcore: unify `gen_<type>` methods on `rand::RngUtil` into the generic `gen`.Huon Wilson-17/+14
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-19/+19
Also, rename RandRes -> IsaacRng, and make the constructors static methods.
2013-04-21Changed shootout-fasta-redux to use size_t when calling fwrite, removed XFAILMatthijs Hofstra-6/+4
2013-04-20xfail two benchmarks that are failing on the botsBrian Anderson-0/+4
2013-04-21testsuite: update tests to not use math intrinsics directlyHuon Wilson-7/+3
2013-04-19test: xfail some benchmarks that require external libraries or inputsPatrick Walton-0/+5
2013-04-19librustc: Remove debug code; xfail-pretty reverse-complement.Patrick Walton-0/+2
2013-04-19test: Rewrite mandelbrot benchmark.Patrick Walton-175/+53
2013-04-19test: Implement pidigits and reverse-complementPatrick Walton-0/+328
2013-04-19Move shootout-k-nucleotide to benchPatrick Walton-0/+314
2013-04-19test: Add fannkuch-redux and fasta-redux shootout benchmarksPatrick Walton-81/+299
2013-04-19test: Rewrite nbody and spectralnorm shootout benchmarksPatrick Walton-299/+165
2013-04-19librustc: Switch the `@`s in types with `~`Patrick Walton-0/+1
2013-04-18core::comm: Modernize constructors to use `new`Brian Anderson-7/+7
2013-04-18core: Remove pipes::spawn_service, spawn_service_recvBrian Anderson-1/+48
These are only used in test cases; pipes isn't the right place for them; they are unnecessary. Conflicts: src/libcore/rt/uv/mod.rs
2013-04-10Revert map.each to something which takes two parametersNiko Matsakis-1/+1
rather than a tuple. The current setup iterates over `BaseIter<(&'self K, &'self V)>` where 'self is a lifetime declared *in the each method*. You can't place such a type in the impl declaration. The compiler currently allows it, but this will not be legal under #5656 and I'm pretty sure it's not sound now.
2013-04-03auto merge of #5696 : thestinger/rust/hashmap, r=sanxiynbors-20/+20
This naming is free now that `oldmap` has finally been removed, so this is a search-and-replace to take advantage of that. It might as well be called `HashMap` instead of being named after the specific implementation, since there's only one. SipHash distributes keys so well that I don't think there will ever be much need to use anything but a simple hash table with open addressing. If there *is* a better way to do it, it will probably be better in all cases and can just be the default implementation. A cuckoo-hashing implementation combining a weaker hash with SipHash could be useful, but that won't be as general purpose - you would need to write a separate fast hash function specialized for the type to really take advantage of it (like taking a page from libstdc++/libc++ and just using the integer value as the "hash"). I think a more specific naming for a truly alternative implementation like that would be fine, with the nice naming reserved for the general purpose container.
2013-04-03rename Linear{Map,Set} => Hash{Map,Set}Daniel Micay-20/+20
2013-04-03hashmap: rm linear namespaceDaniel Micay-5/+5
2013-04-03Make bench/noise.rs more idiomatic and 20x fasterBen Striegel-29/+32
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-43/+43
2013-03-27auto merge of #5569 : thestinger/rust/map, r=catamorphismbors-3/+3
2013-03-26test: Fix testsPatrick Walton-4/+5
2013-03-26librustc: Remove all uses of the old `[T * N]` fixed-length vector syntaxPatrick Walton-6/+6
2013-03-26libcore: Change `[const T]` to `const [T]` everywherePatrick Walton-4/+4
2013-03-26option: rm functions that duplicate methodsDaniel Micay-8/+8
2013-03-26fix the core-map benchmark's descending rangeDaniel Micay-3/+3
2013-03-26std: Remove the oldmap moduleAlex Crichton-1/+0
2013-03-26test: Remove uses of oldmap::HashMapAlex Crichton-51/+38
2013-03-26Fixed all use sites and testsMarvin Löbel-1/+2
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-6/+6
2013-03-22test: Remove `pure` from the test suitePatrick Walton-5/+5
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-4/+4
2013-03-21auto merge of #5480 : pcwalton/rust/at-const, r=pcwaltonbors-0/+1
r? @catamorphism
2013-03-21auto merge of #5479 : Kimundi/rust/str-dealloc, r=z0w0bors-1/+2
This makes the `trim` and `substr` functions return a slice instead of an `~str`, and removes the unnecessary `Trimmable` trait (`StrSlice` already contains the same functionality). Also moves the `ToStr` implementations for the three str types into the str module in anticipation of further untangling.
2013-03-21librustc: Forbid destructors from being attached to any structs that might ↵Patrick Walton-0/+1
contain non-Owned fields. r=nmatsakis