-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
replace rehydration from CSSOM with progressive regex #2872
Conversation
@kitten how can I benchmark this to compare against the existing v5 changes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a big fan of the blanket eslint-disable and the content.split(‘“‘)[1]
in there but logic looks fine and the code is clear 👍
You could just run a large production site (if you have one) and manually compare the loading stack trace. You should be able to observe the rehydration times. If this is as bad as it was before you’ll see a 5-10x regression
Open to suggestions, the eslint disable is just because a basic suppression
wasn’t working for the while assignment
…On Mon, Nov 11, 2019 at 4:39 PM Phil Plückthun ***@***.***> wrote:
***@***.**** commented on this pull request.
Not a big fan of the blanket eslint-disable and the content.split(‘“‘)[1]
in there but logic looks fine and the code is clear 👍
You could just run a large production site (if you have one) and manually
compare the loading stack trace. You should be able to observe the
rehydration times. If this is as bad as it was before you’ll see a 5-10x
regression
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2872?email_source=notifications&email_token=AAELFVWMI7LM5SYAPSUYSBLQTHGHVA5CNFSM4JL25RTKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCLESJMI#pullrequestreview-315172017>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAELFVSGUSMNY5GBVDILSI3QTHGHVANCNFSM4JL25RTA>
.
|
I don’t currently have a large prod app to test it on
…On Mon, Nov 11, 2019 at 4:46 PM Evan Jacobs ***@***.***> wrote:
Open to suggestions, the eslint disable is just because a basic
suppression wasn’t working for the while assignment
On Mon, Nov 11, 2019 at 4:39 PM Phil Plückthun ***@***.***>
wrote:
> ***@***.**** commented on this pull request.
>
> Not a big fan of the blanket eslint-disable and the content.split(‘“‘)[1]
> in there but logic looks fine and the code is clear 👍
>
> You could just run a large production site (if you have one) and manually
> compare the loading stack trace. You should be able to observe the
> rehydration times. If this is as bad as it was before you’ll see a 5-10x
> regression
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#2872?email_source=notifications&email_token=AAELFVWMI7LM5SYAPSUYSBLQTHGHVA5CNFSM4JL25RTKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCLESJMI#pullrequestreview-315172017>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAELFVSGUSMNY5GBVDILSI3QTHGHVANCNFSM4JL25RTA>
> .
>
|
Available to test at |
fixes #2812