Subject: Re: bug#47306: 28.0.50; [PATCH] Add optional FORMAT argument to 'emacs-init-time'

From: Gabriel <[email-masked]>
Date: Mon, 22 Mar 2021 20:04:13 -0300

>> This patch adds an optional argument FORMAT to 'emacs-init-time',
>> similar to 'emacs-uptime'.
>
> I'm not quite sure what the use case is here?  `emacs-uptime' uses
> format-seconds, so it's a bit different...

Hi Lars,

The idea is to provide a flexible way for users to define their own
format to 'emacs-init-time'. It's very common for user to copy-paste
this function just to change the format, e.g., to use 2 decimal
places. For instance, see:

https://www.reddit.com/r/emacs/comments/m8d55l/what_is_your_startup_time/
https://blog.d46.us/advanced-emacs-startup/
https://emacs.stackexchange.com/questions/19249/long-pause-during-emacs-startup-prior-to-init-file-running
https://github.com/emacs-dashboard/emacs-dashboard/issues/57