gnucash/libgnucash/backend
John Ralls 74d0630867 Bug 798237 - Logging during XML file loading degrades performance...
significantly

Modify the DEBUG and PINFO macros to return unless qof_log_check is
true. Replace almost all direct calls to g_debug and g_message with
DEBUG and PINFO respectively.

Track the highest logging level sent to qof_log_set_level to provide a
short-circuit return in qof_log_check. Remove setting GNC_MOD_TESTS to
QOF_LOG_DEBUG so that the short-circuit threshold isn't defeated by
always being DEBUG.

Net result: 33% improvement in xml load times.
2021-09-14 15:15:11 -07:00
..
dbi g_free gnc-path's gchar* intermediate strings 2021-08-03 12:14:12 +08:00
sql g_free qof_print_date which returns a new char* 2021-08-05 09:23:28 +08:00
xml Bug 798237 - Logging during XML file loading degrades performance... 2021-09-14 15:15:11 -07:00
CMakeLists.txt Lowercase cmake commands 2018-05-03 23:18:15 +02:00