Bug 407597 - Save is very slow - git 7bc375b
Summary: Save is very slow - git 7bc375b
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Other macOS
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-16 12:19 UTC by Manga Tengu
Modified: 2019-05-28 10:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manga Tengu 2019-05-16 12:19:51 UTC
SUMMARY
Saving file is very slow (more than 1 minute for a single layer kra file at 3600x5000px

STEPS TO REPRODUCE
1. Create a file (I didn't try to see if there were size thresholds...so I recommand you use the same canvas size as me)
2. Save the document
3. Wait

OBSERVED RESULT
Aprox 70 seconds to save and sometimes several notices about auto saves

EXPECTED RESULT
Aprox 5 seconds to save if I recall well ?
SOFTWARE/OS VERSIONS
Windows: 
macOS: Mojave 

ADDITIONAL INFORMATION
macbook pro 15' 2018 with a 2.6 ghz i7 cpu
Comment 1 Halla Rempt 2019-05-16 12:23:15 UTC
The latest beta I just tested on my 2015 macbook pro with mojave saves an image like that in a few seconds. I'd check whether something else is abusing the cpu or the disk or something like that.
Comment 2 Halla Rempt 2019-05-16 12:24:30 UTC
Oh, and are you saving to the desktop? Then you might be hitting something like the problem discussed here: https://www.techradar.com/how-to/macos-1014-mojave-problems-how-to-fix-them
Comment 3 Manga Tengu 2019-05-16 12:32:29 UTC
No I don't save to the desktop but to a file in the Documents folder. This didn't happen to my with 4.1.7
Comment 4 vanyossi 2019-05-18 18:07:13 UTC
70 seconds is a lot. I am currently working on a bigger (5000 x 3500) and more complex image (filters and groups) and saving does not take longer than 10 seconds

A completele new file 5000x8000px , filled with a gradient in layer 1, saves in 2 seconds at most. 

So either we messed up something in a few nigtlies (and this is solved now), or your cpu and hdd are balancing a lot of workload. On mojave my external drive started to lag to extremes causing slow loads and saves, turned out to be a problem with Spotlight index cache, as it kept rebuilding at made the disk very busy slowing saving and loading. In my case I blacklisted the drive on spotlight and speed when up instantly (but it was an external drive, so spotlight might as a first step index the connected drive. not sure about your case)
Comment 5 Manga Tengu 2019-05-18 18:26:25 UTC
I don't have an external hdd. The thing is if i switch back to 4.1.7 it works fine again. I will test the new nightly tonight then
Comment 6 Manga Tengu 2019-05-28 10:09:44 UTC
I don't remember who told me he just fixed it when I talked about it on IRC.
However in dc14cb2 I can comfirm save went fast again.
Comment 7 Halla Rempt 2019-05-28 10:14:14 UTC
Setting to resolved then.