You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/03/30 10:15:46 UTC
[incubator-opendal] branch main updated: fix(bindings/nodejs): fix read benchmark (#1805)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 8209e68f fix(bindings/nodejs): fix read benchmark (#1805)
8209e68f is described below
commit 8209e68f61e0ad1649457996533ac43a7dcd0c98
Author: Yixuan Xu <yi...@outlook.com>
AuthorDate: Thu Mar 30 18:15:40 2023 +0800
fix(bindings/nodejs): fix read benchmark (#1805)
---
bindings/nodejs/benchmark/read.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bindings/nodejs/benchmark/read.js b/bindings/nodejs/benchmark/read.js
index 34d1af3c..50f0b50f 100644
--- a/bindings/nodejs/benchmark/read.js
+++ b/bindings/nodejs/benchmark/read.js
@@ -26,7 +26,7 @@ async function bench() {
await testFiles
.map((v) => async () => {
const filename = `${uuid}_${v.name}_read_bench.txt`
- await write(filename, v.file)
+ await opendal.write(filename, v.file)
return suite(
`read (${v.name})`,
add(`s3 read (${v.name})`, async () => {