VERY Slow startup IDE 2

Hello
the Arduino IDE 2 rc3 takes few minutes to open and show application environment... What's problem? I took a log of opening progress by cmd, this is the results:

Starting backend process. PID: 6892
Using browser-only version of superagent in non-browser environment
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
root INFO Configuration directory URI: 'file:///c%3A/Users/Farhan/.theia'
root ERROR (node:6892) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
root INFO Theia app listening on http://localhost:3229.
root WARN The local plugin referenced by local-dir:/c%3A/Users/Farhan/.arduinoIDE/plugins does not exist.
root WARN The local plugin referenced by local-dir:/c%3A/Users/Farhan/.arduinoIDE/extensions does not exist.
root WARN The local plugin referenced by local-dir:C:\Users\Farhan\.arduinoProIDE\plugins does not exist.
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@0.3.10" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
root INFO Deploying backend plugin "cortex-debug@0.3.10" from "D:\Program Files\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension"
root INFO Deploying backend plugin "vscode-arduino-tools@0.0.2-beta.1" from "D:\Program Files\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle"
root INFO Deploying backend plugin "cpp@1.52.1" from "D:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-cpp\extension"
root INFO Deploying backend plugin "json@1.46.1" from "D:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-json\extension"
root INFO Deploying backend plugin "json-language-features@1.46.1" from "D:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain"
root INFO Deploy plugins list took: 856.1 ms
root WARN Backend ConfigServiceImpl.onStart is slow, took: 2773.2 ms
daemon INFO Starting daemon from D:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
daemon INFO Using config file: c:\Users\Farhan\.arduinoIDE\arduino-cli.yaml
daemon INFO arduino-cli.exe version 0.20.2
daemon INFO Executing `arduino-cli daemon`
daemon INFO Setting up Prometheus metrics on :9090/metrics
daemon INFO {"IP":"127.0.0.1","Port":"3230"}
daemon INFO Daemon is running.
root INFO Git askpass helper is listening on http://127.0.0.1:3241.
daemon INFO Adding libraries dir [dir: c:\Users\Farhan\Documents\Arduino\libraries, location: user]
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root ERROR Error: Git installation not found.
    at D:\Program Files\Arduino IDE\resources\app\node_modules\find-git-exec\lib\find-git-exec.js:69:69
    at async DefaultGitInit.init (D:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\theia\git\git-init.js:22:49)
