Skip to content
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

enabled memmap in tiff reader to improve sino read performance #102

Merged
merged 1 commit into from
Jul 19, 2015
Merged

enabled memmap in tiff reader to improve sino read performance #102

merged 1 commit into from
Jul 19, 2015

Conversation

decarlof
Copy link
Contributor

memmap=True enables memory-mapped file. These files are used for accessing small segments of large files on disk, without reading the entire file into memory. More at http://docs.scipy.org/doc/numpy/reference/generated/numpy.memmap.html

read test on APS 1-ID tiff files:
read of 1801 x (2kx2k): 15s (memmap=False) vs 9s (memmap=True)
read of 1801 x (100x2k): 11s (memmap=False) vs 2s (memmap=True)

dgursoy added a commit that referenced this pull request Jul 19, 2015
enabled memmap in tiff reader to improve sino read performance
@dgursoy dgursoy merged commit 791bf84 into tomopy:master Jul 19, 2015
carterbox pushed a commit that referenced this pull request Sep 16, 2018
enabled memmap in tiff reader to improve sino read performance

Former-commit-id: 791bf84
carterbox pushed a commit that referenced this pull request Sep 16, 2018
enabled memmap in tiff reader to improve sino read performance

Former-commit-id: 791bf84
carterbox pushed a commit that referenced this pull request Sep 16, 2018
enabled memmap in tiff reader to improve sino read performance

Former-commit-id: 28ec6ea [formerly 791bf84]
Former-commit-id: fe6108d
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.

None yet

2 participants