diff --git a/bench-suite-linux/run_nightlies.py b/bench-suite-linux/run_nightlies.py index a45d050..c98acba 100755 --- a/bench-suite-linux/run_nightlies.py +++ b/bench-suite-linux/run_nightlies.py @@ -6,7 +6,7 @@ FORMAT = '%Y-%m-%d' -current = dt.datetime(2015, 8, 20) +current = dt.datetime(2015, 9, 15) print('start:', current.strftime(FORMAT)) end = dt.datetime(2016, 3, 15) @@ -32,7 +32,7 @@ continue print('building benches on', toolchain_str) - cmd = ['cargo', 'clean'] + cmd = ['multirust', 'run', toolchain_str, 'cargo', 'clean'] sp.run(cmd) cmd = ['multirust', 'run', toolchain_str, 'cargo', 'build', '--release'] @@ -47,17 +47,17 @@ continue print('running benches for', date_str) - benches = ['cbor' - 'crc', - 'csv', - 'itertools', - 'memchr', - 'optional', - 'permutohedron', - 'rand', - 'regex', - 'suffix', - 'uuid'] + benches = ["cbor", + "crc", + "csv", + "itertools", + "memchr", + "optional", + "permutohedron", + "rand", + "regex", + "suffix", + "uuid"] for b in benches: cmd = ['perf', 'stat', '-x,', 'target/release/bench-suite-linux', b] diff --git a/bench-suite-linux/src/main.rs b/bench-suite-linux/src/main.rs index 4bec150..be74ad4 100644 --- a/bench-suite-linux/src/main.rs +++ b/bench-suite-linux/src/main.rs @@ -86,7 +86,7 @@ fn main() { "regex" => results.insert("regex".to_string(), regex_bench::run_all()), "suffix" => results.insert("suffix".to_string(), suffix_bench::run_all()), "uuid" => results.insert("uuid".to_string(), uuid_bench::run_all()), - _ => panic!("invalid benchmark selected"), + _ => panic!("invalid benchmark selected: {}", arg), }; }