You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When defining long docker repository names the parsing process takes extremely long, causing the mvn build job (gradle build job should be affected, too as the root cause is in jib-core) to run with 100% CPU.
Expected behavior:
String length should not have a big impact on parsing time.
Additional Information:
The root cause is the class com.google.cloud.tools.jib.image.ImageReference;
If calling the parse(String reference) method with a repository value that has 27 characters, it takes about 10 seconds to complete. With 28 characters (like in the example above) it takes about 20 seconds, with 29 characters about 40 seconds ...
The text was updated successfully, but these errors were encountered:
Description of the issue:
When defining long docker repository names the parsing process takes extremely long, causing the mvn build job (gradle build job should be affected, too as the root cause is in jib-core) to run with 100% CPU.
Expected behavior:
String length should not have a big impact on parsing time.
Additional Information:
The root cause is the class com.google.cloud.tools.jib.image.ImageReference;
If calling the parse(String reference) method with a repository value that has 27 characters, it takes about 10 seconds to complete. With 28 characters (like in the example above) it takes about 20 seconds, with 29 characters about 40 seconds ...
The text was updated successfully, but these errors were encountered: