mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-02 06:33:05 +00:00
fix(app): preserve cumulative browser profiling history
This commit is contained in:
@@ -46,8 +46,7 @@ function createBrowserSink(): RenderSink {
|
||||
globalThis.__PASEO_RENDER_PROFILE__ = [];
|
||||
globalThis.__PASEO_RENDER_PROFILE_REASONS__ = {};
|
||||
};
|
||||
if (globalThis.__PASEO_RENDER_PROFILE__.length >= 2000)
|
||||
globalThis.__PASEO_RENDER_PROFILE__.shift();
|
||||
// Browser QA compares cumulative commit counts until an explicit reset.
|
||||
globalThis.__PASEO_RENDER_PROFILE__.push(sample);
|
||||
},
|
||||
reasons(id, reasons) {
|
||||
|
||||
Reference in New Issue
Block a user