How fast does Optiboot boot?

Hey guts,

I was wondering... Exactly how long is the delay between when you apply power to an Arduino wit Optiboot installed, and when your sketch begins?

I was thinking about having the LED on my power switch be software controlled so I could potentially blink it, but it would feel weird if you turned the device on and it took a second for it to illuminate.

Exactly how long is the delay between when you apply power to an Arduino wit Optiboot installed, and when your sketch begins?

About 2 microseconds longer than it would take without the bootloader present. This is called the "adaboot no-wait mod"; when the bootloader starts, it checks the reset reason, and if it was "poweron" it goes directly to the sketch. Only a reset from the reset switch actually starts the timed bootloader activity...

Cool, thanks. :-)