You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The other hotspot (outside jsonschema, which is the majority of the time) is get_additional_codelist_values. It calls _generate_data_path and then rejects/ignores a bunch of its output. It is the only function to call that function, so there's an opportunity to merge the path_no_num and not in schema_obj.extended_codelist_schema_paths logic into _generate_data_path.
We can cache the our_validator = validator( calls. For example: Allow lib-cove-* libraries to provide their own function for returning a validator. Then, have it cache similarly to how SchemaOCDS is cached in Kingfisher Process.
_generate_data_path
and then rejects/ignores a bunch of its output. It is the only function to call that function, so there's an opportunity to merge thepath_no_num
andnot in schema_obj.extended_codelist_schema_paths
logic into_generate_data_path
.our_validator = validator(
calls. For example: Allow lib-cove-* libraries to provide their own function for returning a validator. Then, have it cache similarly to how SchemaOCDS is cached in Kingfisher Process.curl -Lo 1__1__5.zip https://github.com/open-contracting/standard/archive/1__1__5.zip
python -m cProfile -o code.prof -m libcoveocds --skip-aggregates --additional-checks none --standard-zip 1__1__5.zip 2017_0.json; gprof2dot -f pstats code.prof | dot -Tpng -o output.png; open output.png
The text was updated successfully, but these errors were encountered: