BUG-2459: do not convert NetconfMessage 84/13384/5
authorRobert Varga <rovarga@cisco.com>
Thu, 4 Dec 2014 22:55:47 +0000 (23:55 +0100)
committerTony Tkacik <ttkacik@cisco.com>
Mon, 8 Dec 2014 09:02:41 +0000 (09:02 +0000)
Router's onNetconfMessage shows up as a hotspot in performance traces,
which turns out to be another case of coversion of XML document to a
string just for debugging/error handling purposes.

In case of a debug + error we are taking the hit of one toString()
operation, but that should be fine. We make that up by being smarter
about creating maps in the error path.

Change-Id: I78ec6ad44c4689b67bbc51184465c5092b0d8657
Signed-off-by: Robert Varga <rovarga@cisco.com>

No differences found