A tool for note-taking, documentation, project management, and more. All wrapped up with great  collaboration features and a  beautiful UI.  There are

How SQLite made Notion 30% Faster - by Richard Oliver Bray

submited by
Style Pass
2024-11-06 14:30:04

A tool for note-taking, documentation, project management, and more. All wrapped up with great collaboration features and a beautiful UI.

There are no articles saying what caused this slowness. But we can make some assumptions from technical posts they've written:

Notion depended on many third-party scripts. Possibly for collaboration features, analytics, and third-party assets like images.

CPU cores not being used for processing tasks. Most people have between 4 and 8 cores, which means 4 to 8 tasks could be processed at the same time. Notion wasn’t taking advantage of this.

Some previous attempts were made to fix these issues. The team used LocalStorage to cache data in the browser. But this had limited storage, which wasn't great for users with lots of pages.

They then tried using IndexedDB for caching. This was never shipped because it didn't improve performance. In fact, on certain devices it was even slower than LocalStorage.

Leave a Comment