cleanup, docs
This commit is contained in:
@@ -12,4 +12,5 @@ return value : performance snapshot for the active request/workspace
|
||||
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
|
||||
print("request_perf example\n");
|
||||
DValue perf = request_perf();
|
||||
print(perf.get_type_name() != "invalid" ? "captured a timing snapshot" : "no data", "\n");
|
||||
|
||||
Reference in New Issue
Block a user