From 4ea82a95ac5c7e0159c30bf8d16226ae3a8046b5 Mon Sep 17 00:00:00 2001 From: congyi <15605187270@163.com> Date: Tue, 20 Feb 2024 14:24:28 +0800 Subject: [PATCH 1/2] update benchmark doc --- core/benches/ops/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/benches/ops/README.md b/core/benches/ops/README.md index ff2d94701b02..037b08a08a3a 100644 --- a/core/benches/ops/README.md +++ b/core/benches/ops/README.md @@ -32,8 +32,9 @@ Test all available backend. cargo bench ``` -Test specific backend. +Test specific backend, take s3 for example, first set the corresponding environment variables of s3, then: ```shell -cargo bench fs +OPENDAL_TEST=s3 +cargo bench ``` From 7266dec2796031b93aadcd3043a2d48b4bb1fe53 Mon Sep 17 00:00:00 2001 From: congyi <15605187270@163.com> Date: Tue, 20 Feb 2024 14:46:13 +0800 Subject: [PATCH 2/2] minor --- core/benches/ops/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/benches/ops/README.md b/core/benches/ops/README.md index 037b08a08a3a..0470d87bc3ec 100644 --- a/core/benches/ops/README.md +++ b/core/benches/ops/README.md @@ -29,12 +29,12 @@ Notice: The default will skip all benches if the env is not set. Test all available backend. ```shell -cargo bench +cargo bench --features tests ``` Test specific backend, take s3 for example, first set the corresponding environment variables of s3, then: ```shell OPENDAL_TEST=s3 -cargo bench +cargo bench --features tests ```