Skip to content

Cold Start Profiling

Thomas Cherryhomes edited this page May 18, 2024 · 2 revisions

This is the result of an impromptu profiling effort to reduce start-up time.

Ultimate Goal

  • 450ms

Source

https://github.com/FujiNetWIFI/fujinet-firmware/blob/master/src/main.cpp

Results

Line ms Description
152 3 Immediately after start
165 18 nvs_flash_init()
194 19 check_hardware_ver()
196 19 fnKeyManager.setup()
199 19 fnLedManager.setup()
200 430 fsFlash.start()
202 507 fnSDFAT.start()
208 508 crypto.setkey()
212 588 Config.load()
216 760 theFuji.setup()

Clone this wiki locally