_XDEBUG is often _extremely_ expensive (the << operators for e.g.
authorMichael Matz <matz@suse.de>
Thu, 7 Feb 2008 23:54:37 +0000 (23:54 +0000)
committerMichael Matz <matz@suse.de>
Thu, 7 Feb 2008 23:54:37 +0000 (23:54 +0000)
commit2188e3d83fc29bee428622677ae23b73da2871e9
treefb454eb5c5087cd6844397c3c62fbe54ec1c58ee
parent5a5368776f2c9e83a618de54a209e01bafd3cb3c
_XDEBUG is often _extremely_ expensive (the << operators for e.g.
solvables and the like).  So guard applying the operators with a check
for excessive debugging.  That's nearly 25% of the runtime of "zypper in
-D something".
zypp/base/LogControl.cc
zypp/base/Logger.h
zypp/solver/detail/Types.h