uce/site/doc/pages/request_perf.txt
2026-06-16 23:02:45 +00:00

17 lines
432 B
Plaintext

:sig
DValue request_perf()
:params
return value : performance snapshot for the active request/workspace
:see
>sys
>time_precise
:content
Returns a DValue with timing and process metadata such as worker pid, parent pid, request count, request start times, and workspace birth timing when available.
:example
DValue perf = request_perf();
print(perf.get_type_name() != "invalid" ? "captured a timing snapshot" : "no data", "\n");