root WARN Frontend CommonFrontendContribution.configure is slow, took: 434.0 ms
root WARN Failed to resolve module: @types/body-parser
root WARN Failed to resolve module: @types/cookie
root WARN Failed to resolve module: @types/dompurify
root WARN Failed to resolve module: @types/express
root WARN Failed to resolve module: @types/fs-extra
root WARN Failed to resolve module: @types/lodash.debounce
root WARN Failed to resolve module: @types/lodash.throttle
root WARN Failed to resolve module: @types/react
root WARN Failed to resolve module: @types/react-dom
root WARN Failed to resolve module: @types/react-virtualized
root WARN Failed to resolve module: @types/route-parser
root WARN Failed to resolve module: @types/safer-buffer
root WARN Failed to resolve module: @types/ws
root WARN Failed to resolve module: @types/yargs
root WARN Failed to resolve module: @theia/monaco
root WARN Failed to resolve module: @theia/editor
root WARN Failed to resolve module: @types/multer
root WARN Failed to resolve module: @types/rimraf
root WARN Failed to resolve module: @types/tar-fs
root WARN Failed to resolve module: @types/uuid
root WARN Failed to resolve module: @theia/navigator
root WARN Failed to resolve module: @types/p-queue
root WARN Failed to resolve module: @theia/preferences
root WARN Failed to resolve module: @theia/editor-preview
root WARN Failed to resolve module: @theia/keymaps
root WARN Failed to resolve module: @theia/messages
root WARN Failed to resolve module: @types/diff
root WARN Failed to resolve module: @types/markdown-it
root WARN Failed to resolve module: @types/mime
root WARN Failed to resolve module: @types/request
root WARN Failed to resolve module: @types/atob
root WARN Failed to resolve module: @types/auth0-js
root WARN Failed to resolve module: @types/btoa
root WARN Failed to resolve module: @types/dateformat
root WARN Failed to resolve module: @types/deepmerge
root WARN Failed to resolve module: @types/glob
root WARN Failed to resolve module: @types/google-protobuf
root WARN Failed to resolve module: @types/js-yaml
root WARN Failed to resolve module: @types/keytar
root WARN Failed to resolve module: @types/ncp
root WARN Failed to resolve module: @types/node-fetch
root WARN Failed to resolve module: @types/ps-tree
root WARN Failed to resolve module: @types/react-select
root WARN Failed to resolve module: @types/react-tabs
root WARN Failed to resolve module: @types/temp
root WARN Failed to resolve module: @types/which
root WARN Frontend keybindings.onStart is slow, took: 158.9 ms
root ERROR DefaultJsonSchemaContribution.registerSchemas is taking more than 500.0 ms, new schemas are ignored.
root ERROR Error while updating index in attempt 0.
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root INFO Updating index: package_index.json completed.
root INFO Updating index: package_index.json.sig completed.
daemon INFO Checking signature [error: opening signature file: open C:\Users\Farhan\AppData\Local\Temp\615091374.sig: The system cannot find the file specified., index: C:\Users\Farhan\AppData\Local\Temp\615091374, signaturefile: C:\Users\Farhan\AppData\Local\Temp\615091374.sig]
daemon INFO URL: http://dan.drown.org/stm32duino/package_STM32duino_index.json
daemon INFO Updating index [url: http://dan.drown.org/stm32duino/package_STM32duino_index.json]
root INFO Updating index: package_STM32duino_index.json completed.
daemon INFO Checking signature [error: opening signature file: open C:\Users\Farhan\AppData\Local\Temp\520892944.sig: The system cannot find the file specified., index: C:\Users\Farhan\AppData\Local\Temp\520892944, signaturefile: C:\Users\Farhan\AppData\Local\Temp\520892944.sig]
daemon INFO Updating libraries index
root INFO Updating index: library_index.json.gz completed.
root INFO Updating index: library_index.json.sig completed.
daemon INFO Checking signature [index: c:\Users\Farhan\AppData\Local\Arduino15\package_index.json, signaturefile: c:\Users\Farhan\AppData\Local\Arduino15\package_index.json.sig, trusted: true]
daemon INFO Checking signature [error: opening signature file: open c:\Users\Farhan\AppData\Local\Arduino15\package_STM32duino_index.json.sig: The system cannot find the file specified., index: c:\Users\Farhan\AppData\Local\Arduino15\package_STM32duino_index.json, signaturefile: c:\Users\Farhan\AppData\Local\Arduino15\package_STM32duino_index.json.sig]
daemon INFO Loading hardware from: c:\Users\Farhan\AppData\Local\Arduino15\packages
daemon INFO Loading package MiniCore from: C:\Users\Farhan\AppData\Local\Arduino15\packages\MiniCore\hardware
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"MiniCore:avr",Installed:"2.1.3",Latest:"2.1.3",Name:"MiniCore"}]
daemon INFO Loading package arduino from: C:\Users\Farhan\AppData\Local\Arduino15\packages\arduino\hardware
daemon INFO Checking signature [error: opening signature file: open C:\Users\Farhan\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\installed.json.sig: The system cannot find the file specified., index: C:\Users\Farhan\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\installed.json, signaturefile: C:\Users\Farhan\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\installed.json.sig]
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"arduino:avr",Installed:"1.8.4",Latest:"1.8.4",Name:"Arduino AVR Boards"}]
daemon INFO Checking existence of 'tools' path: C:\Users\Farhan\AppData\Local\Arduino15\packages\arduino\tools
daemon INFO Loading tools from dir: C:\Users\Farhan\AppData\Local\Arduino15\packages\arduino\tools
daemon INFO Loaded tool [tool: Version: 1.3.0 Systems: [OS: i686-linux-gnu, OS: x86_64-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: i386-apple-darwin11, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 7.3.0-atmel3.6.1-arduino7 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin14, OS: i686-mingw32, OS: i686-linux-gnu, OS: x86_64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 6.3.0-arduino17 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin12, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 6.3.0-arduino18 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin12, OS: x86_64-linux-gnu, OS: i686-mingw32]]
daemon INFO Loading package builtin from: C:\Users\Farhan\AppData\Local\Arduino15\packages\builtin
daemon INFO Checking existence of 'tools' path: C:\Users\Farhan\AppData\Local\Arduino15\packages\builtin\tools
daemon INFO Loading tools from dir: C:\Users\Farhan\AppData\Local\Arduino15\packages\builtin\tools
daemon INFO Loaded tool [tool: Version: 5.8-arduino11 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 0.9.2]
daemon INFO Loaded tool [tool: Version: 1.0.2 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loaded tool [tool: Version: 1.2.1]
daemon INFO Loaded tool [tool: Version: 1.3.0-rc1]
daemon INFO Loaded tool [tool: Version: 1.3.1 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loaded tool [tool: Version: 0.9.1 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Adding libraries dir [dir: C:\Users\Farhan\AppData\Local\Arduino15\packages\MiniCore\hardware\avr\2.1.3\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\Farhan\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries, location: platform]
daemon INFO starting discovery builtin:serial-discovery process
daemon INFO starting discovery builtin:mdns-discovery process
root ERROR Request repositories failed with error: Git could not be found at the expected path: 'D:\Program Files\Arduino IDE\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe'. This might be a problem with how the application is packaged, so confirm this folder hasn't been removed when packaging.
root WARN Frontend EditorNavigationContribution.onStart is slow, took: 36111.4 ms
root WARN Frontend WorkspaceService.onStart is slow, took: 273.9 ms
root INFO Board config changed:
root INFO Board config changed:
root INFO Changed application state from 'init' to 'started_contributions'.
root INFO Changed application state from 'started_contributions' to 'attached_shell'.
root INFO >>> Restoring the layout state...
daemon INFO started discovery builtin:serial-discovery process
daemon INFO sending command HELLO 1 "arduino-cli 0.20.2" to discovery builtin:serial-discovery
daemon INFO from discovery builtin:serial-discovery received message type: hello, message: OK, protocol version: 1
root INFO [71148199-1b5a-4441-bb41-28b5708558cd] Waiting for backend deployment took: 464.4 ms [Finished 43.812 s after frontend start]
root INFO [71148199-1b5a-4441-bb41-28b5708558cd] Sync of 5 plugins took: 427.5 ms [Finished 44.240 s after frontend start]
daemon INFO started discovery builtin:mdns-discovery process
daemon INFO sending command HELLO 1 "arduino-cli 0.20.2" to discovery builtin:mdns-discovery
daemon INFO from discovery builtin:mdns-discovery received message type: hello, message: OK, protocol version: 1
daemon INFO sending command START_SYNC to discovery builtin:serial-discovery
daemon INFO sending command START_SYNC to discovery builtin:mdns-discovery
daemon INFO from discovery builtin:mdns-discovery received message type: start_sync, message: OK
daemon INFO from discovery builtin:serial-discovery received message type: start_sync, message: OK
root INFO <<< The layout has been successfully restored.
root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
root INFO [71148199-1b5a-4441-bb41-28b5708558cd][marus25.cortex-debug]: Loaded contributions.
root INFO [71148199-1b5a-4441-bb41-28b5708558cd][arduino.vscode-arduino-tools]: Loaded contributions.
root INFO [71148199-1b5a-4441-bb41-28b5708558cd][vscode.cpp]: Loaded contributions.
root INFO [71148199-1b5a-4441-bb41-28b5708558cd][vscode.json]: Loaded contributions.
root INFO [71148199-1b5a-4441-bb41-28b5708558cd][vscode.json-language-features]: Loaded contributions.
root INFO [71148199-1b5a-4441-bb41-28b5708558cd] Load contributions of 5 plugins took: 153.0 ms [Finished 45.616 s after frontend start]
root WARN Frontend EditorPreviewTreeDecorator.onDidInitializeLayout is slow, took: 154.2 ms
root INFO Finished loading frontend application after 45.836 seconds
root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
root WARN a registered grammar configuration for 'cpp' language is overridden
root INFO [hosted-plugin: 10448] PLUGIN_HOST(10448) starting instance
root INFO Changed application state from 'initialized_layout' to 'ready'.
root ERROR Request repositories failed with error: Git could not be found at the expected path: 'D:\Program Files\Arduino IDE\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe'. This might be a problem with how the application is packaged, so confirm this folder hasn't been removed when packaging.
root INFO [hosted-plugin: 10448] PLUGIN_HOST(10448): PluginManagerExtImpl/init()
root INFO [hosted-plugin: 10448] PLUGIN_HOST(10448): initializing(cortex-debug@0.3.10 with D:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 10448] Debugger contribution has been registered: cortex-debug
root INFO [hosted-plugin: 10448] PLUGIN_HOST(10448): initializing(vscode-arduino-tools@0.0.2-beta.1 with D:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
PLUGIN_HOST(10448): initializing(cpp@1.52.1 with D:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 10448] PLUGIN_HOST(10448): initializing(json@1.46.1 with D:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 10448] PLUGIN_HOST(10448): initializing(json-language-features@1.46.1 with D:\Program Files\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 10448] PLUGIN_HOST(10448): PluginManagerExtImpl/loadPlugin(D:\Program Files\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain)
root ERROR Request repositories failed with error: Git could not be found at the expected path: 'D:\Program Files\Arduino IDE\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe'. This might be a problem with how the application is packaged, so confirm this folder hasn't been removed when packaging.
root INFO [hosted-plugin: 10448] PLUGIN_HOST(10448): PluginManagerExtImpl/loadPlugin(D:\Program Files\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle)
root INFO [71148199-1b5a-4441-bb41-28b5708558cd][marus25.cortex-debug]: Started plugin.
root INFO [71148199-1b5a-4441-bb41-28b5708558cd][arduino.vscode-arduino-tools]: Started plugin.
root INFO [71148199-1b5a-4441-bb41-28b5708558cd][vscode.cpp]: Started plugin.
root INFO [71148199-1b5a-4441-bb41-28b5708558cd][vscode.json]: Started plugin.
root INFO [71148199-1b5a-4441-bb41-28b5708558cd][vscode.json-language-features]: Started plugin.
root INFO [71148199-1b5a-4441-bb41-28b5708558cd] Start of 5 plugins took: 3285.0 ms [Finished 48.909 s after frontend start]
root INFO Starting language server: arduino:avr:nano
daemon INFO inventory.Store.ConfigFileUsed() c:\Users\Farhan\AppData\Local\Arduino15\inventory.yaml
daemon INFO inventory.Store.ConfigFileUsed() c:\Users\Farhan\AppData\Local\Arduino15\inventory.yaml
daemon INFO Searching tools required for board arduino:avr:nano
daemon INFO Required tool [tool: {ToolName:"arduinoOTA",ToolVersion:"1.3.0",ToolPackager:"arduino"}]
daemon INFO Required tool [tool: {ToolName:"avr-gcc",ToolVersion:"7.3.0-atmel3.6.1-arduino7",ToolPackager:"arduino"}]
daemon INFO Required tool [tool: {ToolName:"avrdude",ToolVersion:"6.3.0-arduino17",ToolPackager:"arduino"}]
daemon INFO Adding libraries dir [dir: D:\Program Files (x86)\Arduino\libraries, location: ide]
daemon INFO Adding libraries dir [dir: C:\Users\Farhan\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries, location: platform]
daemon INFO Adding libraries dir [dir: c:\Users\Farhan\Documents\Arduino\libraries, location: user]
daemon INFO Resolving include Wire.h for arch avr
daemon INFO   found better lib [lib: Wire, prio: 64C]
daemon INFO Resolving include SPI.h for arch avr
daemon INFO   found better lib [lib: SPI, prio: 64C]
daemon INFO Resolving include Adafruit_BMP280.h for arch avr
daemon INFO   found better lib [lib: Adafruit_BMP280_Library, prio: 517]
daemon INFO Resolving include Adafruit_Sensor.h for arch avr
daemon INFO   found better lib [lib: Adafruit_Unified_Sensor, prio: 3EB]
daemon INFO Resolving include TM1637TinyDisplay.h for arch avr
daemon INFO   found better lib [lib: TM1637TinyDisplay, prio: 643]
root ERROR Request repositories failed with error: Git could not be found at the expected path: 'D:\Program Files\Arduino IDE\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe'. This might be a problem with how the application is packaged, so confirm this folder hasn't been removed when packaging.
daemon INFO inventory.Store.ConfigFileUsed() c:\Users\Farhan\AppData\Local\Arduino15\inventory.yaml
daemon INFO inventory.Store.ConfigFileUsed() c:\Users\Farhan\AppData\Local\Arduino15\inventory.yaml
daemon INFO Searching tools required for board arduino:avr:nano
daemon INFO Required tool [tool: {ToolName:"arduinoOTA",ToolVersion:"1.3.0",ToolPackager:"arduino"}]
daemon INFO Required tool [tool: {ToolName:"avr-gcc",ToolVersion:"7.3.0-atmel3.6.1-arduino7",ToolPackager:"arduino"}]
daemon INFO Required tool [tool: {ToolName:"avrdude",ToolVersion:"6.3.0-arduino17",ToolPackager:"arduino"}]
daemon INFO Adding libraries dir [dir: D:\Program Files (x86)\Arduino\libraries, location: ide]
daemon INFO Adding libraries dir [dir: C:\Users\Farhan\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries, location: platform]
daemon INFO Adding libraries dir [dir: c:\Users\Farhan\Documents\Arduino\libraries, location: user]
daemon INFO Resolving include Wire.h for arch avr
daemon INFO   found better lib [lib: Wire, prio: 64C]
daemon INFO Resolving include SPI.h for arch avr
daemon INFO   found better lib [lib: SPI, prio: 64C]
daemon INFO Resolving include Adafruit_BMP280.h for arch avr
daemon INFO   found better lib [lib: Adafruit_BMP280_Library, prio: 517]
daemon INFO Resolving include Adafruit_Sensor.h for arch avr
daemon INFO   found better lib [lib: Adafruit_Unified_Sensor, prio: 3EB]
daemon INFO Resolving include TM1637TinyDisplay.h for arch avr
daemon INFO   found better lib [lib: TM1637TinyDisplay, prio: 643]

Hi @Farhankhosravi. I would expect the IDE to be fully usable at this point in the log output, 48 seconds in:

The rest of the output is the processing of the board and sketch that was opened on startup. But that processing should not block the usage of the IDE application.

Of course, 48 seconds is an unusually long startup, but not so long as the three minutes you have observed.

At what point in the log output are you first able to start using the application?

Does the output that claims it has been 48 seconds come at 48 seconds after you initiated the startup, or is there some other process duration the logs do not account for?

There is an existing formal report of exceptionally long start up times. I see you have already reported your results there, but I'll share it for the benefit of others who are interested in the subject:

It would be interesting to get the command line output from others who are experiencing these long startup times. I see that you were the only one to report such at the link above (the others are from someone not experiencing the problem and another experiencing a different problem). If we can identify a specific stage of the startup that is taking an unusually long time, that might help to find the cause.

In RC5 the problem still occurs. I use Windows11.
224 seconds!

logger-protocol.ts:112 root INFO [a193cc66-a12b-407b-821d-8e29533cb04b] Start of 5 plugins took: 1201.0 ms [Finished 224.685 s after frontend start]

1 Like

In expert mode I can see two errors that seems to be associated with the long start up

The first error point at this line:

      this.appStateService.reachedState('ready').then(async () => {
            const sketch = await this.sketchServiceClient.currentSketch();
            if (sketch && !(await this.sketchService.isTemp(sketch))) {
                this.toDisposeOnStop.push(this.fileService.watch(new uri_1.default(sketch.uri)));
                this.toDisposeOnStop.push(this.fileService.onDidFilesChange(async (event) => {
                    for (const { type, resource } of event.changes) {
                        if (type === 1 /* ADDED */ &&
                            resource.parent.toString() === sketch.uri) {
                            const reloadedSketch = await this.sketchService.loadSketch(sketch.uri);
                            if (protocol_1.Sketch.isInSketch(resource, reloadedSketch)) {
                                this.ensureOpened(resource.toString(), true, {
                                    mode: 'open',
                                });
                            }
                        }
                    }
                }));
            }
        });
    }
    async onStart(app) {

Just above the async onStart(app) {

The second error points to the first line here:

       export function log(name: string, logLevel: number, message: string, params: any[]): void {
        const console = consoles.get(logLevel) || originalConsoleLog;
        const severity = (LogLevel.strings.get(logLevel) || 'unknown').toUpperCase();
        console(`${name} ${severity} ${message}`, ...params);
    }

Solved the problem.

RC3 was installed "Only for me" instead "For all users".

When RC5, and probably all RC.. installations, was installed "For all users" RC3 was not properly uninstalled.
I removed RC5 and restarted the PC
I installed RC3 "Only for me" and uninstalled it again and restarted the PC
Then I removed the folder c:\Users\ednie.arduinoIDE\
And Installed RC5 again.
Now it takes 10 seconds to see the editor

unfortunatly the problem is not solved for me - rc5 on windows 10.
Sometimes IDE 2 takes a very long time to start.
Sometimes it refuses starting within 5 min .
And sometimes it starts at once (10-15 sec) .

I tried reinstaling for all users and for one user too.
(It seems, as if it was faster, when I start from a cmd-window )
Any ideas I could try?

1 Like

Hi @tomasherrmann0. Thanks for your interest in the Arduino IDE 2.0.0 release candidate.

I'm going to ask you to post some additional information that might help us to identify the problem.

Please do this:

  1. Start File Explorer (AKA "Windows Explorer").
  2. Open the Arduino IDE installation folder
    (usually C:\Program Files\Arduino IDE or C:\Users\<user name>\AppData\Local\Programs\Arduino IDE).
  3. In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
  4. From the context menu, click "Open PowerShell window here".
    PowerShell will now open with the current directory set to the Arduino IDE installation folder.
  5. Type & ".\Arduino IDE".
  6. Press the Enter key.
    Debug output should now be printed to the PowerShell window as the Arduino IDE starts (or fails to start).
  7. Wait for the Arduino IDE to finish starting, or failing to start.
  8. Switch back to the PowerShell window if the Arduino IDE window took the focus.
  9. Right click on the title bar of the PowerShell window.
    This will open a context menu.
  10. Select Edit > Select All from the context menu.
    This will select all the text in the PowerShell window.
  11. Press Ctrl+C.
    This will copy the contents of the PowerShell window to the clipboard.
  12. Open a forum reply here by clicking the Reply button.
  13. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block
  14. Press Ctrl+V.
    This will paste the output into the code block.
  15. Move the cursor outside of the code block markup before you add any additional text to your reply.
  16. Click the Reply button to post the output.

Please let me know if you have any questions or problems while following those instructions.

1 Like
Thank you, here is the protocol:

Windows PowerShell
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

PS D:\elektron\Arduino2> cd '.\Arduino IDE\'
PS D:\elektron\Arduino2\Arduino IDE> & ".\Arduino IDE"
PS D:\elektron\Arduino2\Arduino IDE>
Starting backend process. PID: 6332
Using browser-only version of superagent in non-browser environment
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
root INFO Configuration directory URI: 'file:///c%3A/Users/adame/.theia'
root INFO Theia app listening on http://localhost:49474.
root WARN The local plugin referenced by local-dir:/c%3A/Users/adame/.arduinoIDE/plugins does not exist.
root WARN The local plugin referenced by local-dir:/c%3A/Users/adame/.arduinoIDE/extensions does not exist.
root WARN The local plugin referenced by local-dir:C:\Users\adame\.arduinoProIDE\plugins does not exist.
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@0.3.10" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
root WARN Backend DefaultWorkspaceServer.onStart is slow, took: 60025.4 ms
root INFO Deploying backend plugin "cortex-debug@0.3.10" from "D:\elektron\Arduino2\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension"
root INFO Deploying backend plugin "vscode-arduino-tools@0.0.2-beta.2" from "D:\elektron\Arduino2\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle"
root INFO Deploying backend plugin "cpp@1.52.1" from "D:\elektron\Arduino2\Arduino IDE\resources\app\plugins\vscode-builtin-cpp\extension"
root INFO Deploying backend plugin "json@1.46.1" from "D:\elektron\Arduino2\Arduino IDE\resources\app\plugins\vscode-builtin-json\extension"
root INFO Deploying backend plugin "json-language-features@1.46.1" from "D:\elektron\Arduino2\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain"
root INFO Deploy plugins list took: 60079.6 ms
daemon INFO Starting daemon from D:\elektron\Arduino2\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
root WARN Backend ConfigServiceImpl.onStart is slow, took: 703.1 ms
daemon INFO Using config file: c:\Users\adame\.arduinoIDE\arduino-cli.yaml
daemon INFO arduino-cli.exe version 0.21.0
daemon INFO Executing `arduino-cli daemon`
daemon INFO Setting up Prometheus metrics on :9090/metrics
daemon INFO {"IP":"127.0.0.1","Port":"49477"}
daemon INFO Daemon is running.
daemon INFO Adding libraries dir [dir: c:\Users\adame\Documents\Arduino\libraries, location: user]
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root INFO Git askpass helper is listening on http://127.0.0.1:61542.
root WARN Frontend CommonFrontendContribution.configure is slow, took: 537.5 ms
root WARN Failed to resolve module: @types/body-parser
root WARN Failed to resolve module: @types/cookie
root WARN Failed to resolve module: @types/dompurify
root WARN Failed to resolve module: @types/express
root WARN Failed to resolve module: @types/fs-extra
root WARN Failed to resolve module: @types/lodash.debounce
root WARN Failed to resolve module: @types/lodash.throttle
root WARN Failed to resolve module: @types/markdown-it
root WARN Failed to resolve module: @types/react
root WARN Failed to resolve module: @types/react-dom
root WARN Failed to resolve module: @types/react-virtualized
root WARN Failed to resolve module: @types/route-parser
root WARN Failed to resolve module: @types/safer-buffer
root WARN Failed to resolve module: @types/ws
root WARN Failed to resolve module: @types/yargs
root WARN Failed to resolve module: @theia/monaco
root WARN Failed to resolve module: @theia/editor
root WARN Failed to resolve module: @types/multer
root WARN Failed to resolve module: @types/rimraf
root WARN Failed to resolve module: @types/tar-fs
root WARN Failed to resolve module: @types/uuid
root WARN Failed to resolve module: @theia/navigator
root WARN Failed to resolve module: @types/p-queue
root WARN Failed to resolve module: @theia/preferences
root WARN Failed to resolve module: @theia/editor-preview
root WARN Failed to resolve module: @theia/keymaps
root WARN Failed to resolve module: @theia/messages
root WARN Failed to resolve module: @types/diff
root WARN Failed to resolve module: @types/mime
root WARN Failed to resolve module: filenamify
root WARN Failed to resolve module: @types/request
root WARN Failed to resolve module: @types/atob
root WARN Failed to resolve module: @types/auth0-js
root WARN Failed to resolve module: @types/btoa
root WARN Failed to resolve module: @types/dateformat
root WARN Failed to resolve module: @types/deepmerge
root WARN Failed to resolve module: @types/glob
root WARN Failed to resolve module: @types/google-protobuf
root WARN Failed to resolve module: @types/js-yaml
root WARN Failed to resolve module: @types/keytar
root WARN Failed to resolve module: @types/ncp
root WARN Failed to resolve module: @types/node-fetch
root WARN Failed to resolve module: @types/ps-tree
root WARN Failed to resolve module: @types/react-select
root WARN Failed to resolve module: @types/react-tabs
root WARN Failed to resolve module: @types/temp
root WARN Failed to resolve module: @types/which
root INFO Updating index: package_index.json completed.
root INFO Updating index: package_index.json.sig completed.
root ERROR Error while updating index in attempt 0.
daemon INFO Checking signature [error: opening signature file: open C:\Users\adame\AppData\Local\Temp\308555183.sig: The system cannot find the file specified., index: C:\Users\adame\AppData\Local\Temp\308555183, signaturefile: C:\Users\adame\AppData\Local\Temp\308555183.sig]
daemon INFO URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json
daemon INFO Updating index [url: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json]
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root ERROR Error: Git installation not found.
    at D:\elektron\Arduino2\Arduino IDE\resources\app\node_modules\find-git-exec\lib\find-git-exec.js:85:69
    at async DefaultGitInit.init (D:\elektron\Arduino2\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\theia\git\git-init.js:22:49)
root INFO Updating index: package_index.json completed.
root INFO Updating index: package_index.json.sig completed.
daemon INFO Checking signature [error: opening signature file: open C:\Users\adame\AppData\Local\Temp\399205316.sig: The system cannot find the file specified., index: C:\Users\adame\AppData\Local\Temp\399205316, signaturefile: C:\Users\adame\AppData\Local\Temp\399205316.sig]
daemon INFO URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json
daemon INFO Updating index [url: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json]
root ERROR Error while updating index in attempt 1.
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root INFO Updating index: package_index.json completed.
root INFO Updating index: package_index.json.sig completed.
daemon INFO Checking signature [error: opening signature file: open C:\Users\adame\AppData\Local\Temp\200781821.sig: The system cannot find the file specified., index: C:\Users\adame\AppData\Local\Temp\200781821, signaturefile: C:\Users\adame\AppData\Local\Temp\200781821.sig]
daemon INFO URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json
daemon INFO Updating index [url: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json]
root ERROR Error while updating index in attempt 2.
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root ERROR DefaultJsonSchemaContribution.registerSchemas is taking more than 500.0 ms, new schemas are ignored.
root INFO Updating index: package_index.json completed.
root INFO Updating index: package_index.json.sig completed.
daemon INFO Checking signature [error: opening signature file: open C:\Users\adame\AppData\Local\Temp\549827370.sig: The system cannot find the file specified., index: C:\Users\adame\AppData\Local\Temp\549827370, signaturefile: C:\Users\adame\AppData\Local\Temp\549827370.sig]
daemon INFO URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json
daemon INFO Updating index [url: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json]
root ERROR Error while updating index in attempt 3.
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root INFO Updating index: package_index.json completed.
root INFO Updating index: package_index.json.sig completed.
daemon INFO Checking signature [error: opening signature file: open C:\Users\adame\AppData\Local\Temp\416220763.sig: The system cannot find the file specified., index: C:\Users\adame\AppData\Local\Temp\416220763, signaturefile: C:\Users\adame\AppData\Local\Temp\416220763.sig]
daemon INFO URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json
daemon INFO Updating index [url: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json]
root ERROR Error while updating index in attempt 4.
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root INFO Updating index: package_index.json completed.
root INFO Updating index: package_index.json.sig completed.
daemon INFO Checking signature [error: opening signature file: open C:\Users\adame\AppData\Local\Temp\568552928.sig: The system cannot find the file specified., index: C:\Users\adame\AppData\Local\Temp\568552928, signaturefile: C:\Users\adame\AppData\Local\Temp\568552928.sig]
daemon INFO URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json
daemon INFO Updating index [url: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json]
root ERROR Error while updating index in attempt 5.
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root INFO Updating index: package_index.json completed.
root INFO Updating index: package_index.json.sig completed.
daemon INFO Checking signature [error: opening signature file: open C:\Users\adame\AppData\Local\Temp\961690697.sig: The system cannot find the file specified., index: C:\Users\adame\AppData\Local\Temp\961690697, signaturefile: C:\Users\adame\AppData\Local\Temp\961690697.sig]
daemon INFO URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json
daemon INFO Updating index [url: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json]
root ERROR Error while updating index in attempt 6.
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root INFO Updating index: package_index.json completed.
root INFO Updating index: package_index.json.sig completed.
daemon INFO Checking signature [error: opening signature file: open C:\Users\adame\AppData\Local\Temp\094393190.sig: The system cannot find the file specified., index: C:\Users\adame\AppData\Local\Temp\094393190, signaturefile: C:\Users\adame\AppData\Local\Temp\094393190.sig]
daemon INFO URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json
daemon INFO Updating index [url: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json]
root ERROR Error while updating index in attempt 7.
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root INFO Updating index: package_index.json completed.
root INFO Updating index: package_index.json.sig completed.
daemon INFO Checking signature [error: opening signature file: open C:\Users\adame\AppData\Local\Temp\339152199.sig: The system cannot find the file specified., index: C:\Users\adame\AppData\Local\Temp\339152199, signaturefile: C:\Users\adame\AppData\Local\Temp\339152199.sig]
daemon INFO URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json
daemon INFO Updating index [url: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json]
root ERROR Error while updating index in attempt 8.
daemon INFO URL: https://downloads.arduino.cc/packages/package_index.json
daemon INFO Updating index [url: https://downloads.arduino.cc/packages/package_index.json]
root INFO Updating index: package_index.json completed.
daemon INFO Checking signature [error: opening signature file: open C:\Users\adame\AppData\Local\Temp\163724604.sig: The system cannot find the file specified., index: C:\Users\adame\AppData\Local\Temp\163724604, signaturefile: C:\Users\adame\AppData\Local\Temp\163724604.sig]
root INFO Updating index: package_index.json.sig completed.
daemon INFO URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json
daemon INFO Updating index [url: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json;https://arduino.esp8266.com/stable/package_esp8266com_index.json]
root ERROR Error while updating index in attempt 9.
daemon INFO Updating libraries index
root INFO Updating index: library_index.json.gz completed.
root INFO Updating index: library_index.json.sig completed.
daemon INFO Checking signature [index: c:\Users\adame\AppData\Local\Arduino15\package_index.json, signaturefile: c:\Users\adame\AppData\Local\Arduino15\package_index.json.sig, trusted: true]
daemon INFO Checking signature [error: opening signature file: open c:\Users\adame\AppData\Local\Arduino15\package_esp8266com_index.json.sig: The system cannot find the file specified., index: c:\Users\adame\AppData\Local\Arduino15\package_esp8266com_index.json, signaturefile: c:\Users\adame\AppData\Local\Arduino15\package_esp8266com_index.json.sig]
daemon INFO Loading hardware from: c:\Users\adame\AppData\Local\Arduino15\packages
daemon INFO Loading package arduino from: C:\Users\adame\AppData\Local\Arduino15\packages\arduino\hardware
daemon INFO Checking signature [error: opening signature file: open C:\Users\adame\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\installed.json.sig: The system cannot find the file specified., index: C:\Users\adame\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\installed.json, signaturefile: C:\Users\adame\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\installed.json.sig]
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"arduino:avr",Installed:"1.8.4",Latest:"1.8.5",Name:"Arduino AVR Boards"}]
daemon INFO Checking signature [error: opening signature file: open C:\Users\adame\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.1.0\installed.json.sig: The system cannot find the file specified., index: C:\Users\adame\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.1.0\installed.json, signaturefile: C:\Users\adame\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.1.0\installed.json.sig]
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"arduino:mbed",Installed:"2.1.0",Latest:"2.8.0",Name:"[DEPRECATED - Please install standalone packages] Arduino Mbed OS Boards"}]
daemon INFO Checking signature [error: opening signature file: open C:\Users\adame\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\2.2.0\installed.json.sig: The system cannot find the file specified., index: C:\Users\adame\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\2.2.0\installed.json, signaturefile: C:\Users\adame\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\2.2.0\installed.json.sig]
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"arduino:mbed_nano",Installed:"2.2.0",Latest:"2.8.0",Name:"Arduino Mbed OS Nano Boards"}]
daemon INFO Checking existence of 'tools' path: C:\Users\adame\AppData\Local\Arduino15\packages\arduino\tools
daemon INFO Loading tools from dir: C:\Users\adame\AppData\Local\Arduino15\packages\arduino\tools
daemon INFO Loaded tool [tool: Version: 1.3.0 Systems: [OS: i686-linux-gnu, OS: x86_64-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: i386-apple-darwin11, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 7-2017q4 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 7.3.0-atmel3.6.1-arduino7 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin14, OS: i686-mingw32, OS: i686-linux-gnu, OS: x86_64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 6.3.0-arduino17 Systems: [OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-apple-darwin12, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 1.9.1-arduino2 Systems: [OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 0.10.0-arduino1 Systems: [OS: i386-apple-darwin11, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loaded tool [tool: Version: 0.11.0-arduino2 Systems: [OS: aarch64-linux-gnu, OS: arm-linux-gnueabihf, OS: i686-linux-gnu, OS: i686-mingw32, OS: i386-apple-darwin11, OS: x86_64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 1.0.2 Systems: [OS: i386-apple-darwin11, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu, OS: x86_64-linux-gnu, OS: i686-linux-gnu, OS: i686-mingw32]]
daemon INFO Loading package builtin from: C:\Users\adame\AppData\Local\Arduino15\packages\builtin
daemon INFO Checking existence of 'tools' path: C:\Users\adame\AppData\Local\Arduino15\packages\builtin\tools
daemon INFO Loading tools from dir: C:\Users\adame\AppData\Local\Arduino15\packages\builtin\tools
daemon INFO Loaded tool [tool: Version: 5.8-arduino11 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 0.9.2]
daemon INFO Loaded tool [tool: Version: 1.0.2]
daemon INFO Loaded tool [tool: Version: 1.0.5 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loaded tool [tool: Version: 1.2.1]
daemon INFO Loaded tool [tool: Version: 1.3.0-rc1]
daemon INFO Loaded tool [tool: Version: 1.3.1]
daemon INFO Loaded tool [tool: Version: 1.3.2 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loaded tool [tool: Version: 0.9.1 Systems: [OS: i686-pc-linux-gnu, OS: x86_64-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-mingw32, OS: x86_64-apple-darwin, OS: arm-linux-gnueabihf, OS: arm64-linux-gnueabihf]]
daemon INFO Loading package emoro from: C:\Users\adame\AppData\Local\Arduino15\packages\emoro\hardware
daemon INFO Loading package esp32 from: C:\Users\adame\AppData\Local\Arduino15\packages\esp32\hardware
daemon INFO Checking signature [error: opening signature file: open C:\Users\adame\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\installed.json.sig: The system cannot find the file specified., index: C:\Users\adame\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\installed.json, signaturefile: C:\Users\adame\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\installed.json.sig]
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"esp32:esp32",Installed:"1.0.6",Latest:"1.0.6",Name:"esp32"}]
daemon INFO Checking existence of 'tools' path: C:\Users\adame\AppData\Local\Arduino15\packages\esp32\tools
daemon INFO Loading tools from dir: C:\Users\adame\AppData\Local\Arduino15\packages\esp32\tools
daemon INFO Loaded tool [tool: Version: 3.0.0 Systems: [OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 0.2.3 Systems: [OS: i686-mingw32, OS: x86_64-apple-darwin, OS: i386-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 1.22.0-97-gc752ad5-5.2.0 Systems: [OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: i686-pc-linux-gnu, OS: arm-linux-gnueabihf, OS: aarch64-linux-gnu]]
daemon INFO Loading package esp8266 from: C:\Users\adame\AppData\Local\Arduino15\packages\esp8266\hardware
daemon INFO Checking signature [error: opening signature file: open C:\Users\adame\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.1\installed.json.sig: The system cannot find the file specified., index: C:\Users\adame\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.1\installed.json, signaturefile: C:\Users\adame\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.1\installed.json.sig]
daemon INFO Adding monitor tool [protocol: serial, tool: builtin:serial-monitor]
daemon INFO Loaded platform [platform: {ID:"esp8266:esp8266",Installed:"3.0.1",Latest:"3.0.2",Name:"esp8266"}]
daemon INFO Checking existence of 'tools' path: C:\Users\adame\AppData\Local\Arduino15\packages\esp8266\tools
daemon INFO Loading tools from dir: C:\Users\adame\AppData\Local\Arduino15\packages\esp8266\tools
daemon INFO Loaded tool [tool: Version: 3.0.3-gcc10.3-9bcba0b Systems: [OS: aarch64-linux-gnu, OS: arm-linux-gnueabihf, OS: i686-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: x86_64-mingw32]]
daemon INFO Loaded tool [tool: Version: 3.0.3-gcc10.3-9bcba0b Systems: [OS: aarch64-linux-gnu, OS: arm-linux-gnueabihf, OS: i686-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: x86_64-mingw32]]
daemon INFO Loaded tool [tool: Version: 3.7.2-post1 Systems: [OS: x86_64-mingw32, OS: i686-mingw32, OS: aarch64-linux-gnu, OS: arm-linux-gnueabihf, OS: i686-pc-linux-gnu, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu]]
daemon INFO Loaded tool [tool: Version: 3.0.3-gcc10.3-9bcba0b Systems: [OS: aarch64-linux-gnu, OS: arm-linux-gnueabihf, OS: i686-pc-linux-gnu, OS: i686-mingw32, OS: x86_64-apple-darwin, OS: x86_64-pc-linux-gnu, OS: x86_64-mingw32]]
daemon INFO Adding libraries dir [dir: C:\Users\adame\AppData\Local\Arduino15\packages\arduino\hardware\mbed\2.1.0\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\adame\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\2.2.0\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\adame\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.4\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\adame\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries, location: platform]
daemon INFO Adding libraries dir [dir: C:\Users\adame\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.1\libraries, location: platform]
daemon INFO starting discovery builtin:serial-discovery process
daemon INFO starting discovery builtin:mdns-discovery process
daemon INFO started discovery builtin:serial-discovery process
daemon INFO sending command HELLO 1 "arduino-cli 0.21.0" to discovery builtin:serial-discovery
daemon INFO from discovery builtin:serial-discovery received message type: hello, message: OK, protocol version: 1
daemon INFO started discovery builtin:mdns-discovery process
daemon INFO sending command HELLO 1 "arduino-cli 0.21.0" to discovery builtin:mdns-discovery
daemon INFO from discovery builtin:mdns-discovery received message type: hello, message: OK, protocol version: 1
daemon INFO sending command START_SYNC to discovery builtin:serial-discovery
daemon INFO sending command START_SYNC to discovery builtin:mdns-discovery
daemon INFO from discovery builtin:serial-discovery received message type: start_sync, message: OK
daemon INFO from discovery builtin:mdns-discovery received message type: start_sync, message: OK
daemon INFO from discovery builtin:serial-discovery received message type: add, port: COM1
root ERROR Request repositories failed with error: Git could not be found at the expected path: 'D:\elektron\Arduino2\Arduino IDE\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe'. This might be a problem with how the application is packaged, so confirm this folder hasn't been removed when packaging.
root WARN Frontend EditorNavigationContribution.onStart is slow, took: 6772.0 ms
root WARN Frontend WorkspaceService.onStart is slow, took: 311.3 ms
root INFO Board config changed:
root INFO Board config changed:
root INFO Changed application state from 'init' to 'started_contributions'.
root INFO Changed application state from 'started_contributions' to 'attached_shell'.
root INFO >>> Restoring the layout state...
Checking for update
root INFO [b0936313-b516-4e44-a363-90a876318b48] Waiting for backend deployment took: 341.4 ms [Finished 10.292 s after frontend start]
root INFO [hosted-plugin: 8224] PLUGIN_HOST(8224) starting instance
root INFO [b0936313-b516-4e44-a363-90a876318b48] Sync of 5 plugins took: 396.2 ms [Finished 10.688 s after frontend start]
Found version 2.0.0-rc5 (url: arduino-ide_2.0.0-rc5_Windows_64bit.exe)
root INFO <<< The layout has been successfully restored.
root ERROR Request repositories failed with error: Git could not be found at the expected path: 'D:\elektron\Arduino2\Arduino IDE\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe'. This might be a problem with how the application is packaged, so confirm this folder hasn't been removed when packaging.
root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
root INFO [b0936313-b516-4e44-a363-90a876318b48][marus25.cortex-debug]: Loaded contributions.
root INFO [b0936313-b516-4e44-a363-90a876318b48][arduino.vscode-arduino-tools]: Loaded contributions.
root INFO [b0936313-b516-4e44-a363-90a876318b48][vscode.cpp]: Loaded contributions.
root INFO [b0936313-b516-4e44-a363-90a876318b48][vscode.json]: Loaded contributions.
root INFO [b0936313-b516-4e44-a363-90a876318b48][vscode.json-language-features]: Loaded contributions.
root INFO [b0936313-b516-4e44-a363-90a876318b48] Load contributions of 5 plugins took: 107.3 ms [Finished 12.067 s after frontend start]
root WARN Frontend EditorPreviewTreeDecorator.onDidInitializeLayout is slow, took: 108.3 ms
root INFO Finished loading frontend application after 12.134 seconds
root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
root WARN a registered grammar configuration for 'cpp' language is overridden
root INFO Changed application state from 'initialized_layout' to 'ready'.
root INFO [hosted-plugin: 8224] PLUGIN_HOST(8224): PluginManagerExtImpl/init()
root INFO [hosted-plugin: 8224] PLUGIN_HOST(8224): initializing(cortex-debug@0.3.10 with D:\elektron\Arduino2\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 8224] Debugger contribution has been registered: cortex-debug
root INFO [hosted-plugin: 8224] PLUGIN_HOST(8224): initializing(vscode-arduino-tools@0.0.2-beta.2 with D:\elektron\Arduino2\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 8224] PLUGIN_HOST(8224): initializing(cpp@1.52.1 with D:\elektron\Arduino2\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 8224] PLUGIN_HOST(8224): initializing(json@1.46.1 with D:\elektron\Arduino2\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 8224] PLUGIN_HOST(8224): initializing(json-language-features@1.46.1 with D:\elektron\Arduino2\Arduino IDE\resources\app\node_modules\@theia\plugin-ext-vscode\lib\node\plugin-vscode-init)
root INFO [hosted-plugin: 8224] PLUGIN_HOST(8224): PluginManagerExtImpl/loadPlugin(D:\elektron\Arduino2\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain)
root INFO [hosted-plugin: 8224] PLUGIN_HOST(8224): PluginManagerExtImpl/loadPlugin(D:\elektron\Arduino2\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle)
root INFO [b0936313-b516-4e44-a363-90a876318b48][marus25.cortex-debug]: Started plugin.
root INFO [b0936313-b516-4e44-a363-90a876318b48][arduino.vscode-arduino-tools]: Started plugin.
root INFO [b0936313-b516-4e44-a363-90a876318b48][vscode.cpp]: Started plugin.
root INFO [b0936313-b516-4e44-a363-90a876318b48][vscode.json]: Started plugin.
root INFO [b0936313-b516-4e44-a363-90a876318b48][vscode.json-language-features]: Started plugin.
root INFO [b0936313-b516-4e44-a363-90a876318b48] Start of 5 plugins took: 1222.2 ms [Finished 13.320 s after frontend start]
root INFO Starting language server: esp8266:esp8266:d1_mini_clone
daemon INFO inventory.Store.ConfigFileUsed() c:\Users\adame\AppData\Local\Arduino15\inventory.yaml
daemon INFO inventory.Store.ConfigFileUsed() c:\Users\adame\AppData\Local\Arduino15\inventory.yaml
daemon INFO Searching tools required for board esp8266:esp8266:d1_mini_clone
daemon INFO Required tool [tool: {ToolName:"mklittlefs",ToolVersion:"3.0.3-gcc10.3-9bcba0b",ToolPackager:"esp8266"}]
daemon INFO Required tool [tool: {ToolName:"mkspiffs",ToolVersion:"3.0.3-gcc10.3-9bcba0b",ToolPackager:"esp8266"}]
daemon INFO Required tool [tool: {ToolName:"python3",ToolVersion:"3.7.2-post1",ToolPackager:"esp8266"}]
daemon INFO Required tool [tool: {ToolName:"xtensa-lx106-elf-gcc",ToolVersion:"3.0.3-gcc10.3-9bcba0b",ToolPackager:"esp8266"}]
daemon INFO Adding libraries dir [dir: D:\elektron\Arduino\libraries, location: ide]
daemon INFO Adding libraries dir [dir: C:\Users\adame\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.1\libraries, location: platform]
daemon INFO Adding libraries dir [dir: c:\Users\adame\Documents\Arduino\libraries, location: user]
root ERROR Request repositories failed with error: Git could not be found at the expected path: 'D:\elektron\Arduino2\Arduino IDE\resources\app\node_modules\dugite-no-gpl\git\cmd\git.exe'. This might be a problem with how the application is packaged, so confirm this folder hasn't been removed when packaging.
daemon INFO Resolving include ESP8266WiFi.h for arch esp8266
daemon INFO   found better lib [lib: ESP8266WiFi, prio: 64C]
daemon INFO Resolving include Ticker.h for arch esp8266
daemon INFO   found better lib [lib: Ticker, prio: 64C]
daemon INFO Resolving include Wire.h for arch esp8266
daemon INFO   found better lib [lib: Wire, prio: 64C]
daemon INFO Resolving include RTClib.h for arch esp8266
daemon INFO   found better lib [lib: RTClib, prio: 643]
daemon INFO Resolving include NTPClient.h for arch esp8266
daemon INFO   found better lib [lib: NTPClient, prio: 643]

I notice this:

It is spending a lot of time making multiple attempts to download these files. These are defined in the "Additional Boards Manager URLs" field.

There are two problems:

  • You have the ESP8266 URL twice, once using the http:// scheme, the other the https:// scheme.
  • You used a semicolon (;) instead of the supported comma (,) as separator between the ESP32 URL and the second ESP8266 URL.
  • You are using the old unsupported URL for ESP32. It was changed some months ago to the new one in the official documentation: Installing — Arduino-ESP32 2.0.14 documentation

Please try this:

  1. Start the Arduino IDE.
  2. Select File > Preferences... from the Arduino IDE menus.
  3. Replace the current contents of the "Additional Boards Manager URLs" field with the following:
    https://arduino.esp8266.com/stable/package_esp8266com_index.json,https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
    
  4. Click the OK button.
  5. Select File > Quit from the Arduino IDE menus.

Now start the Arduino IDE again. Do you notice any difference in startup time?


An annoying thing that might give the impression that the IDE is slow to start up is this bug:

or perhaps this one:

The normal slowness of the Arduino IDE startup leads the impatient like myself to try to multitask around the edges of that "always on top" splash screen. but the Arduino IDE will never complete the startup while you are doing that. You must finally maximize the window (maybe even click on it in some cases?) to finalize the startup. That can give the impression of exceptional slowness when really it is hanging at that final window loading step, which is a different situation from a performance-based slowness.

Hi ptillisch, thank you very much for analyzing my troubles (-: and for the actual URL .
Now the startup-time is about 1min 15sec. Anyway: the ide doesn´t "hang"...

Pls tell me if there is more I could try.

I set my arduino.exe to run as Administrator and it is now fast when i open it

1 Like

I have the same problem with IDE version 2.0.0-rc6 on macOS 12.4
The start up or load a sketch is very slow

Hi all. I'm happy to tell you there is some work in progress to improve the startup time of the Arduino IDE:

All interested parties are invited to try these out and provide feedback via pull request reviews, or by commenting here.

I'll provide instructions for getting the tester builds:

  1. Sign in to your GitHub account.
    (GitHub only allows downloads of the tester builds when you are signed in)
  2. Open the "Checks" tab of the pull request:
    https://github.com/arduino/arduino-ide/pull/1018/checks
  3. From the list of workflow runs on the left side of the page, click on "Arduino IDE" (this is the build workflow).
  4. From the "Artifacts" section of the page, click the download link for your operating system.
  5. Wait for the download to finish.
  6. Extract or install the downloaded file as usual.

Above, you list using Windows Powershell and the '& ".\Arduino IDE"' command. What are the equivalent steps for Linux?

Hi @fdecker. Assuming you are using the AppImage package of the IDE, these are the Linux version of the instructions

  1. Open a command line terminal in the folder that contains the AppImage file.
  2. Type the following command:
    ./arduino-ide_TODO_VERSION_Linux_64bit.AppImage
    
  3. Press the Enter key.
    Debug output should now be printed to the PowerShell window as the Arduino IDE starts (or fails to start).
  4. Wait for the Arduino IDE to finish starting, or failing to start.
  5. Switch back to the terminal window if the Arduino IDE window took the focus.
  6. Use the mouse to select all the text in the terminal window. Make sure to scroll all the way up to the top.
  7. Press Ctrl+Shift+C.
    This will copy the selected text to the clipboard.
  8. Open a forum reply here by clicking the Reply button.
  9. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block
  10. Press Ctrl+V.
    This will paste the output into the code block.
  11. Move the cursor outside of the code block markup before you add any additional text to your reply.
  12. Click the Reply button to post the output.

Please let me know if you have any questions or problems while following those instructions.

1 Like

good job ptillisch

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.