Opened 14 years ago

Closed 14 years ago

#3570 closed enhancement (fixed)

[with patch, positive review] more import improvements to db.py

Reported by: mhansen Owned by: cwitty
Priority: minor Milestone: sage-3.0.4
Component: misc Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description


Attachments (1)

3570.patch (2.0 KB) - added by mhansen 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by mhansen

comment:1 Changed 14 years ago by mhansen

  • Summary changed from more import improvements to db.py to [with patch, needs review] more import improvements to db.py

I checked the source tree and db.Storage is never used anywhere.

comment:2 Changed 14 years ago by was

  • Summary changed from [with patch, needs review] more import improvements to db.py to [with patch, positive review] more import improvements to db.py

BEFORE (on osx with caching):

teragon-2:misc was$ sage -startuptime|grep db
   pdb: 0.010 (misc)
    cmd: 0.001 (pdb)
    bdb: 0.001 (pdb)
    repr: 0.003 (pdb)
    pprint: 0.003 (pdb)
    traceback: 0.001 (pdb)
         IPython.iplib: 0.025 (pydb)
         IPython.ipmaker: 0.001 (pydb)
       sage.databases.db: 0.132 (sage.databases.conway)
        BTrees.OOBTree: 0.123 (sage.databases.db)
        ZODB.FileStorage.FileStorage: 0.008 (sage.databases.db)
        sage.databases.compressed_storage: 0.000 (sage.databases.db)
      sage.misc.db: 0.000 (modform.all)
       sage.databases.db_class_polynomials: 0.001 (ssmod)
       sage.databases.db_modular_polynomials: 0.000 (ssmod)
       dbapi2: 0.021 (sqlite3)
        datetime: 0.002 (dbapi2)
        _sqlite3: 0.018 (dbapi2)
      db_modular_polynomials: 0.000 (sage.databases.all)
      db_class_polynomials: 0.000 (sage.databases.all)
0.132 sage.databases.db (sage.databases.conway)
0.123 BTrees.OOBTree (sage.databases.db)

AFTER:

   pdb: 0.010 (misc)
    cmd: 0.001 (pdb)
    bdb: 0.001 (pdb)
    repr: 0.003 (pdb)
    pprint: 0.003 (pdb)
    traceback: 0.001 (pdb)
         codeop: 0.001 (pydb)
         new: 0.001 (pydb)
         sets: 0.004 (pydb)
         IPython.wildcard: 0.000 (pydb)
         IPython.Extensions: 0.003 (pydb)
         IPython.FakeModule: 0.000 (pydb)
         IPython.Logger: 0.000 (pydb)
         IPython.Magic: 0.007 (pydb)
         IPython.Prompts: 0.001 (pydb)
         IPython.background_jobs: 0.001 (pydb)
         IPython.usage: 0.000 (pydb)
         IPython.strdispatch: 0.001 (pydb)
         IPython.history: 0.000 (pydb)
         IPython.prefilter: 0.003 (pydb)
         IPython.shadowns: 0.000 (pydb)
         IPython.ipmaker: 0.001 (pydb)
       sage.databases.db: 0.005 (sage.databases.conway)
        sage.databases.compressed_storage: 0.001 (sage.databases.db)
        logging: 0.004 (sage.databases.db)
      sage.misc.db: 0.000 (modform.all)
       sage.databases.db_class_polynomials: 0.000 (ssmod)
       sage.databases.db_modular_polynomials: 0.000 (ssmod)
       dbapi2: 0.020 (sqlite3)
        datetime: 0.002 (dbapi2)
        _sqlite3: 0.018 (dbapi2)
      db_modular_polynomials: 0.000 (sage.databases.all)
      db_class_polynomials: 0.000 (sage.databases.all)

w00t! Positive review.

comment:3 Changed 14 years ago by mabshoff

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

Merged in Sage 3.0.4.alpha2

Note: See TracTickets for help on using tickets.