[Integration][JS] JS implementation is slow to build
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, typescript
- Domain
- build-system, ci-cd, testing
Research direction
Start with ci/scripts/js_build.sh and measure its current integration-build time on the documented command. Inspect whether it invokes multiple TypeScript compiler configurations or versions and linting, then establish which steps are required for integration tests; done means a slimmer build that preserves those tests and improves the baseline timing.
Written by the indexing model from the issue text.
Description
Describe the enhancement requested
The JavaScript build in the integration tests is a bit slow. Here on a 12-core CPU:
# time /arrow/ci/scripts/js_build.sh /arrow /build
[...]
real 1m8.027s
user 8m26.377s
sys 0m55.688s
I don't understand much of what it is doing, but it seems it may be compiling the TypeScript sources with several different compiler options and/or versions, and also linting the sources. Given that this is the Integration build, the build could probably be slimmed down.
Component(s)
Continuous Integration, Integration, JavaScript
- Dominant language
- TypeScript
- Stars
- 112
- Forks
- 23
- Avg merge
- 17h 55m
- Merged PRs (30d)
- 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/arrow-js
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 50/100
Similar issues
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Mend: dependency security vulnerability untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100