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: ape_node plugin load time improvement #2378

Merged
merged 2 commits into from
Nov 9, 2024

Conversation

antazoey
Copy link
Member

@antazoey antazoey commented Nov 8, 2024

What I did

noooooo i wish this was in the last release, so close to have a faster default Ape ecosystem..

(ipython)

before

In [1]: %time import ape_node
CPU times: user 1.14 s, sys: 142 ms, total: 1.28 s
Wall time: 1.29 s

after:

In [1]: %time import ape_node
CPU times: user 7.93 ms, sys: 3.39 ms, total: 11.3 ms
Wall time: 10 ms

BASICALLY once all our plugins have this treatment, stuff like ape console will be able to launch faster, if my research is correct. And i already have ideas of where the bottleneck moves to. We're optimizing.

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 force-pushed the perf/remaining-plugin-load-times branch from 2f331a6 to c93dcac Compare November 8, 2024 21:27
@antazoey antazoey merged commit e31c426 into ApeWorX:main Nov 9, 2024
16 checks passed
@antazoey antazoey deleted the perf/remaining-plugin-load-times branch November 9, 2024 00:54
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