Zooming (and/or deleting) imported PDF layers takes several minutes longer in Inkscape 0.91 versus 0.48

Asked by Dave Evans

I copied my 50 MB line drawing including 50 layers to a new MacBook Pro, OS X 10.11.6, Quartz 2.7.9, and Inkscape 0.91. However, it then took 4 to 7 minutes rather than a couple seconds to process Zoom commands. So, I tried to progressively delete more and more drawing layers, a process that took two minutes of computer processing per layer, and eventually I found that the imported PDF layers were the cause of the poor performance. (The imported PDF layers were line drawings converted from CAD files to which I don't have access.) I next tried adjusting my Inkscape preferences regarding filters, and that helped a lot, but even with all but one PDF layer deleted, the Zoom command still takes several seconds to complete. Are there any more preference adjustments I can make to speed up the computer processing of the imported PDF layers?

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Dave Evans
Solved:
Last query:
Last reply:
Revision history for this message
Hachmann (marenhachmann) said :
#1

Hi Dave,

can you upload an example, so we can try to find the main cause?

If not, please take a look at:
http://forum.inkscapecommunity.com/index.php?action=articles;sa=view;article=35

Kind Regards,
 Maren

Revision history for this message
Dave Evans (gde4th) said :
#2

Hi Maren,
Thanks for the link.  I tried the relevant suggestions from the provided list without success.
Based on your suggestion, I have isolated one of my PDF layers to upload to you.  (See the attached SVG file.)  Regarding an example drawing comprised of a single layer, I find that it takes 3 seconds to Zoom to 50% and only 1 second to Zoom to 100%.  When I duplicate the layer twice, making a total of three identical layers, the Zoom command take roughly 13 to 17 times longer, i.e. 50 seconds to Zoom to 50% and 13 seconds to Zoom to 100%.   In comparison, Zooming the PDFs with Inkscape 0.48 doesn't present enough of a delay to notice.  So, I'm wondering if there is some new code in Inkscape 0.91 that is slowing the Zoom command when it's applied to PDF imports.
Thanks for your help.
Dave

P.S.  I have never sent anyone an SVG file before, and I'm not sure you will be able to open it.  If not, please let me know what you advise.  Thanks.

    On Friday, August 12, 2016 10:32 AM, Hachmann <email address hidden> wrote:

 Your question #340427 on Inkscape changed:
https://answers.launchpad.net/inkscape/+question/340427

    Status: Open => Answered

Hachmann proposed the following answer:
Hi Dave,

can you upload an example, so we can try to find the main cause?

If not, please take a look at:
http://forum.inkscapecommunity.com/index.php?action=articles;sa=view;article=35

Kind Regards,
 Maren

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/inkscape/+question/340427/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/inkscape/+question/340427

You received this question notification because you asked the question.

Revision history for this message
Hachmann (marenhachmann) said :
#3

Hi Dave,

attachments do not work here (the fact that you were able to answer by email does not reflect the nature of the answers section here: https://answers.launchpad.net/inkscape/+question/340427, which does not allow for any attachments).

Please use a file hosting service for this (like dropbox, google drive, or http://framadrop.org/).

Kind Regards,
 Maren

Revision history for this message
Dave Evans (gde4th) said :
#4

Hi Maren,
Thank you for your patience.   You said attachments don't work there, and you gave me a link to framadrop.org.  I've never used a file hosting service before, and very little in the framadrop website is written in English.  If I understand how it works, the following is what you need to access it:
blob:https://framadrop.org/fa7617bc-1c8c-4fdc-a1ef-f78d76e80ac6

If I misunderstand how the file hosting service is supposed to work, please tell me what I should do to upload my example file.  Thank you.
For your convenience, I am restating here an earlier explanation I gave you regarding the example SVG file:
The uploaded example drawing consists of a single layer which demonstrates the performance problem I'm experiencing on a new Mac Computer.  The only layer in the file consists of an imported PDF made from a CAD file.  (I don't have access to the original CAD file.)  I find that it takes 3 seconds to Zoom the example drawing to 50% and 1 second to Zoom it back to 100%.  When I duplicate the layer twice (resulting in a total of three identical layers), the Zoom command take 13 to 17 times longer, i.e. 50 seconds to Zoom it to 50% and 13 seconds to Zoom it back to 100%.   In comparison, I don't see a performance issue on an older computer using Inkscape 0.48 to Zoom drawings that included my PDF imports.  So, I'm wondering if perhaps there is some new code in Inkscape 0.91 that is slowing the Zoom command when it's applied to my PDF imports.
Thanks for your help.

-- Dave

    On Friday, August 12, 2016 8:27 PM, Hachmann <email address hidden> wrote:

 Your question #340427 on Inkscape changed:
https://answers.launchpad.net/inkscape/+question/340427

Hachmann posted a new comment:
Hi Dave,

attachments do not work here (the fact that you were able to answer by
email does not reflect the nature of the answers section here:
https://answers.launchpad.net/inkscape/+question/340427, which does not
allow for any attachments).

Please use a file hosting service for this (like dropbox, google drive,
or http://framadrop.org/).

Kind Regards,
 Maren

--
You received this question notification because you asked the question.

Revision history for this message
Dave Evans (gde4th) said :
#5

Hi Maren,
I tested the framadrop link I sent you in my last email reply to you, and even though it worked for me a few times prior to sending it, now it links to something that's not mine.  Accordingly, I gave up on framadrop.org and edited a copy of my last reply to you, now referring you to a Google Drive link instead as follows:
https://drive.google.com/open?id=0B5c1T3yMyTSYNTg3LVhVbXh2M0E

If I misunderstand how the file hosting service is supposed to work, please tell me what I should do to upload my example file.  Thank you.
For your convenience, I am restating here an earlier explanation I gave you regarding the uploaded SVG file depicting a topographical map:
The uploaded drawing consists of a single layer for the purpose of demonstrating the performance problem I'm experiencing on a new Mac Computer.  The only layer in the file consists of an imported PDF made from a CAD file.  (I don't have access to the original CAD file.)  I find that it takes 3 seconds to Zoom the example drawing to 50% and 1 second to Zoom it back to 100%.  When I duplicate the layer twice (resulting in a total of three identical layers), the Zoom command take 13 to 17 times longer, i.e. 50 seconds to Zoom it to 50% and 13 seconds to Zoom it back to 100%.   In comparison, I don't see a performance issue on an older computer using Inkscape 0.48 to Zoom drawings that included my PDF imports.  So, I'm wondering if perhaps there is some new code in Inkscape 0.91 that is slowing the Zoom command when it's applied to my PDF imports.
Thanks for your help.

-- Dave

    On Saturday, August 13, 2016 1:32 PM, Dave Evans <email address hidden> wrote:

 Your question #340427 on Inkscape changed:
https://answers.launchpad.net/inkscape/+question/340427

You gave more information on the question:
Hi Maren,
Thank you for your patience.   You said attachments don't work there, and you gave me a link to framadrop.org.  I've never used a file hosting service before, and very little in the framadrop website is written in English.  If I understand how it works, the following is what you need to access it:
blob:https://framadrop.org/fa7617bc-1c8c-4fdc-a1ef-f78d76e80ac6

If I misunderstand how the file hosting service is supposed to work, please tell me what I should do to upload my example file.  Thank you.
For your convenience, I am restating here an earlier explanation I gave you regarding the example SVG file:
The uploaded example drawing consists of a single layer which demonstrates the performance problem I'm experiencing on a new Mac Computer.  The only layer in the file consists of an imported PDF made from a CAD file.  (I don't have access to the original CAD file.)  I find that it takes 3 seconds to Zoom the example drawing to 50% and 1 second to Zoom it back to 100%.  When I duplicate the layer twice (resulting in a total of three identical layers), the Zoom command take 13 to 17 times longer, i.e. 50 seconds to Zoom it to 50% and 13 seconds to Zoom it back to 100%.   In comparison, I don't see a performance issue on an older computer using Inkscape 0.48 to Zoom drawings that included my PDF imports.  So, I'm wondering if perhaps there is some new code in Inkscape 0.91 that is slowing the Zoom command when it's applied to my PDF imports.
Thanks for your help.

-- Dave

    On Friday, August 12, 2016 8:27 PM, Hachmann <email address hidden> wrote:

 Your question #340427 on Inkscape changed:
https://answers.launchpad.net/inkscape/+question/340427

Hachmann posted a new comment:
Hi Dave,

attachments do not work here (the fact that you were able to answer by
email does not reflect the nature of the answers section here:
https://answers.launchpad.net/inkscape/+question/340427, which does not
allow for any attachments).

Please use a file hosting service for this (like dropbox, google drive,
or http://framadrop.org/).

Kind Regards,
 Maren

--
You received this question notification because you asked the question.

You received this question notification because you asked the question.

Revision history for this message
Hachmann (marenhachmann) said :
#6

Thank you, Dave, for uploading the file (and sorry for the hassle, this answers section here is not ideal for answering questions about people's drawings...).

About the file:

Mmmh. The file contains a group of more than 14000 objects. To be honest, I don't think I've ever tried editing such a huge thing. On the notebook I'm using, zooming takes minutes, and I had to kill Inkscape. With such a high number of objects, I would have thought that also the older versions have issues working well.

Did you open this exact file with Inkscape 0.48.5 before and it was faster? (By how much?) Or did you open a similar file (which may have contained a smaller number of paths) with the older version?

Kind Regards,
 Maren

Revision history for this message
Dave Evans (gde4th) said :
#7

Maren,
In response to your question, I fired up my old MacBook Pro, opened a new drawing on Inkscape 0.48.5 r10040, and imported from Google Drive the same example file I gave you earlier (an SVG file consisting of a PDF layer).  Link: https://drive.google.com/open?id=0B5c1T3yMyTSYNTg3LVhVbXh2M0E I then ran the same tests that I described to you regarding Inkscape 0.91.  The old version's speed: lickety-split.  More particularly, I determined the following results including data I sent you earlier regarding Inscape 0.91, and additionally included speed with more drawing layers:

                COMPARATIVE SPEED TESTS of the ZOOM COMMAND
Inkscape 0.48.5 with                                          Inkscape 0.91 withDuplicate, Imported PDF layer(s)                      Duplicate, Imported PDF layer(s)
1 duplicate layer, 100% to 50%: < 1 sec.           1 duplicate layer, 100% to 50%:       3 sec.1 duplicate layer, 50% to 100%: < 1 sec.           1 duplicate layer, 50% to 100%:       1 sec.3 duplicate layers, 100% to 50%:  2 sec.            3 duplicate layers, 100% to 50%:   50 sec.3 duplicate layers, 50% to 100%:  2 sec.            3 duplicate layers, 50% to 100%:   13 sec.6 duplicate layers, 100% to 50%:  4 sec.            6 duplicate layers, 100% to 50%: 235 sec.6 duplicate layers, 50% to 100%:  4 sec.            6 duplicate layers, 50% to 100%:   60 sec.
I note that unlike the old version of Inkscape, the new version lacks symmetry between zooming in and out.  Also, its variations in speed are not linear with respect to the number of duplicate layers included in the drawing.  I don't mean to put all the focus on the Zoom command, however, because I also find that while Version 0.48.5 takes only one or two seconds to delete each layer, Version 0.91 takes 37, 29, 21, 14, 7, and 2 seconds, to delete the 6th through the 1st duplicate layer, respectively.
Thanks for whatever help you can give me.
-- Dave

    On Saturday, August 13, 2016 8:32 PM, Hachmann <email address hidden> wrote:

 Your question #340427 on Inkscape changed:
https://answers.launchpad.net/inkscape/+question/340427

    Status: Open => Needs information

Hachmann requested more information:
Thank you, Dave, for uploading the file (and sorry for the hassle, this
answers section here is not ideal for answering questions about people's
drawings...).

About the file:

Mmmh. The file contains a group of more than 14000 objects. To be
honest, I don't think I've ever tried editing such a huge thing. On the
notebook I'm using, zooming takes minutes, and I had to kill Inkscape.
With such a high number of objects, I would have thought that also the
older versions have issues working well.

Did you open this exact file with Inkscape 0.48.5 before and it was
faster? (By how much?) Or did you open a similar file (which may have
contained a smaller number of paths) with the older version?

Kind Regards,
 Maren

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/inkscape/+question/340427

You received this question notification because you asked the question.

Revision history for this message
Dave Evans (gde4th) said :
#8

Maren --
My answer to your question sent earlier today, regarding the performance of version 0.48 relative to version 0.91, may be difficult to read.  If so, please follow this link:Question #340427 updated 8-14-16.pdf

-- Dave

|
|
|
| | |

   |

  |
|
| |
Question #340427 updated 8-14-16.pdf
   | |

  |

  |

    On Sunday, August 14, 2016 11:52 AM, Dave Evans <email address hidden> wrote:

 Your question #340427 on Inkscape changed:
https://answers.launchpad.net/inkscape/+question/340427

    Status: Needs information => Open

You gave more information on the question:
Maren,
In response to your question, I fired up my old MacBook Pro, opened a new drawing on Inkscape 0.48.5 r10040, and imported from Google Drive the same example file I gave you earlier (an SVG file consisting of a PDF layer).  Link: https://drive.google.com/open?id=0B5c1T3yMyTSYNTg3LVhVbXh2M0E I then ran the same tests that I described to you regarding Inkscape 0.91.  The old version's speed: lickety-split.  More particularly, I determined the following results including data I sent you earlier regarding Inscape 0.91, and additionally included speed with more drawing layers:

                COMPARATIVE SPEED TESTS of the ZOOM COMMAND
Inkscape 0.48.5 with                                          Inkscape 0.91 withDuplicate, Imported PDF layer(s)                      Duplicate, Imported PDF layer(s)
1 duplicate layer, 100% to 50%: < 1 sec.           1 duplicate layer, 100% to 50%:       3 sec.1 duplicate layer, 50% to 100%: < 1 sec.           1 duplicate layer, 50% to 100%:       1 sec.3 duplicate layers, 100% to 50%:  2 sec.            3 duplicate layers, 100% to 50%:   50 sec.3 duplicate layers, 50% to 100%:  2 sec.            3 duplicate layers, 50% to 100%:   13 sec.6 duplicate layers, 100% to 50%:  4 sec.            6 duplicate layers, 100% to 50%: 235 sec.6 duplicate layers, 50% to 100%:  4 sec.            6 duplicate layers, 50% to 100%:   60 sec.
I note that unlike the old version of Inkscape, the new version lacks symmetry between zooming in and out.  Also, its variations in speed are not linear with respect to the number of duplicate layers included in the drawing.  I don't mean to put all the focus on the Zoom command, however, because I also find that while Version 0.48.5 takes only one or two seconds to delete each layer, Version 0.91 takes 37, 29, 21, 14, 7, and 2 seconds, to delete the 6th through the 1st duplicate layer, respectively.
Thanks for whatever help you can give me.
-- Dave

    On Saturday, August 13, 2016 8:32 PM, Hachmann <email address hidden> wrote:

 Your question #340427 on Inkscape changed:
https://answers.launchpad.net/inkscape/+question/340427

    Status: Open => Needs information

Hachmann requested more information:
Thank you, Dave, for uploading the file (and sorry for the hassle, this
answers section here is not ideal for answering questions about people's
drawings...).

About the file:

Mmmh. The file contains a group of more than 14000 objects. To be
honest, I don't think I've ever tried editing such a huge thing. On the
notebook I'm using, zooming takes minutes, and I had to kill Inkscape.
With such a high number of objects, I would have thought that also the
older versions have issues working well.

Did you open this exact file with Inkscape 0.48.5 before and it was
faster? (By how much?) Or did you open a similar file (which may have
contained a smaller number of paths) with the older version?

Kind Regards,
 Maren

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/inkscape/+question/340427

You received this question notification because you asked the question.

You received this question notification because you asked the question.

Revision history for this message
Dave Evans (gde4th) said :
#9

Maren --
Let me try this again.  Please follow the following link:
https://drive.google.com/file/d/0B5c1T3yMyTSYbTZWOWRDUkRYb0E/view?usp=sharing

-- Dave

    On Sunday, August 14, 2016 1:37 PM, Dave Evans <email address hidden> wrote:

 Your question #340427 on Inkscape changed:
https://answers.launchpad.net/inkscape/+question/340427

You gave more information on the question:
Maren --
My answer to your question sent earlier today, regarding the performance of version 0.48 relative to version 0.91, may be difficult to read.  If so, please follow this link:Question #340427 updated 8-14-16.pdf

-- Dave

|
|
|
|  |    |

  |

  |
|
|    |
Question #340427 updated 8-14-16.pdf
  |  |

  |

  |

    On Sunday, August 14, 2016 11:52 AM, Dave Evans <email address hidden> wrote:

 Your question #340427 on Inkscape changed:
https://answers.launchpad.net/inkscape/+question/340427

    Status: Needs information => Open

You gave more information on the question:
Maren,
In response to your question, I fired up my old MacBook Pro, opened a new drawing on Inkscape 0.48.5 r10040, and imported from Google Drive the same example file I gave you earlier (an SVG file consisting of a PDF layer).  Link: https://drive.google.com/open?id=0B5c1T3yMyTSYNTg3LVhVbXh2M0E I then ran the same tests that I described to you regarding Inkscape 0.91.  The old version's speed: lickety-split.  More particularly, I determined the following results including data I sent you earlier regarding Inscape 0.91, and additionally included speed with more drawing layers:

                COMPARATIVE SPEED TESTS of the ZOOM COMMAND
Inkscape 0.48.5 with                                          Inkscape 0.91 withDuplicate, Imported PDF layer(s)                      Duplicate, Imported PDF layer(s)
1 duplicate layer, 100% to 50%: < 1 sec.           1 duplicate layer, 100% to 50%:       3 sec.1 duplicate layer, 50% to 100%: < 1 sec.           1 duplicate layer, 50% to 100%:       1 sec.3 duplicate layers, 100% to 50%:  2 sec.            3 duplicate layers, 100% to 50%:   50 sec.3 duplicate layers, 50% to 100%:  2 sec.            3 duplicate layers, 50% to 100%:   13 sec.6 duplicate layers, 100% to 50%:  4 sec.            6 duplicate layers, 100% to 50%: 235 sec.6 duplicate layers, 50% to 100%:  4 sec.            6 duplicate layers, 50% to 100%:   60 sec.
I note that unlike the old version of Inkscape, the new version lacks symmetry between zooming in and out.  Also, its variations in speed are not linear with respect to the number of duplicate layers included in the drawing.  I don't mean to put all the focus on the Zoom command, however, because I also find that while Version 0.48.5 takes only one or two seconds to delete each layer, Version 0.91 takes 37, 29, 21, 14, 7, and 2 seconds, to delete the 6th through the 1st duplicate layer, respectively.
Thanks for whatever help you can give me.
-- Dave

    On Saturday, August 13, 2016 8:32 PM, Hachmann <email address hidden> wrote:

 Your question #340427 on Inkscape changed:
https://answers.launchpad.net/inkscape/+question/340427

    Status: Open => Needs information

Hachmann requested more information:
Thank you, Dave, for uploading the file (and sorry for the hassle, this
answers section here is not ideal for answering questions about people's
drawings...).

About the file:

Mmmh. The file contains a group of more than 14000 objects. To be
honest, I don't think I've ever tried editing such a huge thing. On the
notebook I'm using, zooming takes minutes, and I had to kill Inkscape.
With such a high number of objects, I would have thought that also the
older versions have issues working well.

Did you open this exact file with Inkscape 0.48.5 before and it was
faster? (By how much?) Or did you open a similar file (which may have
contained a smaller number of paths) with the older version?

Kind Regards,
 Maren

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/inkscape/+question/340427

You received this question notification because you asked the question.

You received this question notification because you asked the question.

You received this question notification because you asked the question.

Revision history for this message
Dave Evans (gde4th) said :
#10

My difficulties with emails have made this issue too difficult for me to follow or fix. Accordingly, I have started a new Question to update and replace this Question. (I will add a final entry here, referencing the new Question Number, when I receive it.)

Revision history for this message
Dave Evans (gde4th) said :
#11

This Question is closed. However, the problem is not yet solved. See the updated summary, replacement Question #344742.

Revision history for this message
Dave Evans (gde4th) said :
#12

This Question is closed. However, the problem is not yet solved. See the updated summary, replacement Question #344742.