From 5a63eba32739ab56dc1512f3f0f75a9b6c687eed Mon Sep 17 00:00:00 2001 From: Njuguna Mureithi Date: Fri, 9 Feb 2024 08:45:29 +0300 Subject: [PATCH] bench: ! --- benches/storages.rs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/benches/storages.rs b/benches/storages.rs index 2112493..8fae258 100644 --- a/benches/storages.rs +++ b/benches/storages.rs @@ -93,11 +93,12 @@ define_bench!("postgres", { let _ = PostgresStorage::setup(&pool).await.unwrap(); PostgresStorage::new(pool) }); -define_bench!("mysql", { - let pool = MySqlPool::connect(env!("MYSQL_URL")).await.unwrap(); - let _ = MysqlStorage::setup(&pool).await.unwrap(); - MysqlStorage::new(pool) -}); +// TODO: See why it no complete. +// define_bench!("mysql", { +// let pool = MySqlPool::connect(env!("MYSQL_URL")).await.unwrap(); +// let _ = MysqlStorage::setup(&pool).await.unwrap(); +// MysqlStorage::new(pool) +// }); -criterion_group!(benches, sqlite_in_memory, redis, postgres, mysql); +criterion_group!(benches, sqlite_in_memory, redis, postgres); criterion_main!(benches);