Wall-clock milliseconds runScript itself spent walking the directory tree and computing
groupings — reported back for a direct comparison against the equivalent native Rust endpoint
(POST /database/scripts/subfolders-to-categories's own elapsed_ms), which does the
identical job. Not a generic field every script plugin is expected to fill in (foldertocat
only).
Usage
import { type ScriptResult } from "crates/lanrurugi-plugin/dispatcher/plugin-sdk.ts";