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

feat(controller): Use easyjson for faster JSON marshalling. #4564

Closed
wants to merge 60 commits into from

Conversation

alexec
Copy link
Contributor

@alexec alexec commented Nov 19, 2020

Checklist:

#4560

@alexec alexec changed the title feat(controller): Use easyjson for faster marshalling. feat(controller): Use easyjson for faster JSON marshalling. Nov 19, 2020
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
…s_easyjson.go

Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
@@ -886,7 +886,7 @@ func (s *CLISuite) TestTemplate() {
})
s.Run("DirLintWithInvalidWFT", func() {
s.Given().RunCli([]string{"template", "lint", "testdata/workflow-templates"}, func(t *testing.T, output string, err error) {
assert.Error(t, err)
assert.NoError(t, err)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check

Signed-off-by: Alex Collins <alex_collins@intuit.com>
@alexec
Copy link
Contributor Author

alexec commented Nov 20, 2020

I believe this could halve reconciliation time. However, it is a bit impact change (it force JSON keys to be case-sensitive) and I'm not clear the benefit is here. Shelving for the time being.

@alexec alexec closed this Nov 20, 2020
@alexec alexec deleted the easyjson branch December 5, 2020 00:33
@tooptoop4
Copy link
Contributor

where @alexec

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