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

new implementation for run #1383

Merged
merged 1 commit into from Aug 13, 2020
Merged

Conversation

tejal29
Copy link
Member

@tejal29 tejal29 commented Aug 13, 2020

shd fix #1317 and #1316 Improve correctness for newly added "--use-new-run` flag

in this PR, instead of rely on file marker and only "Modtime", we store File info descriptors before running a command and compare it with after running the command.

We don't rely on creating hashes for file information as it has been identified as a bottle neck.
See graph
As the number of files increase, time spent in hashing increases

@googlebot googlebot added the cla: yes CLA signed by all commit authors label Aug 13, 2020
@tejal29 tejal29 merged commit a2ac3b5 into GoogleContainerTools:master Aug 13, 2020
@tejal29 tejal29 added the area/performance issues related to kaniko performance enhancement label Aug 22, 2020
@tejal29 tejal29 deleted the another_impl branch April 26, 2021 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/performance issues related to kaniko performance enhancement cla: yes CLA signed by all commit authors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Building with --use-new-run=true generates an incomplete image
2 participants