vuejs / vue-vapor

Vue Vapor is a variant of Vue that offers rendering without the Virtual DOM.
https://vapor-repl.netlify.app
MIT License
1.94k stars 94 forks source link

perf(runtime-vapor): `children` helper #263

Closed LittleSound closed 3 months ago

LittleSound commented 3 months ago

Check the Bench

image

The old plan (for nextSibling) only has a speed advantage when accessing adjacent elements

netlify[bot] commented 3 months ago

Deploy Preview for vapor-template-explorer ready!

Name Link
Latest commit bea59ca4a33233724e8e7c2570361551c24bebf3
Latest deploy log https://app.netlify.com/sites/vapor-template-explorer/deploys/66a489c54906a000080ded7f
Deploy Preview https://deploy-preview-263--vapor-template-explorer.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 3 months ago

Deploy Preview for vapor-repl ready!

Name Link
Latest commit bea59ca4a33233724e8e7c2570361551c24bebf3
Latest deploy log https://app.netlify.com/sites/vapor-repl/deploys/66a489c5469a690008e84e50
Deploy Preview https://deploy-preview-263--vapor-repl.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

github-actions[bot] commented 3 months ago

Size Report

Bundles

File Size Gzip Brotli
compiler-dom.global.prod.js 80.5 kB 28.3 kB 25 kB
compiler-vapor.global.prod.js 56.9 kB 19.4 kB 17.6 kB
runtime-dom.global.prod.js 94.6 kB 35.9 kB 32.4 kB
runtime-vapor.global.prod.js 48 kB (+9 B) 18.1 kB (-7 B) 16.6 kB (-28 B)
vue-vapor.global.prod.js 102 kB (+9 B) 36 kB (-6 B) 32.4 kB (+15 B)
vue.global.prod.js 152 kB 55.8 kB 49.6 kB

Usages

Name Size Gzip Brotli
createApp 54.3 kB 20.9 kB 19.1 kB
createSSRApp 57.9 kB 22.4 kB 20.4 kB
defineCustomElement 56.6 kB 21.7 kB 19.8 kB
vapor 48.6 kB (+9 B) 18.3 kB (-4 B) 16.7 kB (-34 B)
overall 67.9 kB 26 kB 23.6 kB
pkg-pr-new[bot] commented 3 months ago

commit: bea59ca

pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-core@263
pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-dom@263
pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-sfc@263
pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-ssr@263
pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/compiler-vapor@263
pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/reactivity@263
pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/runtime-core@263
pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/runtime-dom@263
pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/runtime-shared@263
pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/runtime-vapor@263
pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/server-renderer@263
pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/shared@263
pnpm add https://pkg.pr.new/vuejs/core-vapor/vue@263
pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/compat@263
pnpm add https://pkg.pr.new/vuejs/core-vapor/@vue/vapor@263

Open in Stackblitzplayground