Skip to content
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

[flags] Delete enableDebugTracing #31780

Merged
merged 2 commits into from
Dec 15, 2024

Conversation

rickhanlonii
Copy link
Member

This is unused, even in the one builds that uses it, and we don't plan on landing it in this form.

Copy link

vercel bot commented Dec 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 14, 2024 6:03pm

export const ProfileMode = /* */ 0b0000010;
export const DebugTracingMode = /* */ 0b0000100;
export const ProfileMode = /* */ 0b0000010;
//export const DebugTracingMode = /* */ 0b0000100; // Removed
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sebmarkbage @acdlite when we delete a mode, should we shift the bits or is there a good reason to keep the slot (maybe DevTools needs to match up, for example idk)?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@react-sizebot
Copy link

Comparing: 0d67cc0...bd07780

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.68 kB 6.68 kB = 1.83 kB 1.83 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 510.72 kB 510.68 kB = 91.48 kB 91.47 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.69 kB 6.69 kB +0.05% 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 515.66 kB 515.62 kB = 92.19 kB 92.18 kB
facebook-www/ReactDOM-prod.classic.js = 595.04 kB 594.76 kB = 105.00 kB 104.95 kB
facebook-www/ReactDOM-prod.modern.js = 585.31 kB 585.03 kB = 103.44 kB 103.38 kB
facebook-www/ReactIs-dev.classic.js = 6.55 kB 6.34 kB = 1.41 kB 1.37 kB
facebook-www/ReactIs-dev.modern.js = 6.55 kB 6.34 kB = 1.41 kB 1.37 kB
facebook-www/ReactIs-prod.classic.js = 5.94 kB 5.74 kB = 1.39 kB 1.34 kB
facebook-www/ReactIs-prod.modern.js = 5.94 kB 5.74 kB = 1.39 kB 1.34 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
facebook-react-native/react/cjs/React-dev.js = 66.37 kB 66.22 kB = 14.59 kB 14.57 kB
oss-experimental/react/cjs/react.development.js = 45.64 kB 45.49 kB = 10.43 kB 10.39 kB
oss-experimental/react/cjs/react.react-server.development.js = 35.99 kB 35.85 kB = 8.52 kB 8.48 kB
facebook-www/React-dev.classic.js = 71.07 kB 70.78 kB = 15.44 kB 15.38 kB
facebook-www/React-dev.modern.js = 71.07 kB 70.78 kB = 15.44 kB 15.38 kB
facebook-www/ReactDOMTesting-dev.classic.js = 1,095.75 kB 1,089.22 kB = 184.40 kB 183.05 kB
facebook-www/ReactDOMTesting-dev.modern.js = 1,086.30 kB 1,079.77 kB = 182.61 kB 181.28 kB
facebook-www/ReactDOM-dev.classic.js = 1,078.85 kB 1,072.31 kB = 180.46 kB 179.11 kB
facebook-www/ReactDOM-dev.modern.js = 1,069.39 kB 1,062.86 kB = 178.67 kB 177.35 kB
facebook-www/React-profiling.classic.js = 21.33 kB 21.20 kB = 5.42 kB 5.39 kB
facebook-www/React-profiling.modern.js = 21.33 kB 21.19 kB = 5.42 kB 5.39 kB
facebook-www/React-prod.classic.js = 20.90 kB 20.76 kB = 5.34 kB 5.31 kB
facebook-www/React-prod.modern.js = 20.90 kB 20.76 kB = 5.34 kB 5.30 kB
facebook-react-native/react/cjs/React-profiling.js = 19.76 kB 19.62 kB = 5.09 kB 5.06 kB
facebook-react-native/react/cjs/React-prod.js = 19.33 kB 19.19 kB = 5.01 kB 4.98 kB
oss-experimental/react/cjs/react.react-server.production.js = 18.66 kB 18.52 kB = 4.96 kB 4.92 kB
oss-experimental/react/cjs/react.production.js = 18.12 kB 17.98 kB = 4.70 kB 4.66 kB
facebook-www/JSXDEVRuntime-dev.classic.js = 28.19 kB 27.97 kB = 6.62 kB 6.57 kB
facebook-www/JSXDEVRuntime-dev.modern.js = 28.19 kB 27.97 kB = 6.62 kB 6.57 kB
facebook-www/ReactReconciler-dev.classic.js = 744.27 kB 737.86 kB = 117.90 kB 116.59 kB
facebook-www/ReactReconciler-dev.modern.js = 734.76 kB 728.34 kB = 116.09 kB 114.80 kB
facebook-www/ReactART-dev.classic.js = 659.08 kB 652.71 kB = 105.27 kB 104.00 kB
facebook-www/ReactART-dev.modern.js = 649.19 kB 642.82 kB = 103.30 kB 102.00 kB
facebook-www/ReactIs-dev.classic.js = 6.55 kB 6.34 kB = 1.41 kB 1.37 kB
facebook-www/ReactIs-dev.modern.js = 6.55 kB 6.34 kB = 1.41 kB 1.37 kB
facebook-www/ReactIs-prod.classic.js = 5.94 kB 5.74 kB = 1.39 kB 1.34 kB
facebook-www/ReactIs-prod.modern.js = 5.94 kB 5.74 kB = 1.39 kB 1.34 kB

Generated by 🚫 dangerJS against db8ff7f

@rickhanlonii rickhanlonii merged commit 2d32056 into facebook:main Dec 15, 2024
187 checks passed
@rickhanlonii rickhanlonii deleted the rh/rm-ff-debug-tracing branch December 15, 2024 17:16
github-actions bot pushed a commit that referenced this pull request Dec 15, 2024
This is unused, even in the one builds that uses it, and we don't plan
on landing it in this form.

DiffTrain build for [2d32056](2d32056)
github-actions bot pushed a commit that referenced this pull request Dec 15, 2024
This is unused, even in the one builds that uses it, and we don't plan
on landing it in this form.

DiffTrain build for [2d32056](2d32056)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants