News for hackers. Stuff that matters.
Re:Show HN: A simple, pretty alternative to strace written i... by pojntfx on Friday July 29, 2022 @08:33AM (#32276076)
Cool project, I really like the new structured output - that will make parsing stuff much easier than with strace! Is the performance overhead of tracing the syscalls comparable to strace?
Re:Show HN: A simple, pretty alternative to strace written i... by JAKWAI on Friday July 29, 2022 @08:52AM (#32276221)
Thanks for your feedback :D! I have actually never tested the performance compared to strace. I just used `time` to try to get a rough estimate and the two were basically taking the same time for the tasks I threw at them. I certainly think that there is _some_ overhead. Either in my _not fully optimized_ implementation or in the libc wrappers the *nix crate provides. Probably the former ;).
Re:Show HN: A simple, pretty alternative to strace written i... by pojntfx on Friday July 29, 2022 @09:26AM (#32276538)
Oh right, that makes sense!