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

Speed up dev build. #14210

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

bziobrowski
Copy link
Contributor

This PR speeds up developer build (one with pinot-fastdev profile enabled) by skipping compression and e.g. npm validation.
Following build command on my desktop :
mvn -DskipTests=true --also-make --projects pinot-distribution package -P'pinot-fastdev,bin-dist' -T1C
takes:
in master branch - 3 minutes
in this branch - 2 minutes.
It looks possible to shave another 30 seconds by disabling compression in shade plugin but that'd require changing plugin code.

@codecov-commenter
Copy link

codecov-commenter commented Oct 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.45%. Comparing base (59551e4) to head (30f6d39).
Report is 1203 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (59551e4) and HEAD (30f6d39). Click for more details.

HEAD has 10 uploads less than BASE
Flag BASE (59551e4) HEAD (30f6d39)
integration2 3 2
temurin 12 11
skip-bytebuffers-false 7 5
unittests 5 3
java-11 5 4
unittests2 3 0
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #14210      +/-   ##
============================================
- Coverage     61.75%   55.45%   -6.30%     
- Complexity      207      797     +590     
============================================
  Files          2436     2074     -362     
  Lines        133233   109458   -23775     
  Branches      20636    17332    -3304     
============================================
- Hits          82274    60701   -21573     
+ Misses        44911    43914     -997     
+ Partials       6048     4843    -1205     
Flag Coverage Δ
custom-integration1 100.00% <ø> (+99.99%) ⬆️
integration 100.00% <ø> (+99.99%) ⬆️
integration1 100.00% <ø> (+99.99%) ⬆️
integration2 0.00% <ø> (ø)
java-11 55.38% <ø> (-6.33%) ⬇️
java-21 55.31% <ø> (-6.32%) ⬇️
skip-bytebuffers-false 55.44% <ø> (-6.31%) ⬇️
skip-bytebuffers-true 55.26% <ø> (+27.53%) ⬆️
temurin 55.45% <ø> (-6.30%) ⬇️
unittests 55.45% <ø> (-6.30%) ⬇️
unittests1 55.45% <ø> (+8.56%) ⬆️
unittests2 ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

pinot-controller/pom.xml Outdated Show resolved Hide resolved
@bziobrowski bziobrowski changed the title Speedup dev build. Speed up dev build. Oct 15, 2024
pinot-controller/pom.xml Outdated Show resolved Hide resolved
pinot-controller/pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants