Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#808)
Browse files Browse the repository at this point in the history
updates:
- [github.com/psf/black: 22.6.0 → 22.8.0](psf/black@22.6.0...22.8.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: José Manuel Domínguez <jose.manuel.dominguez@iwm.fraunhofer.de>
  • Loading branch information
pre-commit-ci[bot] and kysrpex authored Oct 10, 2022
1 parent eeff5b0 commit 70f9277
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
args: [--profile, black, --filter-files, --line-length, "79"]

- repo: https://github.com/psf/black
rev: 22.6.0
rev: 22.8.0
hooks:
- id: black
args: [--line-length, "79"]
Expand Down
2 changes: 1 addition & 1 deletion osp/core/ontology/docs/foaf.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
identifier: foaf
ontology_file: "https://xmlns.com/foaf/spec/index.rdf"
ontology_file: "https://web.archive.org/web/20220614185720if_/http://xmlns.com/foaf/spec/index.rdf"
reference_by_label: False
namespaces:
foaf: "http://xmlns.com/foaf/0.1/"
Expand Down
8 changes: 6 additions & 2 deletions tests/test_installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,13 @@ def test_conflicting_labels(self):
label for multiple IRIs. An error is only raised on installation if the
reference_by_label option is set to Tue in the yml file.
"""
FOAF = """
FOAF_URL = (
"https://web.archive.org/web/20220614185720if_/"
"http://xmlns.com/foaf/spec/index.rdf"
)
FOAF = f"""
identifier: foaf_TEST
ontology_file: https://xmlns.com/foaf/spec/index.rdf
ontology_file: "{FOAF_URL}"
reference_by_label: True
namespaces:
foaf_TEST: "http://xmlns.com/foaf/0.1/"
Expand Down

1 comment on commit 70f9277

@kysrpex
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.

Benchmark suite Current: 70f9277 Previous: eeff5b0 Ratio
benchmark_cuds_api.py::benchmark_cuds_create 295.9054801197797 iter/sec (stddev: 0.0067288113561724296) 694.9558383154495 iter/sec (stddev: 0.0042275393893055424) 2.35
benchmark_cuds_api.py::benchmark_add_default 810.9459538581459 iter/sec (stddev: 0.0001440392831877578) 2093.041864416369 iter/sec (stddev: 0.00005936408186038973) 2.58
benchmark_cuds_api.py::benchmark_cuds_add_rel 912.9278302304068 iter/sec (stddev: 0.00022748016503339075) 2374.9815190812565 iter/sec (stddev: 0.00007679467519465259) 2.60
benchmark_cuds_api.py::benchmark_cuds_get_byuiduuid 115.24329673178154 iter/sec (stddev: 0.00046571846681500126) 313.3689104901378 iter/sec (stddev: 0.0003065262656294313) 2.72
benchmark_cuds_api.py::benchmark_get_byuiduriref 174.36708317230702 iter/sec (stddev: 0.0004497473505185546) 493.9487289596662 iter/sec (stddev: 0.0001927127591018917) 2.83
benchmark_cuds_api.py::benchmark_get_byrel 350.6052647692966 iter/sec (stddev: 0.00019735133716873481) 1030.2698494947233 iter/sec (stddev: 0.00008011737977650483) 2.94
benchmark_cuds_api.py::benchmark_get_byoclass 18.8147111250631 iter/sec (stddev: 0.0017026604232992367) 43.589277137312365 iter/sec (stddev: 0.0016968944505824386) 2.32
benchmark_cuds_api.py::benchmark_cuds_iter_byuiduuid 4542.312586545286 iter/sec (stddev: 0.0008071881372898939) 19357.00969195893 iter/sec (stddev: 0.0003072420237884745) 4.26
benchmark_cuds_api.py::benchmark_cuds_iter_byuiduriref 5044.0425620319365 iter/sec (stddev: 0.0007302115814611747) 21290.47622925042 iter/sec (stddev: 0.00021942209133161373) 4.22
benchmark_cuds_api.py::benchmark_cuds_iter_byrel 358.6709174555361 iter/sec (stddev: 0.000195408228613231) 1073.7547099150754 iter/sec (stddev: 0.00007210419244496266) 2.99
benchmark_cuds_api.py::benchmark_iter_byoclass 18.67906057013781 iter/sec (stddev: 0.0026431002338182723) 43.056966039091385 iter/sec (stddev: 0.002340123577836021) 2.31
benchmark_cuds_api.py::benchmark_cuds_is_a 4197.277481295695 iter/sec (stddev: 0.00013233371324040833) 14093.952769648235 iter/sec (stddev: 0.00004673077578322561) 3.36
benchmark_cuds_api.py::benchmark_cuds_oclass 4942.57064067209 iter/sec (stddev: 0.000042897798214019566) 17530.62679383837 iter/sec (stddev: 0.00001321683496576532) 3.55
benchmark_cuds_api.py::benchmark_cuds_uid 6177.053553113919 iter/sec (stddev: 0.00003874775792275859) 27461.69519191891 iter/sec (stddev: 0.00000872228071101673) 4.45
benchmark_cuds_api.py::benchmark_cuds_iri 5697.421476941786 iter/sec (stddev: 0.000044525593226107483) 25256.290735779497 iter/sec (stddev: 0.000008774154269931977) 4.43
benchmark_cuds_api.py::benchmark_cuds_attributes 1303.6906345039001 iter/sec (stddev: 0.0001653133760283714) 4071.9584111657546 iter/sec (stddev: 0.0000688543376252691) 3.12

This comment was automatically generated by workflow using github-action-benchmark.

CC: @yoavnash @pablo-de-andres @kysrpex

Please sign in to comment.