You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The EPUB Code du travail.epub contains very large resources (30k+ lines). When opening it with the Test App, loading these resources takes around 20s and sometimes crashes the app which runs out of memory.
Once opened, turning pages can take ~0.5s, with much of the work done in the web view painting step:
Expected behavior
Slowness in paginating mode is to be expected with such large resources. However, it should be laid out much faster.
Lead
There's a bottle neck in the embedded HTTP server. A simple GET request for such resource takes more than 10s outside of the navigator. We want to remove the HTTP server so this issue might eventually fix itself.
What happened?
The EPUB Code du travail.epub contains very large resources (30k+ lines). When opening it with the Test App, loading these resources takes around 20s and sometimes crashes the app which runs out of memory.
Once opened, turning pages can take ~0.5s, with much of the work done in the web view painting step:
Expected behavior
Slowness in paginating mode is to be expected with such large resources. However, it should be laid out much faster.
Lead
There's a bottle neck in the embedded HTTP server. A simple GET request for such resource takes more than 10s outside of the navigator. We want to remove the HTTP server so this issue might eventually fix itself.
Additional context
Bug initially reported by @llemeurfr on Slack: https://readium.slack.com/archives/C703MSTQU/p1644429978110749
Performances are also bad on Thorium, but alright on iOS.
The text was updated successfully, but these errors were encountered: