I'm trying to edit a file imported from a PDF. Edits work normally, but Inkscape will give a busy cursor for 2-5 seconds after each otherwise normal seeming edit.
During that time no unusual disk activity or CPU shows, it's just spinning. It's a Windows 10 PC, plenty of memory, CPU, etc. Inkscape "About memory" shows nothing exceptional. There is no other Python installed, other than as part of Gimp.
Where can I go next? The same file on a slower machine edits slower, but without the huge pauses.
How big is your pdf file? And the converted SVG? On my machine Inkscape slows down with multi-megabyte files.
Is it possible to overlay your edits on top of the original drawing? If so, create a new file then [File > Import...] [choose your svg file] [[SVG Image Import Type: Link the SVG in an image tag] and choose a high enough resolution like [DPI for rendered SVG: 300]. Resize the drawing [shift+ctrl+r] to match the imported image. Finally, lock the imported image [right_click > Lock Selected Objects] to prevent accidental selecting and moving. Now you can add your content over the background image.
My machine is a far cry from state of the art; a Macbook Pro from 2012, 3rd gen i5, souped up a little with 16 GB RAM and 500 GB SATA SSD.
[File > Document Resources] shows that your drawing has 21771 elements, 10994 groups, and 10079 paths. This definitely qualifies as a large drawing, but I've seen larger and I wouldn't expect a huge performance hit. My Inkscape stutters a little with this, but it's usable. Zooming is slow but improves when I switch to Outline display mode. All in all, I can comfortably edit your drawing even with my ancient hardware.
Your task manager tells a story. Inkscape is a single-threaded application so it uses just one of the six cores in your CPU. You have a six-core CPU operating at 37%. Presumably Inkscape is hammering one of the cores (100%/6 = 16%) and the balance is Windows and everything else ticking over in the background (37%-16% = 21%).
As I write this I remember seeing Inkscape failing to release a Windows process and churning the CPU after exiting the application. In the Task Manager > Processes tab, look for anything named Ink* and end the process. Restart Inkscape and maybe the problem will be resolved/improved.
I've rebooted to a clean "safe mode" Windows, and the issue is the same.
Yes it's a six core CPU. The Intel world is not really advancing much in terms of single core performance.... but cores are like sand. I certainly hope that more of core Inkscape becomes multithreadable in the future.
-------------
If there were a way to select much of the clutter on this map, and move it to a layer.... would that help? Or is this more likely some core recalculation rather than a rendering speed issue?
In my experience, moving shapes to a static background layer won't improve performance. Moving them to another file and linking to that file will help, but you said this isn't an option. Will your budget let you to upgrade to a dual-core i5 11-year-old macbook?
I'm trying to edit a file imported from a PDF.
Edits work normally, but Inkscape will give a busy cursor for 2-5 seconds after each otherwise normal seeming edit.
During that time no unusual disk activity or CPU shows, it's just spinning.
It's a Windows 10 PC, plenty of memory, CPU, etc.
Inkscape "About memory" shows nothing exceptional.
There is no other Python installed, other than as part of Gimp.
Where can I go next? The same file on a slower machine edits slower, but without the huge pauses.
How big is your pdf file? And the converted SVG? On my machine Inkscape slows down with multi-megabyte files.
Is it possible to overlay your edits on top of the original drawing? If so, create a new file then [File > Import...] [choose your svg file] [[SVG Image Import Type: Link the SVG in an image tag] and choose a high enough resolution like [DPI for rendered SVG: 300]. Resize the drawing [shift+ctrl+r] to match the imported image. Finally, lock the imported image [right_click > Lock Selected Objects] to prevent accidental selecting and moving. Now you can add your content over the background image.
Here's the file in question.
In this case, an image overlay technique won't work.
But your description is great for when it would!
My machine is a far cry from state of the art; a Macbook Pro from 2012, 3rd gen i5, souped up a little with 16 GB RAM and 500 GB SATA SSD.
[File > Document Resources] shows that your drawing has 21771 elements, 10994 groups, and 10079 paths. This definitely qualifies as a large drawing, but I've seen larger and I wouldn't expect a huge performance hit. My Inkscape stutters a little with this, but it's usable. Zooming is slow but improves when I switch to Outline display mode. All in all, I can comfortably edit your drawing even with my ancient hardware.
Your task manager tells a story. Inkscape is a single-threaded application so it uses just one of the six cores in your CPU. You have a six-core CPU operating at 37%. Presumably Inkscape is hammering one of the cores (100%/6 = 16%) and the balance is Windows and everything else ticking over in the background (37%-16% = 21%).
As I write this I remember seeing Inkscape failing to release a Windows process and churning the CPU after exiting the application. In the Task Manager > Processes tab, look for anything named Ink* and end the process. Restart Inkscape and maybe the problem will be resolved/improved.
I've rebooted to a clean "safe mode" Windows, and the issue is the same.
Yes it's a six core CPU. The Intel world is not really advancing much in terms of single core performance.... but cores are like sand. I certainly hope that more of core Inkscape becomes multithreadable in the future.
-------------
If there were a way to select much of the clutter on this map, and move it to a layer.... would that help? Or is this more likely some core recalculation rather than a rendering speed issue?
In my experience, moving shapes to a static background layer won't improve performance. Moving them to another file and linking to that file will help, but you said this isn't an option. Will your budget let you to upgrade to a dual-core i5 11-year-old macbook?