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
Background
While stress-testing Zipline for a Server-Driven UI use case, we hit a performance ceiling. At 1,600 LOC, our P90 loading time reached 1.5s, which is prohibitive for our app's UX.
The Issue
My investigation into ZiplineLoader suggests that .zipline files are loaded into memory sequentially. This design constraint creates a linear increase in latency as the codebase grows.
The Question
Has there been any consideration for an approach similar to the React Native Hermes engine (bytecode pre-compilation) to optimize initial load times?
Specifically:
Are there plans to support parallel loading or bytecode-optimized bundles?
Are there recommended patterns to ensure that initial load costs do not increase linearly with the total codebase size?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Background
While stress-testing Zipline for a Server-Driven UI use case, we hit a performance ceiling. At 1,600 LOC, our P90 loading time reached 1.5s, which is prohibitive for our app's UX.
The Issue
My investigation into ZiplineLoader suggests that .zipline files are loaded into memory sequentially. This design constraint creates a linear increase in latency as the codebase grows.
The Question
Has there been any consideration for an approach similar to the React Native Hermes engine (bytecode pre-compilation) to optimize initial load times?
Specifically:
Are there plans to support parallel loading or bytecode-optimized bundles?
Are there recommended patterns to ensure that initial load costs do not increase linearly with the total codebase size?
Beta Was this translation helpful? Give feedback.
All reactions