After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 374882 - Cache adapters for PORs
Cache adapters for PORs
Status: RESOLVED FIXED
Product: lsr
Classification: Deprecated
Component: core
0.3.x
Other Linux
: Urgent normal
: 0.4.0
Assigned To: LSR maintainers
LSR maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-13 21:54 UTC by Peter Parente
Modified: 2006-11-14 17:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter Parente 2006-11-13 21:54:17 UTC
Output from the DefaultPerk is now noticably less responsive after implementing the complete set of reports for the default UI. This problem doesn't seem to stem from the speech engine but rather from all the processing we're doing in the DefaultPerk. I believe we can get a big performance win by caching adapters for the lifetime of a POR on the POR itself. This will preclude the need for a repeat search through all available adapters for a given POR and can be done invisibly without changes to any of the existing code.
Comment 1 Peter Parente 2006-11-14 17:03:26 UTC
Implemented. Responsiveness of LSR is visibly improved. 

Fixed immediately noticable bugs concerning new weakrefs to PORs in adapters. Will be on the lookout for more.