Skip to content

perf(nifi): Speed up build - #1672

Open
NickLarsenNZ wants to merge 4 commits into
mainfrom
docker-images-nifi-speed
Open

NickLarsenNZ wants to merge 4 commits into
mainfrom
docker-images-nifi-speed

Conversation

@NickLarsenNZ

@NickLarsenNZ NickLarsenNZ commented Sep 22, 2026

Copy link
Copy Markdown
Member

Add additional maven options to skip unnecessary compilation.

  • skipTests (already done, and used as inspiration)
  • maven.javadoc.skip=true (don't generate docs)
  • enforcer.skip=true (skip environmental dependency and constraint enforcement - maybe we shouldn't skip this?)

    like to know if a patch of ours breaks one of the enforcer rules

  • maven.site.skip=true (skip generating the project site)
  • T 2C (build with two threads per core. I tried 1C, but it didn't appear to help).

@NickLarsenNZ NickLarsenNZ self-assigned this Sep 22, 2026
@NickLarsenNZ
NickLarsenNZ force-pushed the docker-images-nifi-speed branch from 8bc4fa5 to 47d7d49 Compare September 22, 2026 13:05
lfrancke
lfrancke previously approved these changes Sep 22, 2026
@NickLarsenNZ

NickLarsenNZ commented Sep 22, 2026

Copy link
Copy Markdown
Member Author

Before:

sample 1 sample 2 sample 3
image image image

After:

-T 1C -T 2C
Not much of an improvement Pending
image TBD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants