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

Initial work on performance #131

Merged
merged 6 commits into from
Jun 19, 2024
Merged

Initial work on performance #131

merged 6 commits into from
Jun 19, 2024

Conversation

vcfxb
Copy link
Contributor

@vcfxb vcfxb commented Jun 19, 2024

This PR includes several commits, but the most major change is that Rc has been replaced with Arc throughout much of the repository, in order to prepare for improvements from multithreading.

@vcfxb vcfxb requested a review from alilleybrinker June 19, 2024 17:54
@vcfxb vcfxb self-assigned this Jun 19, 2024
@alilleybrinker
Copy link
Collaborator

Looks like there are just some unused-related warnings, plus Conventional Commits issues, and then it's ready to merge. Probably just squash down to one commit and reword the message to match Conventional Commits.

@vcfxb vcfxb force-pushed the venus/performance branch from 7fdd402 to 4db1963 Compare June 19, 2024 19:22
@vcfxb
Copy link
Contributor Author

vcfxb commented Jun 19, 2024

@alilleybrinker assuming this last check is successful (it should be) I think this is ready to review/merge!

@alilleybrinker alilleybrinker merged commit e76f7b5 into main Jun 19, 2024
9 checks passed
Copy link
Collaborator

@j-lanson j-lanson left a comment

Choose a reason for hiding this comment

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

I for one welcome our Arc overlords

Comment on lines +399 to +401
// If no subcommand matched, default to use of '-t <TYPE> <TARGET' syntax. In
// this case, `target` is a required field, but the existence of a subcommand
// removes that requirement
Copy link
Collaborator

Choose a reason for hiding this comment

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

If this comment was intentionally duplicated, is there a good reason for doing so?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was unintentional! Probably happened while merging. Thanks for catching this!

use tempdir::TempDir;

/// Handle unstable commands.
pub fn main(args: UnstableArgs, config: &CliConfig) -> io::Result<()> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would stylistically opt for a different name, such as run or run_unstable, but not a big deal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants