# Model DB PR <details><summary>Create a notebook</summary> Memory change: -11.6 kB Leak detected: No Leaking objects: | Object | # added | Retained size increase | | --- | --- | --- | | Awareness | 1 | +328 B | | Context | 1 | +1.54 kB | | DefaultMap | 1 | +109 B | | Detached HTMLUListElement | 1 | +3.06 kB | | Doc | 1 | +2.27 kB | | GC | 1 | +28 B | | NotebookModel | 1 | +239 B | | ObservableJSON | 1 | +194 B | | ProviderMock | 1 | +6 B | | SaveHandler | 1 | +-35 B | | SessionContext | 1 | +435 B | | Settings | 1 | +44 B | | StructStore | 1 | +456 B | | UpdateManager | 1 | +-13 B | | UrlResolver | 1 | +-2 B | | VirtualDocument | 1 | +499 B | | VirtualDocumentInfo | 1 | +-3 B | | VirtualElementPass | 1 | +55 B | | WeakMap | 1 | +4.87 kB | | YCodeCell | 1 | +6.62 kB | | YNotebook | 1 | +593 B | | Detached ElementIntersectionObserverData | 2 | +128 B | | Detached HTMLButtonElement | 2 | +30.7 kB | | Detached SVGCircleElement | 2 | +1.49 kB | | HTMLDivElement | 2 | +326 B | | LabIcon | 2 | +-69 B | | YText | 2 | +440 B | | Detached CSSStyleDeclaration | 3 | +208 B | | Detached HTMLLIElement | 3 | +7.43 kB | | Detached NodeList | 3 | +168 B | | UndoManager | 3 | +4.35 kB | | VirtualText | 3 | +94 B | | YArray | 3 | +660 B | | ContentDeleted | 4 | +64 B | | NavigationHistoryEntry | 4 | +960 B | | PromiseDelegate | 4 | +532 B | | StackItem | 4 | +2.95 kB | | VirtualElement | 4 | +-3.04 kB | | YRange | 4 | +816 B | | Detached HTMLSpanElement | 5 | +4.16 kB | | Detached SVGAnimatedPreserveAspectRatio | 5 | +440 B | | Detached SVGAnimatedRect | 5 | +440 B | | Detached SVGSVGElement | 5 | +12.3 kB | | ContentType | 6 | +536 B | | Detached SVGGElement | 6 | +6.49 kB | | Set | 6 | +8.44 kB | | StyleModule | 6 | +780 B | | YMap | 6 | +1.54 kB | | Detached DOMStringMap | 7 | +356 B | | Detached SVGPathElement | 7 | +3.26 kB | | Promise | 7 | +160 B | | DeleteItem | 8 | +160 B | | DeleteSet | 8 | +1.7 kB | | RelativePosition | 8 | +736 B | | Detached SVGAnimatedNumber | 9 | +720 B | | Detached Text | 9 | +964 B | | Detached Attr | 10 | +960 B | | ContentAny | 13 | +1.27 kB | | Detached DOMTokenList | 15 | +1.02 kB | | Detached HTMLDivElement | 15 | +43.1 kB | | Detached HTMLCollection | 17 | +2.21 kB | | Detached SVGAnimatedString | 20 | +1.44 kB | | Detached SVGAnimatedTransformList | 20 | +1.76 kB | | EventHandler | 22 | +908 B | | Item | 23 | +5.21 kB | | Signal | 25 | +7.06 kB | | Detached SVGAnimatedLength | 26 | +2.29 kB | | Map | 37 | +6.99 kB | | ID | 41 | +1.31 kB | | Detached EventListener | 129 | +18.1 kB | | Detached V8EventListener | 129 | +12.9 kB | Leaking collections: | Type | Change | Preview | Size increased at | | --- | --- | --- | --- | | Array | +1 | [StackItem, ...] | <pre>UndoManager.afterTransactionHandler http://localhost:8888/static/lab/vendors-node_modules_yjs_dist_yjs_mjs.0bb9cc0ca3c96dd5c827.js:4975:15<br /> webpack://jupyterlab/node_modules/lib0/observable.js:73:62 <br />Array.forEach \<anonymous> <br /> webpack://jupyterlab/node_modules/lib0/observable.js:73:62 <br />Array.\<anonymous> http://localhost:8888/static/lab/vendors-node_modules_yjs_dist_yjs_mjs.0bb9cc0ca3c96dd5c827.js:4643:27<br /> webpack://jupyterlab/node_modules/lib0/function.js:19:0 <br />cleanupTransactions http://localhost:8888/static/lab/vendors-node_modules_yjs_dist_yjs_mjs.0bb9cc0ca3c96dd5c827.js:4645:62<br />transact http://localhost:8888/static/lab/vendors-node_modules_yjs_dist_yjs_mjs.0bb9cc0ca3c96dd5c827.js:4757:7 <br />Doc.transact http://localhost:8888/static/lab/vendors-node_modules_yjs_dist_yjs_mjs.0bb9cc0ca3c96dd5c827.js:1972:5 </pre> | | Array | +1 | [{signal, slot, thisArg}, ...] | <pre>Object.connect http://localhost:8888/static/lab/jlab_core.97ae57b4eb63efeeb551.js:22819:19<br />Signal.connect http://localhost:8888/static/lab/jlab_core.97ae57b4eb63efeeb551.js:22644:24<br /> webpack://jupyterlab/packages/settingregistry/src/settingregistry.ts:672:32<br /> webpack://jupyterlab/packages/settingregistry/src/settingregistry.ts:336:13</pre> | | Array | +1 | [{signal, slot, thisArg}, ...] | <pre>Object.connect http://localhost:8888/static/lab/jlab_core.97ae57b4eb63efeeb551.js:22820:17<br />Signal.connect http://localhost:8888/static/lab/jlab_core.97ae57b4eb63efeeb551.js:22644:24<br /> webpack://jupyterlab/packages/notebook/src/notebooktools.ts:482:53 <br /> webpack://jupyterlab/packages/notebook/src/notebooktools.ts:349:15 <br />invokeHandler http://localhost:8888/static/lab/jlab_core.97ae57b4eb63efeeb551.js:21560:21<br />Object.sendMessage http://localhost:8888/static/lab/jlab_core.97ae57b4eb63efeeb551.js:21296:13<br /> webpack://jupyterlab/packages/notebook/src/notebooktools.ts:196:6 <br />each http://localhost:8888/static/lab/jlab_core.97ae57b4eb63efeeb551.js:1622:13 <br /> webpack://jupyterlab/packages/notebook/src/notebooktools.ts:195:9 </pre> | | Array | +2 | [{signal, slot, thisArg}, ...] | <pre>Object.connect http://localhost:8888/static/lab/jlab_core.97ae57b4eb63efeeb551.js:22820:17<br />Signal.connect http://localhost:8888/static/lab/jlab_core.97ae57b4eb63efeeb551.js:22644:24<br /> webpack://jupyterlab/packages/lsp/src/connection_manager.ts:136:42 <br /> webpack://jupyterlab/packages/lsp/src/connection_manager.ts:446:9 <br /> webpack://jupyterlab/packages/lsp/src/connection_manager.ts:360:32 <br /> webpack://jupyterlab/packages/lsp/src/adapters/adapter.ts:661:50 <br /> webpack://jupyterlab/packages/lsp/src/adapters/adapter.ts:521:41 <br /> webpack://jupyterlab/packages/notebook/src/notebooklspadapter.ts:364:9 </pre> | | Array | +3 | [StackItem, ...] | <pre>UndoManager.afterTransactionHandler http://localhost:8888/static/lab/vendors-node_modules_yjs_dist_yjs_mjs.0bb9cc0ca3c96dd5c827.js:4975:15<br /> webpack://jupyterlab/node_modules/lib0/observable.js:73:62 <br />Array.forEach \<anonymous> <br /> webpack://jupyterlab/node_modules/lib0/observable.js:73:62 <br />Array.\<anonymous> http://localhost:8888/static/lab/vendors-node_modules_yjs_dist_yjs_mjs.0bb9cc0ca3c96dd5c827.js:4643:27<br /> webpack://jupyterlab/node_modules/lib0/function.js:19:0 <br />cleanupTransactions http://localhost:8888/static/lab/vendors-node_modules_yjs_dist_yjs_mjs.0bb9cc0ca3c96dd5c827.js:4645:62<br />transact http://localhost:8888/static/lab/vendors-node_modules_yjs_dist_yjs_mjs.0bb9cc0ca3c96dd5c827.js:4757:7 <br />Doc.transact http://localhost:8888/static/lab/vendors-node_modules_yjs_dist_yjs_mjs.0bb9cc0ca3c96dd5c827.js:1972:5 </pre> | | Array | +6 | [StyleModule, ...] | <pre> webpack://jupyterlab/node_modules/style-mod/src/style-mod.js:115:0 <br /> webpack://jupyterlab/node_modules/style-mod/src/style-mod.js:79:0 <br /> webpack://jupyterlab/node_modules/@codemirror/view/dist/index.js:6399:8<br /> webpack://jupyterlab/node_modules/@codemirror/view/dist/index.js:6087:0<br /> webpack://jupyterlab/packages/codemirror/src/editor.ts:1148:17 <br /> webpack://jupyterlab/packages/codemirror/src/editor.ts:237:27 <br /> webpack://jupyterlab/packages/codemirror/src/factory.ts:61:11 <br /> webpack://jupyterlab/packages/codeeditor/src/widget.ts:40:42 <br /> webpack://jupyterlab/packages/cells/src/inputarea.ts:64:35 </pre> | | Set | +2 | Set((anonymous function), ...) | <pre> webpack://jupyterlab/node_modules/lib0/observable.js:30:56 <br />Doc.on http://localhost:8888/static/lab/vendors-node_modules_yjs_dist_yjs_mjs.0bb9cc0ca3c96dd5c827.js:2131:11<br />new UndoManager http://localhost:8888/static/lab/vendors-node_modules_yjs_dist_yjs_mjs.0bb9cc0ca3c96dd5c827.js:4995:14<br /> webpack://jupyterlab/node_modules/y-codemirror.next/src/y-sync.js:11:0 <br /> webpack://jupyterlab/node_modules/y-codemirror.next/src/index.js:20:0 <br /> webpack://jupyterlab/packages/codemirror/src/editor.ts:1141:16 <br /> webpack://jupyterlab/packages/codemirror/src/editor.ts:237:27 <br /> webpack://jupyterlab/packages/codemirror/src/factory.ts:61:11 <br /> webpack://jupyterlab/packages/codeeditor/src/widget.ts:40:42 </pre> | | Set | +2 | Set((anonymous function), ...) | <pre> webpack://jupyterlab/node_modules/lib0/observable.js:30:56 <br />Doc.on http://localhost:8888/static/lab/vendors-node_modules_yjs_dist_yjs_mjs.0bb9cc0ca3c96dd5c827.js:2131:11<br />new UndoManager http://localhost:8888/static/lab/vendors-node_modules_yjs_dist_yjs_mjs.0bb9cc0ca3c96dd5c827.js:4994:14<br /> webpack://jupyterlab/node_modules/y-codemirror.next/src/y-sync.js:11:0 <br /> webpack://jupyterlab/node_modules/y-codemirror.next/src/index.js:20:0 <br /> webpack://jupyterlab/packages/codemirror/src/editor.ts:1141:16 <br /> webpack://jupyterlab/packages/codemirror/src/editor.ts:237:27 <br /> webpack://jupyterlab/packages/codemirror/src/factory.ts:61:11 <br /> webpack://jupyterlab/packages/codeeditor/src/widget.ts:40:42 </pre> | </details> # Current Master https://github.com/jupyterlab/benchmarks/actions/runs/2986568808