mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 00:20:28 +01:00
If a Scheduler profile runs without stopping, the event log will grow unbounded. Eventually it will run out of memory and the VM will throw an error. To prevent this from happening, let's automatically stop the profiler once the log exceeds a certain limit. We'll also print a warning with advice to call `stopLoggingProfilingEvents` explicitly. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| transform-object-assign-require.js | ||
| transform-prevent-infinite-loops.js | ||
| wrap-warning-with-env-check.js | ||