-
Notifications
You must be signed in to change notification settings - Fork 31
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
Img data json django32 #537
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
af3d511
to
7f93a0c
Compare
Conflicting PR. Removed from build OMERO-python-superbuild-push#468. See the console output for more details.
--conflicts |
6e067f9
to
7f93a0c
Compare
rv["tiles"] = False | ||
else: | ||
if load_re(image, rv): | ||
levels = image._re.getResolutionLevels() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NB: TEMP: only use the image.requiresPixelsPyramid()
if image ID is an EVEN number.
b4424a0
to
46792d3
Compare
Testing with this PR deployed on idr-testing definitely felt faster to load right panel of iviewer. |
This reverts commit f0bcabb.
Redeploying the A/B/C testing on idr-testing for more perf testing...
|
Summary of performance testing... In the chart below, each green bar is the http response time. Blue (where shown - 1st 2 sections only) is the time to load rendering engine as reported in the JSON response with the ABC testing enabled for this PR. Testing in 4 sessions below:
Conclusions:
To summarise:
|
This is identical to #536, except this is based off v5.22.1 and so is compatible with Django 3.2.
Performance testing
NB: this PR includes TEMP A/B testing
re.requiresPixelsPyramid()
, if so, we also load resolution levels.I would expect A (EVEN numbers) to be faster for small images BUT it seems that B is faster?!?! Possibly because the size threshold is using config service to get the BIG image limit.
Memo file requirement
I had hoped that by checking image size, small images (EVEN IDs) would NOT need to read memo file in order to load
imgData
(required for iviewer right panel).BUT, seems that the
imgData
won't load for e.g. idr0090 images where memo file is missing. e.g. https://idr-testing.openmicroscopy.org/webclient/imgData/12542998/ (504 timeout).