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: getting ape console to launch faster #2379

Merged
merged 12 commits into from
Dec 2, 2024

Conversation

antazoey
Copy link
Member

@antazoey antazoey commented Nov 8, 2024

What I did

doing what i can to get ape console to launch faster.
Mostly centers around connecting to networks faster
Also some other small perfs...
Am still working on the main bottle neck..

Before:

(ape_no_plugins) ➜  ape git:(main) time ape console

In [1]: exit
ape console  4.79s user 0.61s system 91% cpu 5.916 total
(ape_no_plugins) ➜  ape git:(main) time ape console

In [1]: exit
ape console  4.49s user 0.55s system 94% cpu 5.333 total

After:

ape console  3.87s user 0.64s system 101% cpu 4.460 total
(ape) ➜  ape git:(perf/console) time ape console

In [1]: exit
ape console  3.74s user 0.57s system 100% cpu 4.274 total

obviously this network dependent and such

How I did it

How to verify it

Checklist

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

@antazoey antazoey marked this pull request as ready for review November 25, 2024 15:20
@antazoey antazoey force-pushed the perf/console branch 3 times, most recently from 16f04a1 to 9d0b4e0 Compare November 25, 2024 15:24
fubuloubu
fubuloubu previously approved these changes Nov 25, 2024
fubuloubu
fubuloubu previously approved these changes Nov 26, 2024
fubuloubu
fubuloubu previously approved these changes Nov 27, 2024
@antazoey antazoey force-pushed the perf/console branch 2 times, most recently from 68712f7 to af0b009 Compare December 2, 2024 16:19
@antazoey antazoey merged commit 6b12573 into ApeWorX:main Dec 2, 2024
16 checks passed
@antazoey antazoey deleted the perf/console branch December 2, 2024 17:57
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