bench: Increase the difficulty of some benchmarks

This commit is contained in:
Brian Anderson 2012-05-26 15:59:46 -07:00
parent bf129bd35f
commit 45d0fbf6a1
5 changed files with 5 additions and 5 deletions

View file

@ -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 file

@ -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 file

@ -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 file

@ -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 file

@ -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 {