summary refs log tree commit diff
path: root/src/test/bench
AgeCommit message (Collapse)AuthorLines
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-45/+45
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-80/+80
2012-03-15test: Fix breakageBrian Anderson-3/+3
2012-03-14std: Rename the hashmap constructors to conform to new standardsBrian Anderson-3/+3
Instead of using the new_ prefix just name them after their type
2012-03-13Overhaul constructor naming in libsBrian Anderson-15/+15
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-30/+30
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.
2012-03-09Add an infinite loop constructTim Chevalier-5/+5
Add a loop {} construct for infinite loops, and use it in test cases. See #1906 for details.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-0/+2
This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-03-07Revert "stdlib: Stop incurring vtable dispatch costs when hashmaps are used"Patrick Walton-2/+0
This reverts commit f0250a23d3fa2f8b4a4a4113ca89e41945a4cfed.
2012-03-07stdlib: Stop incurring vtable dispatch costs when hashmaps are usedPatrick Walton-0/+2
This required changing almost all users of hashmaps to import the hashmap interface first. The `size` member in the hashmap structure was renamed to `count` to work around a name conflict.
2012-03-02comp/std: rename io::string_reader to io::str_reader.Erick Tryzelaar-2/+2
2012-03-02core: Remove _mut functions from vecBrian Anderson-8/+12
Instead, use vec::to_mut/from_mut to transform vectors in place as needed.
2012-02-23Finish cleanup of core::strMarijn Haverbeke-1/+1
Closes #1849
2012-02-23(core::str) remove len_bytes aliasKevin Cantu-7/+7
2012-02-22Make the various from_str functions return optionsMarijn Haverbeke-62/+30
So that they can be used with user input without causing task failures. Closes #1335
2012-02-20core: New task APIBrian Anderson-22/+32
2012-02-15bench: Add a test for task concurrencyBrian Anderson-0/+68
2012-02-12(core::str) rename byte_len -> len_bytes and rename char_len -> lenKevin Cantu-7/+7
2012-02-12(core::str) move push_byte, push_bytes, pop_byte, and shift_byte into ↵Kevin Cantu-8/+10
str::unsafe
2012-02-09Increase precedence of as operatorMarijn Haverbeke-2/+2
Closes #1717
2012-02-08bench: Add shootout-spectralnormBrian Anderson-0/+70
2012-02-07String split renaming:Kevin Cantu-2/+1
* Renamed str::split -> str::split_byte * Renamed str::splitn -> str::splitn_byte * Renamed str::split_func -> str::split * Renamed str::split_char -> str::split_char * Renamed str::split_chars_iter -> str::split_char_iter * Added u8::is_ascii * Fixed the behavior of str::split_str, so that it matches split_chars and split (i.e. ["", "XXX", "YYY", ""] == split_str(".XXX.YYY.", ".")) * Fixed str::split_byte and str::splitn_byte so that they handle splitting UTF-8 strings on a given UTF-8/ASCII byte and also handle "" as the others do
2012-02-04bench: Tweak threadring benchmark so it pretty-printsBrian Anderson-2/+0
2012-02-04bench: Add threadring shootout benchmarkBrian Anderson-0/+50
2012-02-04Revert "bench: Add threadring shootout benchmark"Brian Anderson-53/+0
This reverts commit cdb246f832a8dcecbd5305a4c256c04e1e266a0a.
2012-02-04bench: Add threadring shootout benchmarkBrian Anderson-0/+53
2012-02-03add third arg for output path, default to no outputTed Horst-5/+36
2012-02-03fix formattingTed Horst-103/+103
2012-02-03add mandelbrot image generator from shootoutTed Horst-0/+143
2012-01-31Change option::t to optionTim Chevalier-2/+2
Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming).
2012-01-29core: Remove sys::set_min_stackBrian Anderson-4/+0
This was a temporary hack with global effect. Eventually there will be a real solution for controlling stack sizes.
2012-01-25Replacing str::unsafe_from_bytes with str::from_bytes (part 1)Kevin Cantu-1/+1
2012-01-23s/block()/fn()/gNiko Matsakis-1/+1
2012-01-23add msgsend.rs to benchmarksNiko Matsakis-0/+60
2012-01-21issue #1352: change param order on vec::init_elt, putting block in final ↵Graham Fawcett-4/+4
position. To match the init_fn() and init_fn_mut() changes.
2012-01-21fix #1352: change param order on vec::init_fn (and vec::init_fn_mut), ↵Graham Fawcett-3/+3
putting block in final position.
2012-01-19rustc: Make the pretty printer output commas after enum variants. Update all ↵Patrick Walton-6/+6
tests accordingly.
2012-01-19test: "tag" -> "enum" in benchPatrick Walton-7/+7
2012-01-19Remove support for the '.' after a nullary tag in a patternTim Chevalier-4/+4
(Commit also includes lots of changes to remove '.'s that a git merge messed up, or else it was monkeys.)
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-18/+18
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-14bench: Lower the default inputs on many shootout benchmarksBrian Anderson-5/+5
Make them run a bit faster during normal testing
2012-01-14bench: Update shootout-nbody for styleBrian Anderson-22/+20
2012-01-14bench: Update fannkuchredux for styleBrian Anderson-5/+11
2012-01-14bench: Update shootout-binarytrees for styleBrian Anderson-8/+15
2012-01-14bench: Update shootout-ackermann for performanceBrian Anderson-15/+14
2012-01-14bench: Update shootout-fibo for performanceBrian Anderson-14/+15
2012-01-14bench: Update shootout-binarytrees to use unique boxesBrian Anderson-5/+5
Shared boxes have a huge performance overhead due to #1493
2012-01-13make "native fn" the type for bare functions, remove fn exprsNiko Matsakis-2/+2
2012-01-13Remove tests for objs, adjust tests that use objsMarijn Haverbeke-10/+10
2012-01-11Major clean-up of std::ioMarijn Haverbeke-29/+8
Use ifaces instead of objs, stop wrapping everything in two (or three) layers of no-value-added indirection, and remove some of the more pointless/outdated idioms from the code.