-
Notifications
You must be signed in to change notification settings - Fork 78
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.
- 450ms
https://github.com/FujiNetWIFI/fujinet-firmware/blob/master/src/main.cpp
| 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() |
Method is different than above. Instead, we return at different line numbers.
| Line | ms | Description |
|---|---|---|
| 2127 | 589 | _sio_bus = siobus; |
| 2129 | 589 | populate_slots_from_config(); |
| 2131 | 761 | insert_boot_device(Config.get_general_boot_mode()) |
Copyright 2024 Contributors to the FujiNetWIFI project.
Join us on Discord: https://discord.gg/7MfFTvD
- Home
- What is FujiNet?
- The Definition of Done
- Board bring up for FujiNet Platform.IO code
- The Complete Linux CLI Guide
- The Complete macOS CLI Guide
- Development Env for Apps
- FujiNet-Development-Guidelines
- System Quickstarts
- FujiNet Flasher
- Setting up a TNFS Server
- FujiNet Configuration File: fnconfig.ini
- AppKey Registry - SIO Command $DC Open App Key
- CP-M Support
- BBS
- Official Hardware Versions
- Prototype Board Revisions
- FujiNet Development Guidelines
- Atari Programming
- Apple Programming
- C64 Programming
- ADAM Programming
- Testing Plan
- Hacker List
- FujiNet VirtualMachine