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.
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 callingload()
was responsible for ~300ms of that time.Maybe toml can also be considered.