Skip to content

Commit 68fc92c

Browse files
Improve performance and reduce profiling overhead
- Pre-fetch and cache function metadata (inspect calls) at decoration time. - Use code object identity comparison in line-by-line trace function. - Implement buffered logging for shared logs to reduce I/O overhead. - Handle trace 'return' event for accurate last-line profiling. - Optimize string building in HTML exports using list joins. - Delay expensive string conversions for arguments and return values. - Minimize redundant time.strftime calls. Co-authored-by: Infinitode <107624055+Infinitode@users.noreply.github.com>
1 parent ac50599 commit 68fc92c

1 file changed

Lines changed: 174 additions & 147 deletions

File tree

0 commit comments

Comments
 (0)