Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run stdlib benchmarks locally via JMH #10706

Closed
1 task done
Akirathan opened this issue Jul 29, 2024 · 3 comments
Closed
1 task done

Cannot run stdlib benchmarks locally via JMH #10706

Akirathan opened this issue Jul 29, 2024 · 3 comments
Assignees
Labels
--bug Type: bug --regression Important: regression -compiler -tooling Category: tooling

Comments

@Akirathan
Copy link
Member

Akirathan commented Jul 29, 2024

sbt std-benchmarks/run fails with frgaal exited with exit code 1. The underlying error is:

Type error: expected the result of build_multiple to be Vector, but got Cannto parse foreign arrow method.

Attaching debugger and hitting breakpoint in

reveals that there is no arrow language loaded in the polyglot engine. This is not expected, as arrow language is in module-path.

See https://github.com/enso-org/enso/blob/develop/docs/debugger/runtime-debugging.md#debugging-annotation-processors for annotation processor debugging.

Note that on the CI, the Benchmark Standard Libraries GH Action (for example last run is in https://github.com/enso-org/enso/actions/runs/10135787234/job/28023635309) runs just OK.

How is it possible that the job runs on CI and not locally?

Encountered during #10702

Tasks

Preview Give feedback
@Akirathan Akirathan added -tooling Category: tooling --bug Type: bug -compiler --regression Important: regression labels Jul 29, 2024
@Akirathan
Copy link
Member Author

@JaroslavTulach Please try to reproduce the problem on your machine. Just run sbt std-benchmarks/run -h.

@JaroslavTulach
Copy link
Member

JaroslavTulach commented Jul 30, 2024

Following seems to work for me on 4dfbbd5

sbt:std-benchmarks> benchOnly Vector

@hubertp hubertp moved this from ❓New to 📤 Backlog in Issues Board Aug 6, 2024
@Akirathan
Copy link
Member Author

Closing as a non-issue, works for me on 2024-09-11

@github-project-automation github-project-automation bot moved this from 📤 Backlog to 🟢 Accepted in Issues Board Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
--bug Type: bug --regression Important: regression -compiler -tooling Category: tooling
Projects
Archived in project
Development

No branches or pull requests

2 participants