import { reltimestr } from "https://deno.land/x/denops_std@v3.7.0/function/mod.ts";
Return a String that represents the time value of {time}. This is the number of seconds, a dot and the number of microseconds. Example: let start = reltime() call MyFunction() echo reltimestr(reltime(start)) Note that overhead for the commands will be added to the time. The accuracy depends on the system. Leading spaces are used to make the string align nicely. You can use split() to remove it. echo split(reltimestr(reltime(start)))[0] Also see |profiling|. Can also be used as a |method|: reltime(start)->reltimestr() {only available when compiled with the |+reltime| feature}
Parameters
denops: Denops