Skip to content

ESP32S3 Boot Very Slow with Large codebase #1183

Answered by phoddie
linfan68 asked this question in Q&A
Discussion options

You must be logged in to vote

Good morning!

Congratulations on getting such a large code base shared between the two environments. It isn't 100% obvious what might be causing the slow down here. Let's try to figure it out.

The delay is after the virtual machine is instantiated. We know that because the "No Wi-Fi SSID" message is logged by setup code that is implemented in JavaScript. That helps to limit where we need to look.

...based on my understanding of the XS engine, having a large code base should not be an issue since the byte-code is stored and executed in ROM. In fact, according to the documentation:

Since everything is ready in ROM, your application boots instantaneously.

This sentence is preceded by a d…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@linfan68
Comment options

@linfan68
Comment options

@phoddie
Comment options

Answer selected by linfan68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants