feat: more async work + prefer Stream over Enum#3008
Open
thecristen wants to merge 5 commits intomainfrom
Open
feat: more async work + prefer Stream over Enum#3008thecristen wants to merge 5 commits intomainfrom
Stream over Enum#3008thecristen wants to merge 5 commits intomainfrom
Conversation
Collaborator
Author
|
Okay I was having trouble getting multiple load tests to give me the report format I wanted, but can also compare in other ways:
Using a script like this.. I can compare time to establish the connection, time to first byte (measures the time between starting navigating to a page and when the first byte of a response begins to arrive), and total time (lower times are better)
|
lvachon1
approved these changes
Mar 12, 2026
Contributor
lvachon1
left a comment
There was a problem hiding this comment.
It certainly feels a lot faster, what a difference!
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.
Scope
Asana Ticket: 📅🔎 Investigate + identify SF 2.0 performance improvements
Implementation
Enumfunctions withStreamactually does a lot.LiveComponentto implement it), along with some minor attempted UI improvements so we can more easily see when the page changes behind the popovers 😅ScreenshotsI did record a few flamegraphs to help point me in the right direction for functions to target. I'm not sure if sharing them in isolation would be useful here, but..
A before and (intermediate) after for the curious
How to test
I'm going to deploy this, so you can play with it in that environment or locally, honestly navigating routes/stops and loading information should feel tangibly faster.
Since the load testing script automatically records average load times and such, I'm going to run another test and compare the numbers.