Tim Mayberry
97752e6a51
Use references rather than copying containers in libpbd xml code
It is slightly surprising but there seems to be little difference to
performance with these changes. Possibly a slight improvement in "Create" test
with a large xml document(~5%).
Timing results before these changes with an optimized build using new XML perf tests:
XMLTest::testPerfMediumXMLDocumentTiming
Create : Count: 10 Min: 38656 Max: 63827 Total: 571228 Avg: 57122 (57 msecs)
Write : Count: 10 Min: 43594 Max: 49279 Total: 459907 Avg: 45990 (45 msecs)
Read : Count: 10 Min: 80247 Max: 84912 Total: 827207 Avg: 82720 (82 msecs)
XMLTest::testPerfLargeXMLDocumentTiming
Create : Count: 10 Min: 230706 Max: 456054 Total: 3850998 Avg: 385099 (385 msecs)
Write : Count: 10 Min: 312322 Max: 353789 Total: 3264211 Avg: 326421 (326 msecs)
Read : Count: 10 Min: 573556 Max: 610865 Total: 5951908 Avg: 595190 (595 msecs)
Timing results after these changes:
XMLTest::testPerfMediumXMLDocumentTiming
Create : Count: 10 Min: 41293 Max: 63746 Total: 564448 Avg: 56444 (56 msecs)
Write : Count: 10 Min: 42932 Max: 49221 Total: 453955 Avg: 45395 (45 msecs)
Read : Count: 10 Min: 80160 Max: 84678 Total: 824506 Avg: 82450 (82 msecs)
XMLTest::testPerfLargeXMLDocumentTiming
Create : Count: 10 Min: 228759 Max: 420236 Total: 3587597 Avg: 358759 (358 msecs)
Write : Count: 10 Min: 307095 Max: 348767 Total: 3205704 Avg: 320570 (320 msecs)
Read : Count: 10 Min: 572400 Max: 657219 Total: 5959630 Avg: 595963 (595 msecs)
2016-10-10 08:45:34 +10:00
..
2015-10-04 15:11:15 -04:00
2015-06-29 14:18:10 -04:00
2016-08-19 14:11:01 +01:00
2016-09-15 14:39:38 +01:00
2016-10-10 08:45:34 +10:00
2016-10-10 08:45:34 +10:00
2016-07-14 14:45:23 -04:00
2015-10-04 14:51:05 -04:00
2015-10-05 16:17:49 +02:00
2015-10-04 14:51:05 -04:00
2013-08-08 15:26:18 -04:00
2015-10-04 14:51:05 -04:00
2016-05-04 23:09:45 -04:00
2016-07-14 14:45:23 -04:00
2016-07-14 14:45:23 -04:00
2016-06-26 16:43:07 +02:00
2015-10-04 14:51:05 -04:00
2016-04-26 19:45:06 +02:00
2015-10-05 16:17:49 +02:00
2013-07-17 08:06:26 +01:00
2016-07-14 14:45:23 -04:00
2015-12-01 14:22:38 +10:00
2016-07-12 08:34:35 -04:00
2016-07-14 14:45:23 -04:00
2015-10-05 16:17:49 +02:00
2015-10-04 14:51:05 -04:00
2016-07-14 14:45:23 -04:00
2015-10-05 16:17:49 +02:00
2016-09-19 11:33:07 +02:00
2016-09-19 14:47:52 +10:00
2016-07-14 14:45:23 -04:00
2015-10-05 16:17:49 +02:00
2016-07-18 10:56:43 -04:00
2014-03-04 15:25:58 +01:00
2016-07-14 14:45:23 -04:00
2015-10-05 16:17:49 +02:00
2016-10-04 22:18:23 +02:00
2016-02-17 17:03:14 +01:00
2016-09-19 14:47:52 +10:00
2016-07-14 14:45:23 -04:00
2015-10-05 16:17:49 +02:00
2015-10-05 16:17:49 +02:00
2016-07-25 17:16:32 +02:00
2016-07-19 15:05:16 +02:00
2016-08-14 08:33:23 -04:00
2013-07-17 08:08:46 +01:00
2014-12-03 17:31:04 +07:00
2015-10-22 11:51:03 -04:00
2015-12-02 20:18:48 +01:00
2015-10-05 16:17:49 +02:00
2015-10-04 14:51:05 -04:00
2015-12-01 14:22:38 +10:00
2016-07-14 14:45:23 -04:00
2016-07-14 14:45:23 -04:00
2015-10-04 14:51:05 -04:00
2015-10-05 16:17:49 +02:00
2016-02-14 00:10:41 +01:00
2015-10-05 16:17:49 +02:00
2015-10-30 15:55:26 +01:00
2016-10-10 08:45:34 +10:00
2016-07-19 20:33:36 +02:00
2015-10-05 16:17:49 +02:00
2015-10-05 16:17:49 +02:00
2014-02-17 15:29:18 -05:00
2015-10-05 16:17:49 +02:00
2015-09-16 11:22:16 +10:00
2015-10-05 16:17:49 +02:00
2016-07-14 14:45:23 -04:00
2016-10-04 22:18:52 +02:00
2016-10-10 08:45:34 +10:00