MCPcopy Create free account
hub / github.com/VKCOM/kphp / _calculate_kphp_jobs_count

Method _calculate_kphp_jobs_count

tests/python/lib/kphp_builder.py:122–131  ·  view source on GitHub ↗

Determine the percentage of the total number of CPU cores to use for running parallel KPHP compilation. It is recommended not to allocate more than 25% of the available cores to avoid resource starvation.

(self, default_percent: int = 25)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

compile_with_kphpMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected