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

add command line flag to collect_steps.py for multi-threading #966

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

eriktaubeneck
Copy link
Member

adding a small update to the collect_steps.py script to have the option for multithreading.

@eriktaubeneck eriktaubeneck requested a review from akoshelev March 7, 2024 23:21
Comment on lines 173 to 175
features = "enable-benches debug-trace step-trace"
if args.multi_threading:
features = f"{features} multi-threading"
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this use a list and " ".join()?

Copy link
Member Author

Choose a reason for hiding this comment

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

if we wanted to make this more flexible (e.g., add other flags too), that's how I'd do it. @akoshelev suggested the steps concept was going away soon, so I just did this quick an dirty.

Copy link
Collaborator

Choose a reason for hiding this comment

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

we are probably still going to use steps, but this script should go away after #961

@eriktaubeneck eriktaubeneck merged commit f3e138b into main Mar 8, 2024
@eriktaubeneck eriktaubeneck deleted the mutlithreading-steps branch March 8, 2024 17:20
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.

3 participants