Skip to content

[JS] [Benchmarking] JavaScript microbenchmarks are failing #37657

@austin3dickey

Description

@austin3dickey

Describe the bug, including details regarding any error messages, version, and platform.

Since this PR:

the JavaScript microbenchmarks have been failing on our Ubuntu runner. Here is an example build: https://buildkite.com/apache-arrow/arrow-bci-benchmark-on-ursa-i9-9960x/builds/3550#018a82a7-0b90-4c4b-99fd-c6be4b453e85/6-24091

['yarn', 'perf', '--json']
(node:2507379) ExperimentalWarning: Custom ESM Loaders is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
ReferenceError: exports is not defined in ES module scope
    at file:///var/lib/buildkite-agent/builds/ursa-i9-9960x-2/apache-arrow/arrow-bci-benchmark-on-ursa-i9-9960x/arrow/js/perf/index.ts:18:23
    at ModuleJob.run (node:internal/modules/esm/module_job:198:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:409:24)
    at async loadESM (node:internal/process/esm_loader:85:5)
    at async handleMainPromise (node:internal/modules/run_main:61:12)
error Command failed with exit code 1.

Component(s)

Benchmarking, JavaScript

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions