gapic-generator-java icon indicating copy to clipboard operation
gapic-generator-java copied to clipboard

Can the GraalVM Presubmit checks be faster?

Open diegomarquezp opened this issue 1 year ago • 1 comments

These checks take usually ~35 minutes. I wonder if we can make them faster somehow. image image

diegomarquezp avatar Mar 15 '24 20:03 diegomarquezp

Adding some observations on times to understand where the delays are coming from:

From https://github.com/googleapis/sdk-platform-java/pull/2581

Building sdk-platform-java dependencies: 02:02 min Showcase Run showcase tests: 2 mins Generate native image: 11 min Run tests after native image build: 1 min

Monorepo - KMS Run tests for KMS: 1 min Generate native image: 10 mins Run tests after native image build: <1 min

Monorepo - KMS Inventory Run tests for KMS Inventory: <1 min Generate native image: 10 min Run tests after native image build: <1 min

Building the native images appears to be taking a majority of time.

One idea: The graalvm script first runs the showcase job and then the monorepo tests sequentially. There may be an opportunity for us to parallelize this.

mpeddada1 avatar Mar 18 '24 19:03 mpeddada1