Add minimal duration to starlark functions.
RELNOTES: None
@@ -64,10 +64,10 @@ public enum ProfilerTask {
HANDLE_GC_NOTIFICATION("gc notification"),
LOCAL_CPU_USAGE("cpu counters"),
ACTION_COUNTS("action counters"),
- STARLARK_PARSER("Starlark Parser"),
- STARLARK_USER_FN("Starlark user function call"),
- STARLARK_BUILTIN_FN("Starlark builtin function call"),
- STARLARK_USER_COMPILED_FN("Starlark compiled user function call"),
+ STARLARK_PARSER("Starlark Parser", Threshold.FIFTY_MILLIS),
+ STARLARK_USER_FN("Starlark user function call", Threshold.FIFTY_MILLIS),
+ STARLARK_BUILTIN_FN("Starlark builtin function call", Threshold.FIFTY_MILLIS),
+ STARLARK_USER_COMPILED_FN("Starlark compiled user function call", Threshold.FIFTY_MILLIS),
ACTION_FS_STAGING("Staging per-action file system"),
REMOTE_CACHE_CHECK("remote action cache check"),
REMOTE_DOWNLOAD("remote output download"),
