This repository has been archived by the owner on Jan 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
oelite/oven.py: record and store detailed task timings
All pre- and post-funcs run synchronously in the main oe process. Some of these tend to be rather time-consuming, so it would be better if they could be made into tasks of their own, or run as part of the main task function, or just optimized to run faster. Otherwise, the oven risks being underused for a long time (for example, some do_install script finishes, and we go on to execute the associated postfuncs, which may take > 30 seconds to complete - meanwhile, some do_compile task has finished, but there's no way we'll notice before we're done with those postfuncs). Knowing which tasks' pre- and postfuncs take a long time is useful for finding recipes (or maybe whole classes) that are worth optimizing.
- Loading branch information
Rasmus Villemoes
committed
Nov 10, 2016
1 parent
d35485c
commit 2364682
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters