Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bench: Increase the difficulty of some benchmarks

  • Loading branch information...
commit 45d0fbf6a1ae7708ea8e8dd23fd0b2f0b0f044b3 1 parent bf129bd
@brson brson authored
View
2  src/test/bench/core-vec-append.rs
@@ -22,7 +22,7 @@ fn collect_dvec(num: uint) -> [mut uint] {
fn main(args: [str]) {
let args = if os::getenv("RUST_BENCH").is_some() {
- ["", "10000000"]
+ ["", "50000000"]
} else if args.len() <= 1u {
["", "100000"]
} else {
View
2  src/test/bench/graph500-bfs.rs
@@ -406,7 +406,7 @@ fn validate(edges: [(node_id, node_id)],
fn main(args: [str]) {
let args = if os::getenv("RUST_BENCH").is_some() {
- ["", "12", "48"]
+ ["", "15", "48"]
} else if args.len() <= 1u {
["", "10", "16"]
} else {
View
2  src/test/bench/shootout-binarytrees.rs
@@ -24,7 +24,7 @@ fn bottom_up_tree(arena: &a.arena::arena, item: int, depth: int) -> &a.tree {
fn main(args: [str]) {
let args = if os::getenv("RUST_BENCH").is_some() {
- ["", "15"]
+ ["", "17"]
} else if args.len() <= 1u {
["", "8"]
} else {
View
2  src/test/bench/shootout-threadring.rs
@@ -39,7 +39,7 @@ fn roundtrip(id: int, p: comm::port<int>, ch: comm::chan<int>) {
fn main(args: [str]) {
let args = if os::getenv("RUST_BENCH").is_some() {
- ["", "100000"]
+ ["", "2000000"]
} else if args.len() <= 1u {
["", "1000"]
} else {
View
2  src/test/bench/std-smallintmap.rs
@@ -19,7 +19,7 @@ fn check_sequential(min: uint, max: uint, map: smallintmap<uint>) {
fn main(args: [str]) {
let args = if os::getenv("RUST_BENCH").is_some() {
- ["", "100000", "50"]
+ ["", "100000", "100"]
} else if args.len() <= 1u {
["", "10000", "50"]
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.