mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: set up codspeed (#13372)
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
#![allow(missing_docs, unreachable_pub)]
|
||||
mod utils;
|
||||
|
||||
use criterion::{black_box, criterion_group, criterion_main, Criterion};
|
||||
use criterion::{criterion_group, criterion_main, Criterion};
|
||||
use rand::{prelude::SliceRandom, SeedableRng};
|
||||
use rand_xorshift::XorShiftRng;
|
||||
use reth_libmdbx::{ffi::*, ObjectLength, WriteFlags};
|
||||
use std::ptr;
|
||||
use std::{hint::black_box, ptr};
|
||||
use utils::*;
|
||||
|
||||
fn bench_get_rand(c: &mut Criterion) {
|
||||
|
||||
Reference in New Issue
Block a user