Files
gnucash/libgnucash/backend/xml/test
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-03-02 01:15:32 +01:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00

These are tests of the file backend.

TESTS:
------

test-dom-converters1.c: test each simple dom converter
test-dom-parser1.c: unused now
test-kvp-frames.c: test the kvp frame dom generators and parsers
test-load-xml2.c: test the larger xml loading
test-save-in-lang.c: incomplete test to test saving in different LANGs
test-string-converters.c: test some string converters
test-xml-account.c: test xml v2 converters and parsers for Account's
test-xml-commodity.c: ditto gnc_commodity's
test-xml-transaction.c: ditto Transaction's
test-xml2-is-file.c: test the is_file function
test-real-data.sh: run the test-xml-{account,commodity,transaction} programs
                   on real data rather than random data