Opened 10 years ago

Closed 9 years ago

#11717 closed enhancement (worksforme)

sage.schemes.generic.scheme initialization

Reported by: saraedum Owned by: jason
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: misc Keywords:
Cc: Merged in:
Authors: Reviewers: Volker Braun
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

I do not really understand why, but the initialization of sage.schemes.generic.scheme takes a bit to run:

$ time ./sage --startuptime|grep ' scheme:'
         scheme: 0.027 (spec)

The attached patch improves this:

$ time ./sage --startuptime|grep ' scheme:'
         scheme: 0.000 (spec)

The overall improvement is, of course, relatively small:

$ time for in in `seq 100`;do ./sage --startuptime>/dev/null;done
real    1m28.181s

vs.

$ time for in in `seq 100`;do ./sage --startuptime>/dev/null;done
real    1m27.629s

Attachments (1)

trac_11717_sage_schemes_generic_scheme_speedup.patch (2.4 KB) - added by saraedum 10 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 10 years ago by saraedum

Ticket can be closed. It is not an issue in 4.7.2.alpha2 anymore.

comment:2 Changed 10 years ago by saraedum

  • Milestone changed from sage-4.7.2 to sage-duplicate/invalid/wontfix
  • Report Upstream changed from N/A to Fixed upstream, but not in a stable release.

comment:3 Changed 9 years ago by vbraun

  • Status changed from new to needs_review

comment:4 Changed 9 years ago by vbraun

  • Reviewers set to Volker Braun
  • Status changed from needs_review to positive_review

Close as invalid

comment:5 Changed 9 years ago by jdemeyer

  • Report Upstream changed from Fixed upstream, but not in a stable release. to N/A
  • Resolution set to worksforme
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.