Repository navigation
[WIP] Upgrade Roc and migrate the homepage to Signals 0.7.0-rc1 - #15
Draft
lukewilliamboswell wants to merge 1 commit into
Draft
lukewilliamboswell wants to merge 1 commit into
lukewilliamboswell wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work in progress. Please keep this in draft while we evaluate homepage startup and the notebook performance changes.
Changes
63434e9and Zig to0.17.1. Rebase the compiler embedding patch and adapt notebook analysis, evaluation, and cache handling to the new compiler APIs. Roc commit0.7.0-rc1. The build prerenders/. Typed ports connect the homepage to browser recents, file opening, and local projects. Signals release notesPreliminary performance
Medians compare this branch with Roclet
8476cc5on one Ryzen 7 9700X running Linux and Chrome 153. Both revisions used their pinned toolchains and ReleaseFast adapters. Browser adapters used LLVM. The new native LLVM build ran out of memory during the comparison, so the native measurements use matched Zig self-hosted builds.The throttled runs used 40 ms added latency and 10 Mbit/s. First-paint ranges overlapped. The generated page already includes prerendered markup, and the runtime fetches the homepage WASM during startup. The page has no asset preload hints. The Signals app WASM accounted for 758 KiB of the gzipped transfer and the runtime another 89 KiB.
Plume worker evaluation rose from 37.7 ms to 56.8 ms. Chart rendering stayed near 5 ms. This comparison includes the Plume dependency upgrade.
The home measurements use nine cold navigations per version and network profile. The workspace measurements use 15 runs with 25 measured edits per workload per run. The native results use 15 fresh processes per workload and version. The Plume results use 21 measured slider changes across three browser sessions per version.
Validation so far
Further evaluation before merge