Page MenuHomePhabricator

Preliminary performance evaluation of vue.js
Closed, ResolvedPublic

Description

Provide a rough overview of the performance impact of using vue.js. There are two relevant parts to this:

  • time added to page loading / initialization (size of file to load, initialization time, etc)
  • impact on cpu and memory usage on the client

No comprehensive measurements are needed at this point, just some ballpark figures, and some information on how this compares to other frameworks.

Event Timeline

I think there were some evaluations done on the hackathon:

image.png (360×484 px, 16 KB)

image.png (362×494 px, 15 KB)

(read document here)

@Jan_Dittrich Ah, thank you! In that document, there is also a size comparison:

Preact
8,112 preact.min.js
4,570 preact-router.js
6,999 redux.min.js
Total: 19K

Vue
23,189 vue-router.min.js
56,492 vue.runtime.min.js
10,509 vuex.min.js
Total: 90K

Thanks. What also applies aside of pure size/performance is sustainability of the project. While Preact is impressive, I don't know how it is backed and in particular, how they plan to keep up (or not) with react’s API changes.

Lydia_Pintscher moved this task from incoming to ready to go on the Wikidata board.

@Jan_Dittrich does this ticket refer to the JS bit of vue JS only?
If so, can we close this as done?

Jan_Dittrich claimed this task.

@Addshore Yes, JS bit only.