faameunier / tk-chrome

Tabby (aka project tabkiller) is a Chrome extension that aims at automatically deleting all your useless tabs.
https://www.tabby.us/
0 stars 0 forks source link

[Performance] Only save when unloaded event triggers ? #20

Closed faameunier closed 4 years ago

faameunier commented 4 years ago

Possible performance improvement here.

Instead of saving everytime the queue is empty, save only when the extension is going to be unloaded from memory (there is a specific chrome.runtime event for this). Needs to be stress tested.

faameunier commented 4 years ago

This is wrong and would not work as the front-end and back-end would get out of sync.