eggdrop icon indicating copy to clipboard operation
eggdrop copied to clipboard

trace-Functions called to many times

Open michaelortmann opened this issue 6 years ago • 1 comments

I see trace-Functions and related functions called to many times, for example during startup of a bot:

https://github.com/eggheads/eggdrop/tree/cbb5dad2566a2b57d6cb8574724433b80827441d/src/mod/server.mod/server.c#L1368 5 times https://github.com/eggheads/eggdrop/tree/cbb5dad2566a2b57d6cb8574724433b80827441d/src/mod/server.mod/server.c#L1330 6 times https://github.com/eggheads/eggdrop/tree/cbb5dad2566a2b57d6cb8574724433b80827441d/src/mod/irc.mod/irc.c#L1019 3 times

It's not really a bug, but a waste of CPU.

michaelortmann avatar Aug 28 '19 00:08 michaelortmann

Looks like we set TCL_TRACE_READS too often.

michaelortmann avatar Nov 03 '19 05:11 michaelortmann