Xline icon indicating copy to clipboard operation
Xline copied to clipboard

[Feature]: Instrument the execution path of the command (i.e. `fast_path` or `slow_path`)

Open iGxnon opened this issue 6 months ago • 6 comments

Description about the feature

Instrument the execution path of the command (i.e. fast_path or slow_path). Beneficial for debugging.

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

iGxnon avatar Dec 19 '23 08:12 iGxnon

Nice to have a try with: await-tree

iGxnon avatar Dec 19 '23 08:12 iGxnon

Hello there @iGxnon ! I'd like working on this issue. Could I be assigned this? Also, what exactly does "instrument" mean here?

Harsh1s avatar Mar 02 '24 18:03 Harsh1s

Hello there @iGxnon ! I'd like working on this issue. Could I be assigned this? Also, what exactly does "instrument" mean here?

Greate to have you on board! There is a macros call instrument in tracing. It could be used to instrument a function every time it is called. So "instrument" here is similar to "log". Currently, we have logged some simple information to display the execution path of the command. We hope to use more detailed information to show this process (i.e. use await-tree to indicate the duration of each await.).

iGxnon avatar Mar 03 '24 05:03 iGxnon

Let me try

GFX9 avatar Mar 04 '24 01:03 GFX9

Let me try

Although you are free to do so, I think it would be better if you tried some other issue as it could mean wasted efforts from one side.

Harsh1s avatar Mar 04 '24 06:03 Harsh1s

Let me try

Although you are free to do so, I think it would be better if you tried some other issue as it could mean wasted efforts from one side.

Ok

GFX9 avatar Mar 04 '24 10:03 GFX9