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

Drop PyYAML dependency to use JSON or config.py instead #16

Open
nikochiko opened this issue Sep 28, 2022 · 0 comments
Open

Drop PyYAML dependency to use JSON or config.py instead #16

nikochiko opened this issue Sep 28, 2022 · 0 comments

Comments

@nikochiko
Copy link
Contributor

nikochiko commented Sep 28, 2022

For the CGI apps we run, pyyaml is quite resource heavy compared to the rest of the loading procedure in hamr.cgi.
This was checked by a profiler and with benchmarking tests.

If the overall time taken by hamr.cgi was 450ms, importing pyyaml and calling load() was responsible for ~300ms of that time.

Maybe toml can also be considered.

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

No branches or pull requests

1 participant