You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by do...@apache.org on 2021/07/07 02:13:59 UTC

[arrow] branch master updated: ARROW-13275 [JS]: Fix perf tests

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 <do...@gmail.com>
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 <do...@gmail.com>
    Signed-off-by: Dominik Moritz <do...@gmail.com>
---
 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');