diff --git a/benches/benches/decompilation_benchmark.rs b/benches/benches/decompilation_benchmark.rs index fcee66df..6399035f 100644 --- a/benches/benches/decompilation_benchmark.rs +++ b/benches/benches/decompilation_benchmark.rs @@ -1,5 +1,3 @@ -use std::time::Duration; - use benches::{Invoke, RadixEngineToolkit}; use criterion::{black_box, criterion_group, criterion_main, Criterion}; use native_transaction::{ @@ -59,8 +57,6 @@ fn decompile_intent_with_core_toolkit_benchmarks(c: &mut Criterion) { let compiled_transaction = hex::decode(include_str!("./transaction.hex")).unwrap(); let mut group = c.benchmark_group("Decompile Intent with Toolkit Core"); - group.sample_size(10); - group.bench_function("Decompile Unknown Intent to String", |b| { b.iter(|| { black_box({ @@ -169,8 +165,7 @@ fn decompile_intent_with_toolkit_wrapper_benchmarks(c: &mut Criterion) { criterion_group!( name = benches; - config = Criterion::default().measurement_time(Duration::from_secs(10)); - // config = Criterion::default(); + config = Criterion::default(); targets = decompile_intent_natively_benchmarks, decompile_intent_with_toolkit_wrapper_benchmarks, decompile_intent_with_core_toolkit_benchmarks ); criterion_main!(benches); diff --git a/benches/lib/libradix_engine_toolkit.dylib b/benches/lib/libradix_engine_toolkit.dylib index 7d229d7a..3c84f0a7 100755 Binary files a/benches/lib/libradix_engine_toolkit.dylib and b/benches/lib/libradix_engine_toolkit.dylib differ