Fixing benches (#3422)

This commit is contained in:
Arkadiy Paronyan 2016-11-14 14:21:35 +01:00 committed by GitHub
commit b4ef3f3255
2 changed files with 5 additions and 4 deletions

View File

@ -24,7 +24,7 @@
#![feature(asm)] #![feature(asm)]
extern crate test; extern crate test;
extern crate bigint; extern crate ethcore_bigint as bigint;
use test::{Bencher, black_box}; use test::{Bencher, black_box};
use bigint::uint::{U256, U512, Uint, U128}; use bigint::uint::{U256, U512, Uint, U128};

View File

@ -23,12 +23,13 @@
#![feature(test)] #![feature(test)]
extern crate test; extern crate test;
extern crate ethcore_util; extern crate rlp;
extern crate ethcore_bigint as bigint;
use test::Bencher; use test::Bencher;
use std::str::FromStr; use std::str::FromStr;
use ethcore_util::rlp::*; use rlp::*;
use ethcore_util::U256; use bigint::uint::U256;
#[bench] #[bench]
fn bench_stream_u64_value(b: &mut Bencher) { fn bench_stream_u64_value(b: &mut Bencher) {