Can anyone measure boot timing?

Hello everyone,
I’m wondering what is the approximate timing from power-on to desktop, using a Debian / Ubuntu out of the box?
Just in case, did anyone tried to optimize that and push it to the limit?

I ask so, because I’m considering a sort of embedded Kiosk-like application, where boot time matters.

Thanks in advance!

Under what condition? Which drive? Sd? Emmc? Nvme? With what utility you prefer to test it? Or you are okay with stopwatch?

I would do it like that:

  1. put time in file following a reboot command
  2. put time in file executing /etc/rc.local
  3. compare the files

For my need a stopwatch is fair enough.
SD or eMMC: nvme would be a plus!

For me, with my solution, it is 18 seconds - eMMC, Ubuntu. From reboot command till end of rc.local.

Thank you very much!