Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Why vue seems slower than polymer? #45

Closed
muhajirdev opened this issue May 23, 2017 · 3 comments
Closed

Why vue seems slower than polymer? #45

muhajirdev opened this issue May 23, 2017 · 3 comments

Comments

@muhajirdev
Copy link

I am comparing the speed of polymer and vue, it seems like polymer and much more faster.

Its not just the first paint / interative. I mean when i am clicking around, polymer responds faster. How it could be? Is the implementation different?

@CaptainCodeman
Copy link
Contributor

Using different frameworks would mean the implementations could be significantly different, even if they utilise similar technologies underneath.

@chrisdwheatley
Copy link
Contributor

As @CaptainCodeman mentioned, there can be differences in server infrastructure, patterns used and much more between each implementation meaning these examples shouldn't be used as comparisons between JavaScript frameworks.

There's some great work going on in #42 which will make it clearer how each application is architected and what patterns and technologies are used.

@addyosmani
Copy link
Member

The above answers are indeed correct. The Polymer implementation is using HTTP/2 Server Push, edge-caching and more aggressive code-splitting which combined together have an impact on the over time to interactivity of that implementation. Some of these concepts are also why the Preact implementation is also faster here.

I might suggest opening up an issue on the Vue HN repo about adding support for HTTP/2 Server Push as it would be interesting to see what impact that has on performance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants