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

improve max nodes benchmark #45545

Merged
merged 2 commits into from
Aug 19, 2024
Merged

Conversation

fspmarshall
Copy link
Contributor

#44486 added benchmarks to CI, but left BenchmarkGetMaxNodes excluded due to flake. This PR attempts to reduce flake by creating the nodes in a background goroutine asynchronously and switching from a per-event timeout to a single much longer timeout for all events to propagate. The intent is to get the nodes injected as fast as possible and allow for slop in replication time.

@fspmarshall fspmarshall added the no-changelog Indicates that a PR does not require a changelog entry label Aug 15, 2024
@rosstimothy
Copy link
Contributor

CI still doesn't look able to complete the test successfully

--- FAIL: BenchmarkGetMaxNodes
    cache_test.go:961: timeout waiting for event, progress=1864590

@fspmarshall fspmarshall force-pushed the fspmarshall/improve-max-nodes-benchmark branch from 6940c38 to b2f8712 Compare August 16, 2024 16:05
@fspmarshall fspmarshall force-pushed the fspmarshall/improve-max-nodes-benchmark branch from b2f8712 to 58fde66 Compare August 16, 2024 16:48
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from espadolini August 16, 2024 19:40
Makefile Outdated Show resolved Hide resolved
Co-authored-by: rosstimothy <[email protected]>
@fspmarshall fspmarshall enabled auto-merge August 16, 2024 22:31
@fspmarshall fspmarshall added this pull request to the merge queue Aug 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 16, 2024
@rosstimothy rosstimothy added this pull request to the merge queue Aug 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 19, 2024
@rosstimothy rosstimothy added this pull request to the merge queue Aug 19, 2024
Merged via the queue into master with commit 54ff173 Aug 19, 2024
41 of 42 checks passed
@rosstimothy rosstimothy deleted the fspmarshall/improve-max-nodes-benchmark branch August 19, 2024 13:57
fspmarshall added a commit that referenced this pull request Aug 26, 2024
* improve max nodes benchmark

* Update Makefile

Co-authored-by: rosstimothy <[email protected]>

---------

Co-authored-by: rosstimothy <[email protected]>
fspmarshall added a commit that referenced this pull request Aug 26, 2024
* improve max nodes benchmark

* Update Makefile

Co-authored-by: rosstimothy <[email protected]>

---------

Co-authored-by: rosstimothy <[email protected]>
fspmarshall added a commit that referenced this pull request Aug 26, 2024
* improve max nodes benchmark

* Update Makefile

Co-authored-by: rosstimothy <[email protected]>

---------

Co-authored-by: rosstimothy <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Aug 26, 2024
* improve max nodes benchmark

* Update Makefile



---------

Co-authored-by: rosstimothy <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Aug 26, 2024
* improve max nodes benchmark

* Update Makefile



---------

Co-authored-by: rosstimothy <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Aug 26, 2024
* improve max nodes benchmark

* Update Makefile



---------

Co-authored-by: rosstimothy <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Aug 26, 2024
* improve max nodes benchmark

* Update Makefile



---------

Co-authored-by: rosstimothy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants