Logseq I realize that it has some details to improve in performance and is apparently affected by the performance of Chrome, so an idea would be instead of Electron to use https://tauri.app/ which seems lighter, maybe it helps a little in performance.
Another suggestion would be to use a database like SQLite or MariaDB if the performance detail has to do with the lack of a database.
I’m having a slow even with only 37 files, it takes a few seconds to make Logseq editable and depending on the document it may have some delay, they are small files with few relationships.
When I use Chrome a lot and it gets slow, it seems to affect Logseq as well.
That’s why I thought of the suggestions above for those who know how to improve Logseq’s performance and resources
Logseq uses Datascript for the database and Datalog as the query engine that you can even use directly with Advanced Queries.
About Tauri, it would be nice as an option but it doesn’t come for free: Electron is often choosen because you can be sure your app run always on the same stack. With Tauri the app devs have to stick to whatever the OS provides, for example on Linux it’s WebKitGTK. For example do we know if it supports everything that Logseq needs? You got the idea.
I understand about the database query and tools, I don’t know if MariaDB or SQLite could have a better performance than the current ones and maybe the change is complex.
About the Tauri it might be a little more complex to port to him, but it would be very good in performance I imagine.
My Logseq is a little slow, I don’t know if it’s some detail of my use, which apparently is quite simple nowadays, I’ll see if I can test better later, I hope that in future versions it will improve performance and support for large amounts of notes .
Logseq chose ClojureScript not only because of all the benefits of the language itself but also because of its awesome ecosystem, such as the DataScript library. More on that later.
DataScript is an in-memory database that implements the Datalog logic programming language. Datalog is very different from and much more expressive than the more common SQL and NoSQL query languages. Many users have implemented interesting features on top of Logseq just by utilizing the rich query language.
Only Logseq or everything in general? Slowing down only Logseq sounds very odd since Logseq ships with its own Chrome engine (like every Electron app), it spawns its own processes… I mean, they are different isolated programs