From 682848289b03f9ba8b14c5dc684306f670947216 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Wed, 30 Oct 2024 14:36:16 -0400 Subject: WARP: Update benches --- plugins/warp/benches/function.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/warp/benches/function.rs') diff --git a/plugins/warp/benches/function.rs b/plugins/warp/benches/function.rs index c6f6d70d..487a3378 100644 --- a/plugins/warp/benches/function.rs +++ b/plugins/warp/benches/function.rs @@ -32,7 +32,10 @@ pub fn function_benchmark(c: &mut Criterion) { b.iter(|| { functions .par_iter() - .map_with(cache.clone(), |par_cache, func| par_cache.function(&func)) + .map_with(cache.clone(), |par_cache, func| { + let llil = func.low_level_il().ok()?; + Some(par_cache.function(func.as_ref(), llil.as_ref())) + }) .collect::>() }) }); -- cgit v1.3.1