-
-
Notifications
You must be signed in to change notification settings - Fork 968
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
Speed up the rendering process #2034
Comments
Btw riot@next appears to be twice faster than the riot@2 but I am still not 100% happy |
Are you using the chrome devtool profiler? It could be useful to know where most time is spent https://i.imgsafe.org/8189f62f89.jpg |
Your test uses an
A while back I was kicking around the idea of "tag stamping" to avoid some of the redundant work here. Basically you'd do It's a pretty major change though, and I didn't really want to work on it until riot 3 was out. |
Thanks @rogueg for your answer, I have also detected the
@rogueg I think we could already work on it for the following reasons:
|
Are the numbers in the OP the latest numbers? |
I think the compiler will took ~4 weeks. The tags can be instances of a real prototype created by the compiler. The compiler must emit (almost) pure JS-precompiled code as low-level instructions to the render machine (pluggable?), see (this comment)[https://github.com//issues/2283#issuecomment-308052204] and note the I'm not sure yet where to get |
the riot loops rendering was heavily improved and the tests above show almost equivalent values across all the libraries except for polymer that has a really slow boot. I am closing this issue moving forward |
According to my tests riot is too slow during the rendering and mounting process
All tests were done on Firefox 54
The text was updated successfully, but these errors were encountered: