Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize import of sage.dsage.interface.dsage_interface #3569

Closed
williamstein opened this issue Jul 6, 2008 · 3 comments
Closed

optimize import of sage.dsage.interface.dsage_interface #3569

williamstein opened this issue Jul 6, 2008 · 3 comments

Comments

@williamstein
Copy link
Contributor

BEFORE

teragon-2:misc was$ sage -startuptime|grep dsage_interface
        sage.dsage.interface.dsage_interface: 0.092 (dist_function)
         twisted.cred.credentials: 0.009 (sage.dsage.interface.dsage_interface)
         twisted.internet.threads: 0.011 (sage.dsage.interface.dsage_interface)
         twisted.internet.interfaces: 0.040 (sage.dsage.interface.dsage_interface)
0.092 sage.dsage.interface.dsage_interface (dist_function)
0.040 twisted.internet.interfaces (sage.dsage.interface.dsage_interface)

This is after using it multiple times (so caching).

Component: misc

Issue created by migration from https://trac.sagemath.org/ticket/3569

@williamstein
Copy link
Contributor Author

comment:1

Attachment: sage-3569.patch.gz

AFTER

teragon-2:dsage was$ sage -startuptime|grep twisted
teragon-2:dsage was$ sage -startuptime|grep dsage_interface
        sage.dsage.interface.dsage_interface: 0.007 (dist_function)
         sage.dsage.misc.misc: 0.005 (sage.dsage.interface.dsage_interface)

@mwhansen
Copy link
Contributor

mwhansen commented Jul 6, 2008

comment:2

+1

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Jul 7, 2008

comment:3

Merged in Sage 3.0.4.alpha2

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Jul 7, 2008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants