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

Faster meta producers #1

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Faster meta producers #1

wants to merge 12 commits into from

Conversation

gastrodon
Copy link
Owner

No description provided.

When compiling pipelines into something runnable, instead of getting
producers ( remote and literal ) into a function that's immediately
callable, use a function that returns a channel that will spawn some
producers before closing.

With this channel we can feed literal producers as normal, while
allowing us to get remote producer descriptors during runtime, without
any timeout.

Refactor RunPipeline to collect producers from the spawner channel in
chunks, running them in the order received, until the spawner closes (
which we test for by looking at whether or not the next producer is nil
)

Refactor the pipeline testcase struct to specify how many producers to
run in parallel so that we can test for that, testing for non-wholly
divisible and overflowing parallel counts
This reverts commit 471d1d6.
Make the struct field name consistent across pipeline descriptors and
compiled pipelines

Fix an error where I just forgot to prop it up with other values LOL
@gastrodon gastrodon force-pushed the faster-meta-producers branch from 71ad7f7 to 952f446 Compare September 22, 2024 23:13
@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@gastrodon gastrodon mentioned this pull request Oct 10, 2024
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