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

Bump gini for performance improvement #2336

Merged
merged 1 commit into from
Aug 26, 2021

Conversation

ecordell
Copy link
Member

The new version has logic.C performance improvements that speed up input construction a little.

I added a new benchmark for input construction and tested it before/after the update:

Before:

BenchmarkNewInput-12    	   12876	     93254 ns/op
BenchmarkNewInput-12    	   12728	     94398 ns/op
BenchmarkNewInput-12    	   12416	     91794 ns/op

After:

BenchmarkNewInput-12    	   15421	     71028 ns/op
BenchmarkNewInput-12    	   16245	     70036 ns/op
BenchmarkNewInput-12    	   14982	     71827 ns/op

refs:

(I missed the discussion around forking into operator-framework - is there any reason not to switch back to the upstream here?)

@openshift-ci openshift-ci bot requested review from exdx and njhale August 26, 2021 14:57
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 26, 2021
new version has logic.C performance improvements that should help

see:
- go-air/gini#17
- go-air/gini@3a1a4d9
- go-air/gini@8dd6805
- go-air/gini#18

Signed-off-by: Evan <[email protected]>
@timflannagan
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 26, 2021
Copy link
Member

@dinhxuanvu dinhxuanvu left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link

openshift-ci bot commented Aug 26, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dinhxuanvu, ecordell

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [dinhxuanvu,ecordell]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit c20784d into operator-framework:master Aug 26, 2021
jarrpa added a commit to jarrpa/odf-operator that referenced this pull request Dec 13, 2021
This is a roundabout workaround for this issue in OLM:
operator-framework/operator-lifecycle-manager#2322

The issue was technically fixed with the v0.19.1 release with the
following PRs:
operator-framework/operator-lifecycle-manager#2331
operator-framework/operator-lifecycle-manager#2336

...however, trying to update the dependency on OLM in ocs-operator leads
to the following issue:
red-hat-storage/ocs-operator#1426

The addition of a default GOPROXY lets us access a cached version of
this package that no longer exists.

Go is wonderful, folks.

Signed-off-by: Jose A. Rivera <[email protected]>
jarrpa added a commit to jarrpa/odf-operator that referenced this pull request Dec 13, 2021
This is a roundabout workaround for this issue in OLM:
operator-framework/operator-lifecycle-manager#2322

The issue was technically fixed with the v0.19.1 release with the
following PRs:
operator-framework/operator-lifecycle-manager#2331
operator-framework/operator-lifecycle-manager#2336

...however, trying to update the dependency on OLM in ocs-operator
leads to the following issue:
red-hat-storage/ocs-operator#1426

The addition of a default GOPROXY lets us access a cached version of
this package that no longer exists.

Go is wonderful, folks.

Signed-off-by: Jose A. Rivera <[email protected]>
jarrpa added a commit to jarrpa/odf-operator that referenced this pull request Jun 17, 2022
This is a roundabout workaround for this issue in OLM:
operator-framework/operator-lifecycle-manager#2322

The issue was technically fixed with the v0.19.1 release with the
following PRs:
operator-framework/operator-lifecycle-manager#2331
operator-framework/operator-lifecycle-manager#2336

...however, trying to update the dependency on OLM in ocs-operator
leads to the following issue:
red-hat-storage/ocs-operator#1426

The addition of a default GOPROXY lets us access a cached version of
this package that no longer exists.

Go is wonderful, folks.

Signed-off-by: Jose A. Rivera <[email protected]>
jarrpa added a commit to jarrpa/odf-operator that referenced this pull request Jul 13, 2022
This is a roundabout workaround for this issue in OLM:
operator-framework/operator-lifecycle-manager#2322

The issue was technically fixed with the v0.19.1 release with the
following PRs:
operator-framework/operator-lifecycle-manager#2331
operator-framework/operator-lifecycle-manager#2336

...however, trying to update the dependency on OLM in ocs-operator
leads to the following issue:
red-hat-storage/ocs-operator#1426

The addition of a default GOPROXY lets us access a cached version of
this package that no longer exists.

Go is wonderful, folks.

Signed-off-by: Jose A. Rivera <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants