[Libre-soc-bugs] [Bug 1224] refactor logging

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Nov 29 18:48:18 GMT 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1224

--- Comment #5 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Jacob Lifshay from comment #4)
> openpowerbot	[irc] <programmerjake> one technical reason to use log, instead
> of python's logging library (though this definitely isn't why luke chose
> print), is that I designed it to be very fast when logging is disabled, iirc
> just 2 dict lookups	18:38

when full logging is enabled, the simulator takes like 2 times as long to run,
so log is very hot code.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list