Anytype Is slow, primarily in Linux

Describe the bug

Anytype in linux is slow. When activities like Pressing Enter and after that pressing tab. It makes indent and then presses enter. This may be seems like another bug but it is not. It is working perfectly fine I the keys are pressed slowly as expected. If it is a little bit fast then those weord sutuation happens

To Reproduce

Steps to reproduce the behavior:

    1. Go to a page
    1. See an error. It slower compared to 0.18.68

Regarding the Indent and Enter it is as follows

    1. Go to page
    1. Enter some text and press enter and tab
    1. See error

Ithis does jot happens if this is done slowly

Expected behavior

Perfomance needs improvement and app should be snappier. It works as fast as a offline app.

System Information:

  • OS: e.g. pop 21.04
  • Device Manufacturer/Model: e.g. custom pc
  • Anytype Version: e.g. 0.19.0
8 Likes

Enter issue is already reported here: https://community.anytype.io/t/-/1247

2 Likes

@lynxlove Overall is slower. Like opening a page. Loading screen appears when opening a page from set. Enter is of only one example.

4 Likes

@Srinath Opening simple object is often slow for me as well (up to 5 seconds). Local data only.

Update: Windows

1 Like

@Srinath ah true, the enter and other key event related issue can be tracked in the report I linked. But opening objects is slow for me as well so we could track this in this report. I’m using Anytype on Linux as well

1 Like

I’d be interested to know what the devs think of this.

Is it something they are working on? Or are these delays considered normal?

To me a delay of a few seconds to open even a small Object is a bit worrisome.

2 Likes

@Srinath Hi! Did you update your Anytype till 20.2? If yes, is it work faster than the 19 version?

@Kirill_Lem I have updated to anytype 0.20.9 but still face the issue

when we press tab or enter it takes some time for changes to appear in app .

As mentioned above issue isn’t fixed.

2 Likes

@Kirill_Lem In the 0.20.9 initially slower and then faster after subsequent openings.I could notice the load screen on opening objects.

@Tanzeel098 this issue happens even now.

1 Like

I think this issue may be correlated to anytype as an app image in linux. I tested anytype on windows and it does not have any delay at all. So it certainly is not a hardware problem

1 Like

@JGsource even sets creation failure happens only linux. Some problems became linux only.

Similar to this issue, slowness in creating bullet point by -

1 Like

Encountered the same problem when I first used anytype today (on linux)

Can confirm. First loading after each app opening results in a loading delay upto a minute in the worst case. Subsequent opening of the same page is almost instant until the app is restarted. This is happening on the latest build: 0.22.1 as well. The enter and backspace issue delay has been reduced though. On a related note, came across this request for reducing the loading time of pages requesting the same


My case is so bad on linux. As you can see in the video, opening the library takes a solid 1 min. Open a small page takes around 2 minuted. Opening an empty page takes more than 30 seconds. And worst of all, opening a set takes 3+ minutes. Creating a new page also takes 10+ seconds. TBH, page creation is faster in the video, I experience much higher delays upto a minute for page creations



The App’s performance on windows on the same hardware. Hardware and pages used to test are same. Both linux and windows run natively and not in a VM

2 Likes

Lately, Anytype on Windows (0.23.0) is getting very slow sometimes. Especially when creating a new page I have to wait often 30 seconds. Same for creating Sets or creating object diagnostics. Trying to move blocks doesn’t work too. Anytype just doesn’t react at all and I can’t move them. I am using a VPN though I have experienced this issue also without. This problem occurs on multiple Windows devices. Also on previous versions.
Edit: The same issue is on android version 0.5.0. Creating pages takes its time.

4 Likes

The issue remains on Windows 0.23.5 version. The threshold is so bad that I have to wait for every change I do.

4 Likes

May I ask you how many objects you have in your Anytype (Desktop app → Store → Relations ->Last Modified date/by)?

4684 (pictures and other files included)

1 Like

@vova performance in linux is poor again. Now creation of New objects takes longer than 5 seconds

Hey all,
while Anytype runs smoothly the most time on my Linux, one day I realized some weird overall performance decrease in my Linux.
After some troubleshooting I saw my CPU running as low on power as needed.
The throttling setting was set to a “save energy” mode.
This somehow happened by itself, I never changed anything.
I checked how to set the myself and set it back to a more performant mode. My overall speed and also the speed of Anytype was back to normal.
So maybe this helps someone.

I’m using PopOS!, an Ubuntu derivat.
Here are the settings explained.
https://wiki.archlinux.org/title/CPU_frequency_scaling

For short:
I checked the current setting of all cores with:

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

and then set it to "ondemand or “perfomance” to test. But “ondemand” works fine for me with this command:

echo "ondemand" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

The changes are instantly.
If someone tries it and it makes a difference, please reply, what you OS is, and what the setting was by default.