GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Revert "[Scheduler] Profiling features (#16145)" (#16392) · react/react@4ba1412

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .eslintrc.js
  • packages
    • react-reconciler/src/__tests__
      • ReactIncrementalPerf-test.internal.js
    • scheduler
      • npm/umd
        • scheduler.development.js
        • scheduler.production.min.js
        • scheduler.profiling.min.js
      • src
        • Scheduler.js
        • SchedulerFeatureFlags.js
        • SchedulerPriorities.js
        • SchedulerProfiling.js
        • __tests__
          • SchedulerDOM-test.js
          • SchedulerProfiling-test.js
        • forks
          • SchedulerFeatureFlags.www.js
          • SchedulerHostConfig.default.js
  • scripts/rollup
    • bundles.js
    • validate
      • eslintrc.cjs.js
      • eslintrc.fb.js
      • eslintrc.rn.js
      • eslintrc.umd.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.eslintrc.js‎

Copy file name to clipboardExpand all lines: .eslintrc.js
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ module.exports = {
142142
],
143143

144144
globals: {
145-
SharedArrayBuffer: true,
146-
147145
spyOnDev: true,
148146
spyOnDevAndProd: true,
149147
spyOnProd: true,
Collapse file

‎packages/react-reconciler/src/__tests__/ReactIncrementalPerf-test.internal.js‎

Copy file name to clipboardExpand all lines: packages/react-reconciler/src/__tests__/ReactIncrementalPerf-test.internal.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ describe('ReactDebugFiberPerf', () => {
136136
require('shared/ReactFeatureFlags').enableProfilerTimer = false;
137137
require('shared/ReactFeatureFlags').replayFailedUnitOfWorkWithInvokeGuardedCallback = false;
138138
require('shared/ReactFeatureFlags').debugRenderPhaseSideEffectsForStrictMode = false;
139-
require('scheduler/src/SchedulerFeatureFlags').enableProfiling = false;
140139

141140
// Import after the polyfill is set up:
142141
React = require('react');
Collapse file

‎packages/scheduler/npm/umd/scheduler.development.js‎

Copy file name to clipboardExpand all lines: packages/scheduler/npm/umd/scheduler.development.js
-20Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -110,20 +110,6 @@
110110
);
111111
}
112112

113-
function unstable_startLoggingProfilingEvents() {
114-
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler.unstable_startLoggingProfilingEvents.apply(
115-
this,
116-
arguments
117-
);
118-
}
119-
120-
function unstable_stopLoggingProfilingEvents() {
121-
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler.unstable_stopLoggingProfilingEvents.apply(
122-
this,
123-
arguments
124-
);
125-
}
126-
127113
return Object.freeze({
128114
unstable_now: unstable_now,
129115
unstable_scheduleCallback: unstable_scheduleCallback,
@@ -138,8 +124,6 @@
138124
unstable_pauseExecution: unstable_pauseExecution,
139125
unstable_getFirstCallbackNode: unstable_getFirstCallbackNode,
140126
unstable_forceFrameRate: unstable_forceFrameRate,
141-
unstable_startLoggingProfilingEvents: unstable_startLoggingProfilingEvents,
142-
unstable_stopLoggingProfilingEvents: unstable_stopLoggingProfilingEvents,
143127
get unstable_IdlePriority() {
144128
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
145129
.Scheduler.unstable_IdlePriority;
@@ -160,9 +144,5 @@
160144
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
161145
.Scheduler.unstable_UserBlockingPriority;
162146
},
163-
get unstable_sharedProfilingBuffer() {
164-
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
165-
.Scheduler.unstable_getFirstCallbackNode;
166-
},
167147
});
168148
});
Collapse file

‎packages/scheduler/npm/umd/scheduler.production.min.js‎

Copy file name to clipboardExpand all lines: packages/scheduler/npm/umd/scheduler.production.min.js
-20Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,6 @@
104104
);
105105
}
106106

107-
function unstable_startLoggingProfilingEvents() {
108-
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler.unstable_startLoggingProfilingEvents.apply(
109-
this,
110-
arguments
111-
);
112-
}
113-
114-
function unstable_stopLoggingProfilingEvents() {
115-
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler.unstable_stopLoggingProfilingEvents.apply(
116-
this,
117-
arguments
118-
);
119-
}
120-
121107
return Object.freeze({
122108
unstable_now: unstable_now,
123109
unstable_scheduleCallback: unstable_scheduleCallback,
@@ -132,8 +118,6 @@
132118
unstable_pauseExecution: unstable_pauseExecution,
133119
unstable_getFirstCallbackNode: unstable_getFirstCallbackNode,
134120
unstable_forceFrameRate: unstable_forceFrameRate,
135-
unstable_startLoggingProfilingEvents: unstable_startLoggingProfilingEvents,
136-
unstable_stopLoggingProfilingEvents: unstable_stopLoggingProfilingEvents,
137121
get unstable_IdlePriority() {
138122
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
139123
.Scheduler.unstable_IdlePriority;
@@ -154,9 +138,5 @@
154138
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
155139
.Scheduler.unstable_UserBlockingPriority;
156140
},
157-
get unstable_sharedProfilingBuffer() {
158-
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
159-
.Scheduler.unstable_getFirstCallbackNode;
160-
},
161141
});
162142
});
Collapse file

‎packages/scheduler/npm/umd/scheduler.profiling.min.js‎

Copy file name to clipboardExpand all lines: packages/scheduler/npm/umd/scheduler.profiling.min.js
-20Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,6 @@
104104
);
105105
}
106106

107-
function unstable_startLoggingProfilingEvents() {
108-
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler.unstable_startLoggingProfilingEvents.apply(
109-
this,
110-
arguments
111-
);
112-
}
113-
114-
function unstable_stopLoggingProfilingEvents() {
115-
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Scheduler.unstable_stopLoggingProfilingEvents.apply(
116-
this,
117-
arguments
118-
);
119-
}
120-
121107
return Object.freeze({
122108
unstable_now: unstable_now,
123109
unstable_scheduleCallback: unstable_scheduleCallback,
@@ -132,8 +118,6 @@
132118
unstable_pauseExecution: unstable_pauseExecution,
133119
unstable_getFirstCallbackNode: unstable_getFirstCallbackNode,
134120
unstable_forceFrameRate: unstable_forceFrameRate,
135-
unstable_startLoggingProfilingEvents: unstable_startLoggingProfilingEvents,
136-
unstable_stopLoggingProfilingEvents: unstable_stopLoggingProfilingEvents,
137121
get unstable_IdlePriority() {
138122
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
139123
.Scheduler.unstable_IdlePriority;
@@ -154,9 +138,5 @@
154138
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
155139
.Scheduler.unstable_UserBlockingPriority;
156140
},
157-
get unstable_sharedProfilingBuffer() {
158-
return global.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
159-
.Scheduler.unstable_getFirstCallbackNode;
160-
},
161141
});
162142
});

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.