Skip to content

perf(vapor): pack createIf metadata into flags#14870

Draft
edison1105 wants to merge 1 commit into
minorfrom
edison/perf/createIfSize
Draft

perf(vapor): pack createIf metadata into flags#14870
edison1105 wants to merge 1 commit into
minorfrom
edison/perf/createIfSize

Conversation

@edison1105
Copy link
Copy Markdown
Member

@edison1105 edison1105 commented May 21, 2026

Summary by CodeRabbit

  • Refactor

    • Improved internal handling of conditional directives in Vapor mode with a flags-based encoding system for more efficient code generation.
  • Tests

    • Added comprehensive test coverage for conditional directive behavior, including once-directives, branch handling, and keyed branches.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 21, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 2180c2e5-e39f-4324-a4bc-856fbf8182a6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • ✅ Review completed - (🔄 Check again to review again)
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch edison/perf/createIfSize

Comment @coderabbitai help to get the list of available commands and usage tips.

@edison1105 edison1105 added the scope: vapor related to vapor mode label May 21, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 21, 2026

Open in StackBlitz

@vue/compiler-core

pnpm add https://pkg.pr.new/@vue/compiler-core@14870
npm i https://pkg.pr.new/@vue/compiler-core@14870
yarn add https://pkg.pr.new/@vue/compiler-core@14870.tgz

@vue/compiler-dom

pnpm add https://pkg.pr.new/@vue/compiler-dom@14870
npm i https://pkg.pr.new/@vue/compiler-dom@14870
yarn add https://pkg.pr.new/@vue/compiler-dom@14870.tgz

@vue/compiler-sfc

pnpm add https://pkg.pr.new/@vue/compiler-sfc@14870
npm i https://pkg.pr.new/@vue/compiler-sfc@14870
yarn add https://pkg.pr.new/@vue/compiler-sfc@14870.tgz

@vue/compiler-ssr

pnpm add https://pkg.pr.new/@vue/compiler-ssr@14870
npm i https://pkg.pr.new/@vue/compiler-ssr@14870
yarn add https://pkg.pr.new/@vue/compiler-ssr@14870.tgz

@vue/compiler-vapor

pnpm add https://pkg.pr.new/@vue/compiler-vapor@14870
npm i https://pkg.pr.new/@vue/compiler-vapor@14870
yarn add https://pkg.pr.new/@vue/compiler-vapor@14870.tgz

@vue/reactivity

pnpm add https://pkg.pr.new/@vue/reactivity@14870
npm i https://pkg.pr.new/@vue/reactivity@14870
yarn add https://pkg.pr.new/@vue/reactivity@14870.tgz

@vue/runtime-core

pnpm add https://pkg.pr.new/@vue/runtime-core@14870
npm i https://pkg.pr.new/@vue/runtime-core@14870
yarn add https://pkg.pr.new/@vue/runtime-core@14870.tgz

@vue/runtime-dom

pnpm add https://pkg.pr.new/@vue/runtime-dom@14870
npm i https://pkg.pr.new/@vue/runtime-dom@14870
yarn add https://pkg.pr.new/@vue/runtime-dom@14870.tgz

@vue/runtime-vapor

pnpm add https://pkg.pr.new/@vue/runtime-vapor@14870
npm i https://pkg.pr.new/@vue/runtime-vapor@14870
yarn add https://pkg.pr.new/@vue/runtime-vapor@14870.tgz

@vue/server-renderer

pnpm add https://pkg.pr.new/@vue/server-renderer@14870
npm i https://pkg.pr.new/@vue/server-renderer@14870
yarn add https://pkg.pr.new/@vue/server-renderer@14870.tgz

@vue/shared

pnpm add https://pkg.pr.new/@vue/shared@14870
npm i https://pkg.pr.new/@vue/shared@14870
yarn add https://pkg.pr.new/@vue/shared@14870.tgz

vue

pnpm add https://pkg.pr.new/vue@14870
npm i https://pkg.pr.new/vue@14870
yarn add https://pkg.pr.new/vue@14870.tgz

@vue/compat

pnpm add https://pkg.pr.new/@vue/compat@14870
npm i https://pkg.pr.new/@vue/compat@14870
yarn add https://pkg.pr.new/@vue/compat@14870.tgz

commit: 32f7539

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: vapor related to vapor mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant