Ticket #12854 (new defect)
Severe slow-down in plotting
| Reported by: | jdemeyer | Owned by: | tbd |
|---|---|---|---|
| Priority: | critical | Milestone: | sage-5.11 |
| Component: | performance | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | |
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
Plotting has severely slowed down since sage-4.8.
For example the following command (inspired on a doctest from devel/sage/sage/plot/plot.py):
sage: timeit('''plot(sin(x),(x,0,2*pi),ticks=pi/3,tick_formatter=pi).save("/tmp/1.png")''', number=1, repeat=20)
It's annoying to measure this as the timing has quite a large standard deviation. But on boxen.math, with sage-4.8, the best case timing is about 1 second, while with sage-5.0.beta13, the best case timing is about 1.5 seconds.
Change History
Note: See
TracTickets for help on using
tickets.

This is due to the change in attachment:trac-11915-matplotlib-1.1.0-upgrade.patch:ticket:11915
that reads
Comment it out and see the times go down. See #11915 for the rationale behind adding this, which I will point out was not arbitrary.