Skip to content

Commit

Permalink
Fix bench
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Oct 6, 2023
1 parent 124478c commit c1c0ffa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vm/benches/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ fn bench_cache(c: &mut Criterion) {
let non_memcache = CacheOptions {
base_dir: TempDir::new().unwrap().into_path(),
available_capabilities: capabilities_from_csv("iterator,staking"),
memory_cache_size: Size(0),
memory_cache_size: Size::kilo(0),
instance_memory_limit: DEFAULT_MEMORY_LIMIT,
};
let cache: Cache<MockApi, MockStorage, MockQuerier> =
Expand All @@ -199,7 +199,7 @@ fn bench_cache(c: &mut Criterion) {
let non_memcache = CacheOptions {
base_dir: TempDir::new().unwrap().into_path(),
available_capabilities: capabilities_from_csv("iterator,staking"),
memory_cache_size: Size(0),
memory_cache_size: Size::kilo(0),
instance_memory_limit: DEFAULT_MEMORY_LIMIT,
};
let mut cache: Cache<MockApi, MockStorage, MockQuerier> =
Expand Down

0 comments on commit c1c0ffa

Please sign in to comment.