Optimize some CI stuff (#1880)

* CI Optimizations
This commit is contained in:
jackcmay
2018-11-21 12:16:16 -08:00
committed by GitHub
parent 574021041d
commit 59163e2dd9
8 changed files with 80 additions and 45 deletions

View File

@ -94,6 +94,7 @@ fn bench_program_alu(bencher: &mut Bencher) {
assert!(0f64 != summary.median);
let mips = (instructions * (ns_per_s / summary.median as u64)) / one_million;
println!(" {:?} MIPS", mips);
println!("{{ \"type\": \"bench\", \"name\": \"bench_program_alu_interpreted_mips\", \"median\": {:?}, \"deviation\": 0 }}", mips);
println!("JIT to native:");
vm.jit_compile().unwrap();
@ -112,4 +113,5 @@ fn bench_program_alu(bencher: &mut Bencher) {
assert!(0f64 != summary.median);
let mips = (instructions * (ns_per_s / summary.median as u64)) / one_million;
println!(" {:?} MIPS", mips);
println!("{{ \"type\": \"bench\", \"name\": \"bench_program_alu_jit_to_native_mips\", \"median\": {:?}, \"deviation\": 0 }}", mips);
}