Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IOLimit ¶
IOLimit returns a concurrency cap for I/O-bound file operations. SSD-backed filesystems benefit from more outstanding requests than there are CPU cores.
func ShouldParallelize ¶
ShouldParallelize reports whether a build phase has enough work to benefit from worker fan-out. Small phases stay serial to avoid goroutine overhead.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.