mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-18 12:22:10 +03:00
12 lines
326 B
Plaintext
12 lines
326 B
Plaintext
|
:: Time an operation, usage :time foo, |time :foo
|
||
|
::
|
||
|
:::: /hook/core/time/app
|
||
|
::
|
||
|
/+ sh-utils
|
||
|
|_ [hide ~]
|
||
|
++ peer ,_`.
|
||
|
++ poke--args (add-resp [%pass /(scot %da lat) %t %wait lat] ,_`.)
|
||
|
++ pour |=([@ a=path *] %.(+< (args-into-gate +> ,_(resu a))))
|
||
|
++ resu |=(a=path tang/[>`@dr`(sub lat (slav %da -.a))<]~)
|
||
|
--
|