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

[Bug] stackContextPrefetch.enable method loads dcm files very slowly in Chrome and Edge browsers on Windows systems #1760

Open
934556826 opened this issue Jan 17, 2025 · 2 comments

Comments

@934556826
Copy link

934556826 commented Jan 17, 2025

Describe the Bug

The stackContextPrefetch.enable method loads dcm files very slowly in Chrome and Edge browsers on Windows, but very quickly in Firefox browser;
It also loads very quickly on my iOS phone, I can rule out the possibility of network speed issues

Steps to Reproduce

"@cornerstonejs/core": "^2.15.4"

Use wadouri loader and use stackContextPrefetch.enable to load the entire Series, csEnums.Events.IMAGE_LOADED callback, count the number of dcm that have completed loading

The current behavior

chrome took 18 seconds

001.mp4

FireFox took 6 seconds

002.mp4

The expected behavior

Restore loading speed

OS

windows 11

Node version

18.17

Browser

Chrome 131.0.6778.265; FireFox 134.0.1

@sedghi
Copy link
Member

sedghi commented Jan 17, 2025

Hmmm, try in chrome canary, maybe a bug in chrome

@934556826
Copy link
Author

Thanks for your reply. I have downloaded the latest version of Chrome Canary, and the loading speed is still very slow; I also noticed that even if it is loaded twice, reading the DCM file in the network cache is still very slow.

Image

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

No branches or pull requests

2 participants