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

perf: make ape console --help faster #2366

Merged
merged 3 commits into from
Nov 1, 2024

Conversation

antazoey
Copy link
Member

@antazoey antazoey commented Nov 1, 2024

What I did

Before:

ape console --help  0.84s user 0.12s system 99% cpu 0.968 total

After:

ape console --help  0.27s user 0.05s system 97% cpu 0.322 total

How I did it

Mostly by avoiding needing to import something from ape.api.providers

How to verify it

ape console --help

Checklist

  • All changes are completed
  • New test cases have been added
  • Documentation has been updated

@antazoey antazoey merged commit 2515e64 into ApeWorX:main Nov 1, 2024
16 checks passed
@antazoey antazoey deleted the perf/console-help branch November 1, 2024 21:25
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