HomeFreeBSD

loader printf: Profile with TSLOG

Description

loader printf: Profile with TSLOG

Now that the loader tslog code doesn't call printf, we can profile
printf using TSLOG. On an EC2 c5.xlarge instance, we spend roughly
45 ms here (out of roughly 500 ms), presumably due to the time spent
writing output to the console.

MFC after: 1 week
Sponsored by: https://www.patreon.com/cperciva

Details

Provenance
cpercivaAuthored on Sep 25 2021, 3:20 AM
Parents
rG242923eb848a: loader tslog: Don't use sprintf
Branches
Unknown
Tags
Unknown