Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kba
Copy link
Member

@kba kba commented Sep 2, 2020

While developing #582 I wanted to know how the changes affect speed, so I set up a performance test on a typical METS file as it would be created by a sequence of OCR-D processors. In the test, METS with various numbers of pages is created and the OcrdMets.find_files and OcrdMets.add_file methods are tested.

We could benchmark different aspects of the code or even processors and workflows in the same vein. We could also make that part of our CI tests, maybe with a benchmark branch that can be (force-)pushed to to create performance tests, possibly feeding the results to some service to see how throughput changes (hopefully: improves) over time.

@codecov-commenter
Copy link

codecov-commenter commented Sep 2, 2020

Codecov Report

Merging #585 (69f7424) into master (db79ff6) will increase coverage by 4.64%.
The diff coverage is n/a.

❗ Current head 69f7424 differs from pull request most recent head 32a9085. Consider uploading reports for the commit 32a9085 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #585      +/-   ##
==========================================
+ Coverage   79.95%   84.60%   +4.64%     
==========================================
  Files          56       49       -7     
  Lines        3488     2813     -675     
  Branches      706      550     -156     
==========================================
- Hits         2789     2380     -409     
+ Misses        565      332     -233     
+ Partials      134      101      -33     
Impacted Files Coverage Δ
ocrd/ocrd/cli/process.py 76.92% <0.00%> (-15.94%) ⬇️
ocrd_utils/ocrd_utils/image.py 56.57% <0.00%> (-15.17%) ⬇️
ocrd_models/ocrd_models/ocrd_xml_base.py 91.30% <0.00%> (-8.70%) ⬇️
ocrd_utils/ocrd_utils/logging.py 90.56% <0.00%> (-8.17%) ⬇️
ocrd/ocrd/workspace.py 68.31% <0.00%> (-3.26%) ⬇️
ocrd_utils/ocrd_utils/str.py 89.53% <0.00%> (-1.47%) ⬇️
..._validators/ocrd_validators/workspace_validator.py 84.06% <0.00%> (-1.07%) ⬇️
ocrd_modelfactory/ocrd_modelfactory/__init__.py 87.09% <0.00%> (-0.41%) ⬇️
ocrd_validators/ocrd_validators/page_validator.py 77.19% <0.00%> (-0.30%) ⬇️
ocrd_models/ocrd_models/ocrd_mets.py 93.13% <0.00%> (-0.29%) ⬇️
... and 32 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 197437b...32a9085. Read the comment docs.

mehmed.mustafa1 and others added 3 commits February 15, 2022 15:20
@MehmedGIT MehmedGIT closed this Nov 23, 2022
@MehmedGIT MehmedGIT deleted the benchmark-mets branch November 23, 2022 11:48
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

Successfully merging this pull request may close these issues.

4 participants