Open axel7083 opened 3 weeks ago
When installation a pack of extension I am facing a freeze of the Podman-Desktop application of about 10-20 seconds.
This freeze is propositional to the number of extensions being installed.
Windows 11
Other
next (development version)
I tried to profile the extension-installer:install-from-image listener. After filtering, here are the functions with the sum of their execution time.
extension-installer:install-from-image
The top functions during the loading of extensions, are the loadRuntime and activateExtension which are called inside the loadExtension.
loadRuntime
activateExtension
loadExtension
https://github.com/containers/podman-desktop/blob/1e21c883e5118bccd7a05359cf894b62a4236583/packages/main/src/plugin/extension-loader.ts#L1286
https://github.com/containers/podman-desktop/blob/1e21c883e5118bccd7a05359cf894b62a4236583/packages/main/src/plugin/extension-loader.ts#L1341
No response
A direct consequence is the extensions in a failed state as they took too much time to start. (there is a 10s limit)
failed
Bug description
When installation a pack of extension I am facing a freeze of the Podman-Desktop application of about 10-20 seconds.
This freeze is propositional to the number of extensions being installed.
Operating system
Windows 11
Installation Method
Other
Version
next (development version)
Steps to reproduce
I tried to profile the
extension-installer:install-from-image
listener. After filtering, here are the functions with the sum of their execution time.The top functions during the loading of extensions, are the
loadRuntime
andactivateExtension
which are called inside theloadExtension
.https://github.com/containers/podman-desktop/blob/1e21c883e5118bccd7a05359cf894b62a4236583/packages/main/src/plugin/extension-loader.ts#L1286
https://github.com/containers/podman-desktop/blob/1e21c883e5118bccd7a05359cf894b62a4236583/packages/main/src/plugin/extension-loader.ts#L1341
Relevant log output
No response
Additional context
A direct consequence is the extensions in a
failed
state as they took too much time to start. (there is a 10s limit)