-
Notifications
You must be signed in to change notification settings - Fork 168
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
performance issues yq #261
Comments
Yes, I agree. It can be optimized, I wasn't sure if it was inside the scope in #203. I have some ideas:
|
Nah, you are overthinking it as the script only copies some files. Please understand that symlinking is for devs only, so no solution here. We need to time the operations. Is the file mount on the container inducing so much latency when it comes to copying? Instrument the code to show times with |
I think we have to look into decryption. Is that happening every call? |
The latency in
I added that line with 'LATENCY' of course. I don't know what to make of it though. |
Reproduce it by running:
|
Related: mikefarah/yq#422 Is it possible to follow the suggestion and downgrade yq even more? I'm not sure about the new version, maybe use that where appropriate |
I see that mikefarah/yq#422 is solved in version 3.3.1 |
Well apparently there was a version where this wasn't an issue: "after downgrade to yq 2.4.1 --> zippy fast again (ie: 30s to parse yaml file in 3.x became sub second response time with 2.4.1)" |
Well the issue isn't solved in 3.3.4 which is what I'm running:
|
Let's wait for #269 as discussed in Slack. |
#271 Doesn't solve it, does the following command work: |
Yes, if these are equivalent then it this is a solution, the performance is fine now. Do you want to create a pr? |
Maybe this works: |
@Dunky13 can you create that PR then so we can benefit soon? |
Using jq for faster recursive key deletion. fix #261
PR is open, ready for check & merge |
The 5 bats tests are not performing well. They should run under 5 seconds imo. Can this be optimized?
The text was updated successfully, but these errors were encountered: