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

Already on GitHub? Sign in to your account

Avoid macosx backend slowdown; issue 1563 #1816

Merged
merged 1 commit into from Mar 27, 2013

Conversation

Projects
None yet
3 participants
Contributor

mdehoon commented Mar 9, 2013

See issue 1563 : #1563
Due to limitations in Quartz, long paths may be drawn very slowly. This pull requests splits up long paths into stretches of 100 points, and draws them individually. This is much faster for long paths, and resolves issue 1563.

draw paths in stretches of 100 points to avoid the severe decrease in…
… performance that may occur if long paths are draw
Member

dmcdougall commented Mar 27, 2013

As a basic test, I plotted range(n) for n = 7, 99, 100, 101, 102, to make sure the whole line was drawn each time. I presume @mdehoon has done a local benchmark to conclude that splitting into chunks of 100 is a good choice.

Would anybody else like to provide feedback before I unleash the magical github ponies?

Owner

efiring commented Mar 27, 2013

I think merging it to master now is a good idea, so it will get more extensive testing.

dmcdougall added a commit that referenced this pull request Mar 27, 2013

Merge pull request #1816 from mdehoon/master
Avoid macosx backend slowdown; issue 1563

@dmcdougall dmcdougall merged commit baaf1f4 into matplotlib:master Mar 27, 2013

1 check passed

default The Travis build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment