[icinga-checkins] icinga.org: icinga2/master: Improve performance for type lookups

git at icinga.org git at icinga.org
Tue Aug 16 11:03:36 CEST 2016


Module: icinga2
Branch: master
Commit: b7a1b58069d826bf8d2df5082b19f2e924e8923c
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=b7a1b58069d826bf8d2df5082b19f2e924e8923c

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Tue Aug 16 11:02:10 2016 +0200

Improve performance for type lookups

fixes #12448

---

 lib/base/configobject.cpp             |   81 ++++++++++++++++++----------
 lib/base/configobject.hpp             |   14 +++--
 lib/base/configobject.ti              |    4 +-
 lib/base/configtype.cpp               |   95 +++++++--------------------------
 lib/base/configtype.hpp               |   70 ++++++++++--------------
 lib/base/scriptutils.cpp              |   23 ++++----
 lib/config/configitem.cpp             |    2 +-
 lib/config/configitembuilder.cpp      |    5 +-
 lib/db_ido/dbconnection.cpp           |   12 +++--
 lib/db_ido/dbevents.cpp               |    8 +--
 lib/db_ido/idochecktask.cpp           |    2 +-
 lib/icinga/host.ti                    |    1 +
 lib/icinga/service.ti                 |    1 +
 lib/icinga/user.ti                    |    1 +
 lib/remote/apilistener-configsync.cpp |   27 ++++++----
 lib/remote/apilistener.cpp            |    7 +--
 lib/remote/authority.cpp              |    9 +++-
 lib/remote/createobjecthandler.cpp    |    5 +-
 lib/remote/filterutility.cpp          |    7 +--
 lib/remote/objectqueryhandler.cpp     |    2 +-
 tools/mkclass/classcompiler.cpp       |   78 ++++++++++++++++++++-------
 21 files changed, 233 insertions(+), 221 deletions(-)

Diff:   https://git.icinga.org/?p=icinga2.git;a=commitdiff;h=b7a1b58069d826bf8d2df5082b19f2e924e8923c


More information about the icinga-checkins mailing list