#2773 HIGH Untriag: Some sugar modules are running code on import causing hard to debug performance issues
Zarro Boogs per Child
bugtracker at laptop.org
Mon Aug 13 17:06:00 EDT 2007
#2773: Some sugar modules are running code on import causing hard to debug
performance issues
---------------------+------------------------------------------------------
Reporter: J5 | Owner: danw
Type: defect | Status: new
Priority: high | Milestone: Untriaged
Component: sugar | Version:
Resolution: | Keywords: review?
Verified: 0 |
---------------------+------------------------------------------------------
Changes (by danw):
* cc: marco (added)
* keywords: => review?
Comment:
The files that have top-level code besides assigning to constants are:
datastore/dbus_helpers.py - creates a dbus proxy, fixed with attached
patch
profile.py - creates a Profile object
presence/presenceservice.py - calls logging.getLogger()
graphics/style.py - compute_zoom_level() etc
graphics/palette.py - creates a PaletteObserver
Of the 4 besides dbus_helpers.py, style.py needs to be doing the things it
does so that it can define its constants. And none of the other seems to
be doing so much that it's really going to slow things down. So I think
it's just dbus_helpers.py that needs fixing.
--
Ticket URL: <https://dev.laptop.org/ticket/2773#comment:2>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list