yanyongyu / githubkit

The modern, all-batteries-included GitHub SDK for Python, including rest api, graphql, webhooks, like octokit!
MIT License
158 stars 21 forks source link

The library consumes too much RAM. It also consumes a lot of CPU at startup. #76

Closed Arkptz closed 6 months ago

Arkptz commented 6 months ago

image

Arkptz commented 6 months ago

image it's startup

yanyongyu commented 6 months ago

Due to the huge number of pydantic models used to validate data, githubkit needs a lot of memory currently. But, i'm working on lazy loading the models when using to reduce the cost when importing.

related to #54