Hacker News new | past | comments | ask | show | jobs | submit login

I'm not working on Obsidian, but I'm also building a desktop app with Electron now and a non-obvious performance tip is to offload things from the main process to a separate child process and use something like node-ipc to communicate. Especially if you use sqlite3 to store data (even though it has an API with callbacks, it's blocking).

https://medium.com/actualbudget/the-horror-of-blocking-elect...

https://news.ycombinator.com/item?id=16616374

https://archive.jlongster.com/secret-of-good-electron-apps

Also you may want to use Svelte rather than React.

I'm curious myself if the Obsidian team has anything to share about this.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: