Fixing benches (#3422)
This commit is contained in:
commit
b4ef3f3255
@ -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};
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user