Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

Commit

Permalink
Adding perf results.
Browse files Browse the repository at this point in the history
  • Loading branch information
anp committed Mar 20, 2016
1 parent 25abaf2 commit 10e70c0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions bench-suite-linux/run_nightlies.py
Expand Up @@ -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)
Expand All @@ -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']
Expand All @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion bench-suite-linux/src/main.rs
Expand Up @@ -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),
};
}

Expand Down

0 comments on commit 10e70c0

Please sign in to comment.