Keybindings registry initialization might slow down IDE startup #1428
Labels
topic: code
Related to content of the project itself
topic: theia
Related to the Theia IDE framework
type: imperfection
Perceived defect in any part of project
Uh oh!
There was an error while loading. Please reload this page.
Describe the problem
The slow startup was experienced on macOS with an M1 chip. The keyboard layout is Italian.
From the logs:
The initialization of the Theia keybinding contribution took almost 30 sec on M1. The corresponding upstream code is here.
To reproduce
I do not know it yet.
Update:
Setting the keyboard input source to Italian and configuring a couple of custom keybindings did not help to reproduce the defect.
Update2:
Deleting the
~/.arduinoIDE
content does not solve the poor startup performance either.Update3:
On the same machine running TheiaBlueprint
1.25.0
(download it from here for macOS) there is no performance issue withkeybindings.onStart
.The logs contain the following entry:
Update for version 1.29.0 is not available (latest version: 1.29.0, downgrade is disallowed)
might mean that it was TheiaBlueprint1.29.0
.Update4:
I am positive the TheiaBlueprint comparison is useless. It was performed with TheiaBlueprint
1.29.0
instead of1.25.0
.1.25.0
prints this regarding the available updates:Expected behavior
Starting the default keybinding contributions takes sub-seconds. There are no warnings in the logs, such as:
Arduino IDE version
rc-9.4
Operating system
macOS
Operating system version
n/a
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: