-
Notifications
You must be signed in to change notification settings - Fork 32
Cache functionality #875
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
Merged
Merged
Cache functionality #875
Changes from 2 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
db38852
Cache functionality added. Main tests pass
MehmedGIT 60e1a60
Fixes and cache tests added
MehmedGIT d8c2f50
Fix typo
MehmedGIT ef1c757
Applying the changes suggested by kba
MehmedGIT 2414e63
page_cache and fptr_cache added
MehmedGIT d7d196e
Add the missed page_cache in clearCache
MehmedGIT 0058823
Fixing some bugs
MehmedGIT ce3ffc8
Extend tests for 200 pages
MehmedGIT 39bdf5e
Comment out test case for 200 pages - takes too long
MehmedGIT f8d3ac2
No change. Trigger scrutinizer again.
MehmedGIT b423d1d
Include extreme example benchmarking tests
MehmedGIT dc6e387
Extreme benchmark test for 750 files per page (5000 pages)
MehmedGIT e86b8c2
clean the changes
MehmedGIT f1e6597
To keep the cache_functionality branch up-to-date
MehmedGIT 9ff4d26
Cache functionality after master merge
MehmedGIT 2326a94
Test for 500 pages and 1500 files per page
MehmedGIT 90212ea
Fix the test case
MehmedGIT 50e0f95
Remove the conflicting file
MehmedGIT afa0162
Return back ocrd_mets
MehmedGIT 6ed7c07
Merge branch 'master' into cache_functionality
MehmedGIT f997e5a
Cache functionality added again
MehmedGIT bdf5741
Fix missing parts
MehmedGIT ffe97cc
Fix the returned constructor with caching flag
MehmedGIT 335d8d2
Fix cache tests
MehmedGIT a70bf58
test_ocrd_mets_cache: adapt to changed behavior because of caching
kba 2206ccd
remove unnecessary else indent
kba d095fa6
use log.debug instead print
kba 3f9348a
mets caching: iterate only over actual fileGrp elements
kba 06d22af
mets caching: iterate only over mets:div[@TYPE="page"]
kba bd04777
mets caching: use fileGrp cache for OcrdMets.file_groups
kba 78715a7
Merge branch 'master' into cache_functionality-kba
kba ae75e37
Merge pull request #944 from OCR-D/cache_functionality-kba
MehmedGIT 5b50ca0
OcrdMets.find_files: allow mixing regex, range and literal multi-valu…
kba 6fd0220
generate_range: raise ValueError if start == end
kba 9cf0d9c
generate_range: choose the last number in a string
kba 016a370
Merge branch 'master' into cache_functionality
kba c9e1180
separate targets benchmark{,-extreme} for the METS benchmarks
kba 6522e54
test_ocrd_mets: combine cachinig and non-caching tests
kba f7a0f5b
merge #955
kba a6656da
Add fileGrp parameter to remove function
MehmedGIT 4e4b3ee
OcrdMets.__str__: also provide cached/non-cached status
kba 82b3e4f
OcrdMets.__str__: fix it and str test
MehmedGIT 27b6c86
OcrdMets: Don't defend against inconsistency cache vs XML
kba 1e8ff90
OcrdMets: remove outdated comment
kba ffcd89f
OcrdMets.set_physical_page_for_file: pageId is always a str
kba 4da45f6
OcrdMets: Don't defend against inconsistency cache vs XML
kba 7724191
docstring for OcrdMets.remove_one_file
kba 384b4ac
Merge branch 'cache_functionality' of https://github.com/OCR-D/core i…
kba 2fad30b
revert 4da45f6b3 (el_pagediv can be legitimately None here )
kba 3c5ac1e
enable caching by setting OCRD_METS_CACHING=true env var
kba f21a33a
readme: add a stub section on configuration
kba File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| autopep8 | ||
| pytest >= 4.0.0 | ||
| generateDS == 2.35.20 | ||
| pytest-benchmark >= 3.2.3 | ||
| coverage >= 4.5.2 | ||
| sphinx | ||
| sphinx_click | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.