Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logging of user and sys times for evaluated .tcl #1568

Merged
merged 5 commits into from May 5, 2024

Conversation

michaelortmann
Copy link
Member

@michaelortmann michaelortmann commented Apr 26, 2024

Found by: michaelortmann
Patch by: michaelortmann
Fixes:

One-line summary:
Add logging of user and sys times for evaluated .tcl commands

Additional description (if needed):

Test cases demonstrating functionality (if applicable):

.tcl source scripts/g_pbkdf2.tcl
[09:44:11] tcl: builtin dcc call: *dcc:tcl -HQ 1 source scripts/g_pbkdf2.tcl
[09:44:11] tcl: evaluating .tcl source scripts/g_pbkdf2.tcl
[09:44:11] tcl: evaluated .tcl source scripts/g_pbkdf2.tcl, user 64.542ms sys 64.414ms
Tcl: 
.tcl pbkdf2::pbkdf2 sha256 hunter 42 1500
[09:44:15] tcl: builtin dcc call: *dcc:tcl -HQ 1 pbkdf2::pbkdf2 sha256 hunter 42 1500
[09:44:15] tcl: evaluating .tcl pbkdf2::pbkdf2 sha256 hunter 42 1500
[09:44:15] tcl: evaluated .tcl pbkdf2::pbkdf2 sha256 hunter 42 1500, user 538.320ms sys 0.000ms
3V_nep¡Ð¤òüÌê »^áÅÊT~3ö,

Michael Ortmann added 2 commits April 26, 2024 18:09
…e logging of user and sys times for triggered binds and evaluated .tcl commands optional via eggdrop.conf setting
@michaelortmann michaelortmann changed the title (WIP) Add logging of user and sys times for evaluated .tcl Add logging of user and sys times for evaluated .tcl Apr 26, 2024
eggdrop.conf Outdated Show resolved Hide resolved
@vanosg vanosg added this to the v1.10.1 milestone May 4, 2024
Michael Ortmann added 3 commits May 4, 2024 09:36
@vanosg vanosg modified the milestones: v1.10.1, v1.10.0 May 5, 2024
@vanosg vanosg merged commit 7c0df73 into eggheads:develop May 5, 2024
2 checks passed
@michaelortmann michaelortmann deleted the log.time branch May 6, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants