clerk

hlship 2024-01-04T20:32:45.167719Z

Something that I would find useful would be metadata that would cause Clerk to output an expression and then identify how long evaluating the expression took, like an implicit, formatted (time ...) around the expression.

πŸ‘ 1
πŸ‘πŸ» 1
βž• 1
πŸ€” 1
teodorlu 2024-01-05T11:18:32.944469Z

Another approach could be to allow showing β€œhow long did this take?” for any toplevel expression. Not sure what kind of UI would make sense, though.

mkvlr 2024-01-07T15:50:54.911289Z

the video at the bottom of the PR description of https://github.com/nextjournal/clerk/pull/207 shows an idea for how to show exec duration for folded cells. Still haven’t come up with a good way for how to do that for any cell.

πŸ‘ 1
mkvlr 2024-01-07T15:51:45.663979Z

still think something like this would be helpful for sure, showing exec duration along with cache info

πŸ‘ 3
Samuel Ludwig 2024-01-04T20:38:48.828879Z

would this theoretically be for just debugging?, otherwise im sure theres some renderer-related thing that might let you accomplish this?