This is an automated email from the ASF dual-hosted git repository.
domoritz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new bc86814 ARROW-13275 [JS]: Fix perf tests
bc86814 is described below
commit bc86814d6cd4865c1250319cbd0bf5431938ac80
Author: Dominik Moritz <[email protected]>
AuthorDate: Tue Jul 6 19:12:42 2021 -0700
ARROW-13275 [JS]: Fix perf tests
We recently split `DataFrame`s from `Table`s so we should run tests on the
former.
Closes #10670 from domoritz/dataframe-benchmarks
Authored-by: Dominik Moritz <[email protected]>
Signed-off-by: Dominik Moritz <[email protected]>
---
js/perf/config.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js/perf/config.ts b/js/perf/config.ts
index f9915c4..08ea9ec 100644
--- a/js/perf/config.ts
+++ b/js/perf/config.ts
@@ -57,7 +57,7 @@ const batches = Array.from({length: NUM_BATCHES}).map(() => {
});
});
-const tracks = new Arrow.Table(batches[0].schema, batches);
+const tracks = new Arrow.DataFrame(batches[0].schema, batches);
console.timeEnd('Prepare Data');