Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#1918 closed defect (fixed)

Performance problem with ModuleChecker

Reported by: michael.ritter Owned by: michael.ritter
Priority: normal Milestone: Contrexx 3.2
Component: other(specify) Version: 3.1.1
Severity: normal Keywords:
Cc:

Description

ModuleChecker is used to check if a module is active before calling its hooks. For each module and hook, a new instance of ModuleChecker is created. This loads the status of all modules from DB which drops page load be several seconds!

Use singleton pattern on ModuleChecker as a fix.

Change History (4)

comment:1 Changed 4 years ago by michael.ritter

  • Owner changed from comvation to michael.ritter
  • Status changed from new to assigned

comment:2 Changed 4 years ago by michael.ritter

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in 518df660fc92f6555760a483ff90ca7c3c0a5164, including another performance fix for calendar module

comment:3 Changed 3 years ago by kramer

  • Milestone Contrexx 3.1 SP2 deleted

Milestone Contrexx 3.1 SP2 deleted

comment:4 Changed 3 years ago by kramer

  • Milestone set to Contrexx 3.2
Note: See TracTickets for help on using tickets.