Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

chore(perf): recapture the browser baseline

Josh Corbett3f0606d5de3b
diff --git a/invokeai/frontend/webv2/performance/browser-baseline.json b/invokeai/frontend/webv2/performance/browser-baseline.json
index 85b0ca6627..6a295d1134 100644
--- a/invokeai/frontend/webv2/performance/browser-baseline.json
+++ b/invokeai/frontend/webv2/performance/browser-baseline.json
@@ -25,13 +25,13 @@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 116.79999999701977,
+ "domContentLoadedMedianMs": 116.20000000298023,
"id": "launchpad",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 116.79999999701977,
- "longestTaskMaxMs": 69,
+ "loadMedianMs": 116.39999999850988,
+ "longestTaskMaxMs": 68,
"owner": "app",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:launchpad",
@@ -41,24 +41,24 @@
"fontRawBytes": 23664,
"imageRawBytes": 0,
"largestAssetRawBytes": 747209,
- "otherRawBytes": 150650,
+ "otherRawBytes": 150608,
"requestCount": 39,
"scriptRawBytes": 1676948,
"scriptRequestCount": 35,
- "totalRawBytes": 1853421
+ "totalRawBytes": 1853379
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 0,
"largestAssetRawBytes": 754682,
- "otherRawBytes": 152157,
+ "otherRawBytes": 152115,
"requestCount": 39,
"scriptRawBytes": 1693718,
"scriptRequestCount": 35,
- "totalRawBytes": 1871956
+ "totalRawBytes": 1871913
},
- "routeReadyMedianMs": 260.19999999552965,
+ "routeReadyMedianMs": 260.80000000447035,
"scriptSourceOwnerSet": "launchpad-static",
"stateProfile": "empty"
},
@@ -85,13 +85,13 @@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 117.89999999850988,
+ "domContentLoadedMedianMs": 118.5,
"id": "launchpad",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 118,
- "longestTaskMaxMs": 69,
+ "loadMedianMs": 118.60000000149012,
+ "longestTaskMaxMs": 74,
"owner": "app",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:launchpad",
@@ -101,24 +101,24 @@
"fontRawBytes": 23664,
"imageRawBytes": 0,
"largestAssetRawBytes": 747209,
- "otherRawBytes": 150650,
+ "otherRawBytes": 150608,
"requestCount": 39,
"scriptRawBytes": 1676948,
"scriptRequestCount": 35,
- "totalRawBytes": 1853421
+ "totalRawBytes": 1853379
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 0,
"largestAssetRawBytes": 754682,
- "otherRawBytes": 152157,
+ "otherRawBytes": 152115,
"requestCount": 39,
"scriptRawBytes": 1693718,
"scriptRequestCount": 35,
- "totalRawBytes": 1871956
+ "totalRawBytes": 1871913
},
- "routeReadyMedianMs": 271.8999999985099,
+ "routeReadyMedianMs": 280.20000000298023,
"scriptSourceOwnerSet": "launchpad-static",
"stateProfile": "representative"
},
@@ -145,15 +145,15 @@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 117.20000000298023,
+ "domContentLoadedMedianMs": 116.69999999552965,
"id": "editor-minimal",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 117.30000000447035,
- "longestTaskMaxMs": 126,
+ "loadMedianMs": 116.89999999850988,
+ "longestTaskMaxMs": 130,
"owner": "workbench",
- "projectSwitchMedianMs": 37.79999999701977,
+ "projectSwitchMedianMs": 38.30000000447035,
"readyMark": "invokeai:ready:widget:center:preview",
"remediationTicket": "deepen-widget-registry-loading",
"resourceBaseline": {
@@ -161,24 +161,24 @@
"fontRawBytes": 23664,
"imageRawBytes": 156376,
"largestAssetRawBytes": 747209,
- "otherRawBytes": 150650,
+ "otherRawBytes": 150608,
"requestCount": 122,
- "scriptRawBytes": 3507724,
+ "scriptRawBytes": 3511549,
"scriptRequestCount": 117,
- "totalRawBytes": 3840573
+ "totalRawBytes": 3844356
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
"largestAssetRawBytes": 754682,
- "otherRawBytes": 152157,
+ "otherRawBytes": 152115,
"requestCount": 122,
- "scriptRawBytes": 3542802,
+ "scriptRawBytes": 3546665,
"scriptRequestCount": 117,
- "totalRawBytes": 3878979
+ "totalRawBytes": 3882800
},
- "routeReadyMedianMs": 424.29999999701977,
+ "routeReadyMedianMs": 427,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "empty"
},
@@ -205,15 +205,15 @@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 116.60000000149012,
+ "domContentLoadedMedianMs": 119,
"id": "editor-minimal",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 116.70000000298023,
- "longestTaskMaxMs": 144,
+ "loadMedianMs": 119.19999999552965,
+ "longestTaskMaxMs": 123,
"owner": "workbench",
- "projectSwitchMedianMs": 42.70000000298023,
+ "projectSwitchMedianMs": 43.20000000298023,
"readyMark": "invokeai:ready:widget:center:preview",
"remediationTicket": "deepen-widget-registry-loading",
"resourceBaseline": {
@@ -221,24 +221,24 @@
"fontRawBytes": 23664,
"imageRawBytes": 156376,
"largestAssetRawBytes": 747209,
- "otherRawBytes": 150650,
+ "otherRawBytes": 150608,
"requestCount": 122,
- "scriptRawBytes": 3507724,
+ "scriptRawBytes": 3511549,
"scriptRequestCount": 117,
- "totalRawBytes": 3840573
+ "totalRawBytes": 3844356
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
"largestAssetRawBytes": 754682,
- "otherRawBytes": 152157,
+ "otherRawBytes": 152115,
"requestCount": 122,
- "scriptRawBytes": 3542802,
+ "scriptRawBytes": 3546665,
"scriptRequestCount": 117,
- "totalRawBytes": 3878979
+ "totalRawBytes": 3882800
},
- "routeReadyMedianMs": 430.1000000014901,
+ "routeReadyMedianMs": 434.1000000014901,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "representative"
},
@@ -265,13 +265,13 @@
"scriptRequestCount": 10,
"totalRawBytes": 506659
},
- "domContentLoadedMedianMs": 117.29999999701977,
+ "domContentLoadedMedianMs": 118.09999999403954,
"id": "editor-canvas",
- "layoutAckMedianMs": 2.1999999955296516,
+ "layoutAckMedianMs": 2.3000000044703484,
"layoutReturnSwitchMedianMs": 56.69999999552965,
- "layoutSwitchMedianMs": 92.69999999552965,
- "loadMedianMs": 117.39999999850988,
- "longestTaskMaxMs": 137,
+ "layoutSwitchMedianMs": 83.80000000447035,
+ "loadMedianMs": 118.29999999701977,
+ "longestTaskMaxMs": 138,
"owner": "canvas",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:canvas",
@@ -281,24 +281,24 @@
"fontRawBytes": 23664,
"imageRawBytes": 156376,
"largestAssetRawBytes": 747209,
- "otherRawBytes": 150650,
+ "otherRawBytes": 150608,
"requestCount": 132,
- "scriptRawBytes": 4009366,
+ "scriptRawBytes": 4013191,
"scriptRequestCount": 127,
- "totalRawBytes": 4342215
+ "totalRawBytes": 4345998
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
"largestAssetRawBytes": 754682,
- "otherRawBytes": 152157,
+ "otherRawBytes": 152115,
"requestCount": 132,
- "scriptRawBytes": 4049460,
+ "scriptRawBytes": 4053323,
"scriptRequestCount": 127,
- "totalRawBytes": 4385638
+ "totalRawBytes": 4389458
},
- "routeReadyMedianMs": 1108.8000000044703,
+ "routeReadyMedianMs": 1114.5,
"scriptSourceOwnerSet": "editor-canvas-static",
"stateProfile": "empty"
},
@@ -325,13 +325,13 @@
"scriptRequestCount": 10,
"totalRawBytes": 506659
},
- "domContentLoadedMedianMs": 115.10000000149012,
+ "domContentLoadedMedianMs": 118.79999999701977,
"id": "editor-canvas",
- "layoutAckMedianMs": 2.899999998509884,
- "layoutReturnSwitchMedianMs": 52.80000000447035,
- "layoutSwitchMedianMs": 84.29999999701977,
- "loadMedianMs": 115.29999999701977,
- "longestTaskMaxMs": 191,
+ "layoutAckMedianMs": 3.0999999940395355,
+ "layoutReturnSwitchMedianMs": 51.20000000298023,
+ "layoutSwitchMedianMs": 77,
+ "loadMedianMs": 118.89999999850988,
+ "longestTaskMaxMs": 182,
"owner": "canvas",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:canvas",
@@ -341,24 +341,24 @@
"fontRawBytes": 23664,
"imageRawBytes": 156376,
"largestAssetRawBytes": 747209,
- "otherRawBytes": 150650,
+ "otherRawBytes": 150608,
"requestCount": 132,
- "scriptRawBytes": 4009366,
+ "scriptRawBytes": 4013191,
"scriptRequestCount": 127,
- "totalRawBytes": 4342215
+ "totalRawBytes": 4345998
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
"largestAssetRawBytes": 754682,
- "otherRawBytes": 152157,
+ "otherRawBytes": 152115,
"requestCount": 132,
- "scriptRawBytes": 4049460,
+ "scriptRawBytes": 4053323,
"scriptRequestCount": 127,
- "totalRawBytes": 4385638
+ "totalRawBytes": 4389458
},
- "routeReadyMedianMs": 1095.6999999955297,
+ "routeReadyMedianMs": 1118.8999999985099,
"scriptSourceOwnerSet": "editor-canvas-static",
"stateProfile": "representative"
},
@@ -385,13 +385,13 @@
"scriptRequestCount": 6,
"totalRawBytes": 387528
},
- "domContentLoadedMedianMs": 115,
+ "domContentLoadedMedianMs": 119.5,
"id": "editor-workflow",
- "layoutAckMedianMs": 2.399999998509884,
- "layoutReturnSwitchMedianMs": 32.100000001490116,
- "layoutSwitchMedianMs": 89.40000000596046,
- "loadMedianMs": 115.19999999552965,
- "longestTaskMaxMs": 122,
+ "layoutAckMedianMs": 2.4000000059604645,
+ "layoutReturnSwitchMedianMs": 32.20000000298023,
+ "layoutSwitchMedianMs": 87.80000000447035,
+ "loadMedianMs": 119.69999999552965,
+ "longestTaskMaxMs": 121,
"owner": "workflow",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:workflow",
@@ -401,24 +401,24 @@
"fontRawBytes": 23664,
"imageRawBytes": 156376,
"largestAssetRawBytes": 747209,
- "otherRawBytes": 150650,
+ "otherRawBytes": 150608,
"requestCount": 129,
- "scriptRawBytes": 3876002,
+ "scriptRawBytes": 3879827,
"scriptRequestCount": 123,
- "totalRawBytes": 4224264
+ "totalRawBytes": 4228047
},
"resourceLimits": {
"cssRawBytes": 17748,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
"largestAssetRawBytes": 754682,
- "otherRawBytes": 152157,
+ "otherRawBytes": 152115,
"requestCount": 129,
- "scriptRawBytes": 3914763,
+ "scriptRawBytes": 3918626,
"scriptRequestCount": 123,
- "totalRawBytes": 4266507
+ "totalRawBytes": 4270328
},
- "routeReadyMedianMs": 1106,
+ "routeReadyMedianMs": 1104.7999999970198,
"scriptSourceOwnerSet": "editor-workflow-static",
"stateProfile": "empty"
},
@@ -445,13 +445,13 @@
"scriptRequestCount": 6,
"totalRawBytes": 387528
},
- "domContentLoadedMedianMs": 115.69999999552965,
+ "domContentLoadedMedianMs": 116.69999999552965,
"id": "editor-workflow",
- "layoutAckMedianMs": 3.3000000044703484,
- "layoutReturnSwitchMedianMs": 38.20000000298023,
- "layoutSwitchMedianMs": 122.10000000149012,
- "loadMedianMs": 115.79999999701977,
- "longestTaskMaxMs": 353,
+ "layoutAckMedianMs": 3.2999999970197678,
+ "layoutReturnSwitchMedianMs": 39.70000000298023,
+ "layoutSwitchMedianMs": 127.09999999403954,
+ "loadMedianMs": 116.79999999701977,
+ "longestTaskMaxMs": 367,
"owner": "workflow",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:workflow",
@@ -461,24 +461,24 @@
"fontRawBytes": 23664,
"imageRawBytes": 156376,
"largestAssetRawBytes": 747209,
- "otherRawBytes": 150650,
+ "otherRawBytes": 150608,
"requestCount": 129,
- "scriptRawBytes": 3876002,
+ "scriptRawBytes": 3879827,
"scriptRequestCount": 123,
- "totalRawBytes": 4224264
+ "totalRawBytes": 4228047
},
"resourceLimits": {
"cssRawBytes": 17748,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
"largestAssetRawBytes": 754682,
- "otherRawBytes": 152157,
+ "otherRawBytes": 152115,
"requestCount": 129,
- "scriptRawBytes": 3914763,
+ "scriptRawBytes": 3918626,
"scriptRequestCount": 123,
- "totalRawBytes": 4266507
+ "totalRawBytes": 4270328
},
- "routeReadyMedianMs": 1141.3999999985099,
+ "routeReadyMedianMs": 1149.8999999985099,
"scriptSourceOwnerSet": "editor-workflow-static",
"stateProfile": "representative"
},
@@ -505,13 +505,13 @@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 115.89999999850988,
+ "domContentLoadedMedianMs": 114.20000000298023,
"id": "editor-gallery",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
- "layoutSwitchMedianMs": 24.200000002980232,
- "loadMedianMs": 115.89999999850988,
- "longestTaskMaxMs": 127,
+ "layoutSwitchMedianMs": 24.700000002980232,
+ "loadMedianMs": 114.39999999850988,
+ "longestTaskMaxMs": 126,
"owner": "gallery",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:gallery",
@@ -521,24 +521,24 @@
"fontRawBytes": 23664,
"imageRawBytes": 156376,
"largestAssetRawBytes": 747209,
- "otherRawBytes": 150650,
+ "otherRawBytes": 150608,
"requestCount": 122,
- "scriptRawBytes": 3507724,
+ "scriptRawBytes": 3511549,
"scriptRequestCount": 117,
- "totalRawBytes": 3840573
+ "totalRawBytes": 3844356
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
"largestAssetRawBytes": 754682,
- "otherRawBytes": 152157,
+ "otherRawBytes": 152115,
"requestCount": 122,
- "scriptRawBytes": 3542802,
+ "scriptRawBytes": 3546665,
"scriptRequestCount": 117,
- "totalRawBytes": 3878979
+ "totalRawBytes": 3882800
},
- "routeReadyMedianMs": 1312.4000000059605,
+ "routeReadyMedianMs": 1309.3999999985099,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "empty"
},
@@ -565,13 +565,13 @@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 117.10000000149012,
+ "domContentLoadedMedianMs": 116.30000000447035,
"id": "editor-gallery",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
- "layoutSwitchMedianMs": 33,
- "loadMedianMs": 117.20000000298023,
- "longestTaskMaxMs": 117,
+ "layoutSwitchMedianMs": 32.900000005960464,
+ "loadMedianMs": 116.40000000596046,
+ "longestTaskMaxMs": 116,
"owner": "gallery",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:gallery",
@@ -581,24 +581,24 @@
"fontRawBytes": 23664,
"imageRawBytes": 156376,
"largestAssetRawBytes": 747209,
- "otherRawBytes": 150650,
+ "otherRawBytes": 150608,
"requestCount": 122,
- "scriptRawBytes": 3507724,
+ "scriptRawBytes": 3511549,
"scriptRequestCount": 117,
- "totalRawBytes": 3840573
+ "totalRawBytes": 3844356
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
"largestAssetRawBytes": 754682,
- "otherRawBytes": 152157,
+ "otherRawBytes": 152115,
"requestCount": 122,
- "scriptRawBytes": 3542802,
+ "scriptRawBytes": 3546665,
"scriptRequestCount": 117,
- "totalRawBytes": 3878979
+ "totalRawBytes": 3882800
},
- "routeReadyMedianMs": 1329.2000000029802,
+ "routeReadyMedianMs": 1329.0999999940395,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "representative"
}
@@ -1087,6 +1087,7 @@
"source:src/features/gallery/data/queryCache.ts",
"source:src/features/gallery/data/videoUrls.ts",
"source:src/features/gallery/index.ts",
+ "source:src/features/gallery/mediaSlot.ts",
"source:src/features/gallery/picker.ts",
"source:src/features/gallery/queries.ts",
"source:src/features/gallery/react.ts",
@@ -1127,6 +1128,7 @@
"source:src/features/gallery/ui/galleryGridLayout.ts",
"source:src/features/gallery/ui/galleryMenuIds.ts",
"source:src/features/gallery/ui/galleryStateView.ts",
+ "source:src/features/gallery/ui/picker/GalleryMediaSlot.tsx",
"source:src/features/gallery/ui/picker/GalleryPickerPopover.tsx",
"source:src/features/gallery/ui/useGalleryActions.ts",
"source:src/features/gallery/ui/useGalleryData.ts",
@@ -2094,6 +2096,7 @@
"source:src/features/gallery/data/queryCache.ts",
"source:src/features/gallery/data/videoUrls.ts",
"source:src/features/gallery/index.ts",
+ "source:src/features/gallery/mediaSlot.ts",
"source:src/features/gallery/picker.ts",
"source:src/features/gallery/queries.ts",
"source:src/features/gallery/react.ts",
@@ -2134,6 +2137,7 @@
"source:src/features/gallery/ui/galleryGridLayout.ts",
"source:src/features/gallery/ui/galleryMenuIds.ts",
"source:src/features/gallery/ui/galleryStateView.ts",
+ "source:src/features/gallery/ui/picker/GalleryMediaSlot.tsx",
"source:src/features/gallery/ui/picker/GalleryPickerPopover.tsx",
"source:src/features/gallery/ui/useGalleryActions.ts",
"source:src/features/gallery/ui/useGalleryData.ts",
@@ -3270,6 +3274,7 @@
"source:src/features/gallery/data/queryCache.ts",
"source:src/features/gallery/data/videoUrls.ts",
"source:src/features/gallery/index.ts",
+ "source:src/features/gallery/mediaSlot.ts",
"source:src/features/gallery/picker.ts",
"source:src/features/gallery/queries.ts",
"source:src/features/gallery/react.ts",
@@ -3310,6 +3315,7 @@
"source:src/features/gallery/ui/galleryGridLayout.ts",
"source:src/features/gallery/ui/galleryMenuIds.ts",
"source:src/features/gallery/ui/galleryStateView.ts",
+ "source:src/features/gallery/ui/picker/GalleryMediaSlot.tsx",
"source:src/features/gallery/ui/picker/GalleryPickerPopover.tsx",
"source:src/features/gallery/ui/useGalleryActions.ts",
"source:src/features/gallery/ui/useGalleryData.ts",