[Bug 287274] user/system time logging for build targets in src/Makefile
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287274] user/system time logging for build targets in src/Makefile"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287274] user/system time logging for build targets in src/Makefile"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287274] user/system time logging for build targets in src/Makefile"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287274] user/system time logging for build targets in src/Makefile"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287274] user/system time logging for build targets in src/Makefile"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287274] user/system time logging for build targets in src/Makefile"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Jun 2025 16:52:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287274
Bug ID: 287274
Summary: user/system time logging for build targets in
src/Makefile
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: wosch@FreeBSD.org
For some of our build targets such as buildworld, buildkernel etc. we log the
real time in seconds how the build runs. It would be great if we log the user
and system time as well.
Right now you have to run: time make buildworld
to get the user/system time.
With this patch the time command would run inside src/Makefile for most
targets. Example output:
make buildkernel
Time spent on target buildkernel: real 2.81 user 22.72 sys 31.71
make buildworld
Time spent on target buildworld: real 65.00 user 242.64 sys 96.59
some targets calls other targets, so you will see them all:
make packages
Time spent on target distributekernel: real 18.58 user 10.78 sys 13.37
Time spent on target stagekernel: real 18.63 user 10.84 sys 13.46
Time spent on target stageworld: real 104.16 user 141.38 sys 102.14
Time spent on target real-packages: real 597.63 user 2190.64 sys 195.80
Time spent on target packages: real 597.73 user 2191.45 sys 196.76
Tested on FreeBSD and MacOS. It should work on Linux as well.
--
You are receiving this mail because:
You are the assignee for the bug.