mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-24 07:26:51 +03:00
647 B
647 B
sigbuc, ~$
, %sgbc
Label for profiling
~$
, sigbuc
, [%sgbc p=term q=twig]
is a synthetic rune that labels
computation q
as p
for profiling.
Produces
Twig: [%sgbc p=term q=twig]
Sample
Tall form
~$ p
q
Wide form
~$(p q)
Irregular form
None
Examples
~zod/try=> (make '~$(foo |-($))')
[%10 p=[p=1.702.259.052 q=[%1 p=7.303.014]] q=[%8 p=[%1 p=[9 2 0 1]] q=[%9 p=2 q=[%0 p=1]]]]
~zod/try=> `@tas`1.702.259.052
%live
~zod/try=> `@tas`7.303.014
%foo