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
..
2021-09-14 15:15:11 -07:00
2020-02-06 16:50:08 +01:00
2021-04-20 11:03:23 -07:00
2021-04-20 11:03:23 -07:00
2017-08-10 18:45:00 +02:00
2021-04-20 11:03:23 -07:00
2021-03-02 01:15:32 +01:00
2021-02-16 13:23:16 -08:00
2017-08-10 18:45:00 +02:00
2021-04-20 11:03:23 -07:00
2021-04-20 11:03:23 -07:00
2021-04-20 11:03:23 -07:00
2021-04-20 11:03:23 -07:00
2017-08-10 18:45:00 +02:00
2021-04-20 11:03:23 -07:00
2017-08-10 18:45:00 +02:00
2021-04-20 11:03:23 -07:00
2017-08-10 18:45:00 +02:00
2021-04-20 11:03:23 -07:00
2021-04-20 11:03:23 -07:00
2017-08-10 18:45:00 +02:00
2021-04-20 11:03:23 -07:00
2017-08-10 18:45:00 +02:00
2021-04-20 11:03:23 -07:00
2021-04-20 11:03:23 -07:00
2017-08-10 18:45:00 +02:00
2021-04-20 11:03:23 -07:00
2017-08-10 18:45:00 +02:00
2019-11-17 09:55:51 +08:00
2021-04-20 11:03:23 -07:00
2021-09-14 15:15:11 -07:00
2021-04-20 11:03:23 -07:00
2017-08-10 18:45:00 +02:00
2021-09-14 15:15:11 -07:00
2021-04-20 11:03:23 -07:00
2017-08-10 18:45:00 +02:00
2021-09-14 09:32:12 -07:00
2021-09-14 09:32:12 -07:00
2021-02-16 13:23:16 -08:00
2021-02-16 13:23:16 -08:00
2017-08-10 18:45:00 +02:00
2021-04-20 11:03:23 -07:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2021-02-16 13:23:16 -08:00
2021-05-17 21:00:59 +08:00
2021-09-14 08:29:11 -07:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2021-04-20 11:03:23 -07:00
2019-11-25 00:42:40 +01:00
2021-04-20 11:03:23 -07:00
2018-08-13 11:52:43 -07:00
2021-05-30 11:09:39 +08:00
2018-01-08 13:01:29 +11:00
2017-08-10 18:45:00 +02:00
2017-10-26 14:05:17 +02:00
2017-08-10 18:45:00 +02:00
2021-02-16 13:23:16 -08:00
2020-09-06 00:50:54 -04:00
2018-08-13 11:52:43 -07:00
2021-09-14 15:15:11 -07:00
2021-04-20 11:03:23 -07:00
2017-08-10 18:45:00 +02:00