void-runit icon indicating copy to clipboard operation
void-runit copied to clipboard

runit-startuptime: new script

Open classabbyamp opened this issue 1 year ago • 5 comments

just a silly little script to "analyze" boot time

example output:

# runit-startuptime
initramfs       0.646 s
core-services   4.002 s
  00-pseudofs           0.056 s
  01-static-devnodes    1.178 s
  02-kmods              0.027 s
  02-udev               2.413 s
  03-console-setup      0.096 s
  03-filesystems        0.202 s
  04-swap               0.004 s
  05-misc               0.015 s
  08-sysctl             0.008 s
  20-screen             0.001 s
  98-sbin-merge         0.000 s
  99-cleanup            0.001 s
rc.local        0.002 s
total           7.952 s

classabbyamp avatar Sep 04 '24 14:09 classabbyamp

The name comes from systemd-analyze, but I think that naming is a little bit obtuse in the first place. What about a more descriptive name like runit-startuptime or similar?

0x5c avatar Sep 04 '24 17:09 0x5c

Do you mind if we merge https://github.com/void-linux/void-runit/pull/122 first?

Vaelatern avatar Sep 06 '24 03:09 Vaelatern

please do

classabbyamp avatar Sep 06 '24 03:09 classabbyamp

this is fun :)

duskmoss avatar Sep 06 '24 04:09 duskmoss

Tested on x86_64 and it works :D

AnInternetTroll avatar Sep 06 '24 21:09 AnInternetTroll

Can this not be merged? :-)

Anachron avatar Nov 13 '24 13:11 Anachron

no, i need to fix something still

classabbyamp avatar Nov 13 '24 14:11 classabbyamp