-
Notifications
You must be signed in to change notification settings - Fork 412
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
[Regression, View] 2x slower face construction than before #4554
Comments
Happened just after fast-lexer branch merged into master. |
Using a separate block fix it. So something wrong happened in
|
A separate block triggers a single on-change of pane, while adding one by one is 500 on-deep-change events. Regarding line 273, it was there for 4 years so I guess it's not the primary bug cause... |
The cause is that after a series of changes those years, |
|
Woohoo! I love this kind of fix. Here the closing time went from 23'848ms to 1687 ms. Thanks to both of you for finding and digging into this. |
Describe the bug
Happened between May 21st and May 27th, 2020. Didn't bisect more precisely.
Here's the script:
Results on build
red-21may20-398d73317
:Results on build
red-27may20-cfb6d303f
and all the later ones:200% slowdown, 32ms per single face!
Now the similar thing but with faces not really rendered (size: 0x0):
Results on build
red-21may20-398d73317
:Results on build
red-27may20-cfb6d303f
and all the later ones:160% slowdown, 4.3ms per face.
Expected behavior
Let's get the old timings back.
Platform version (please complete the following information)
The text was updated successfully, but these errors were encountered: