AFFiNE/packages/frontend/electron/test
pengx17 27af9b4d1a
perf(electron): add index for updates (#6951)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/cd2e982a-f78a-4cc3-b090-ee4c0090e19d.png)

Above image shows the performance on querying a 20k rows of updates table, which is super slow at 150+ms. After adding index for doc_id the performance should be greatly improved.

After:
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/45ea4389-1833-4dc5-bd64-84d8c99cd647.png)

fix TOV-866
2024-05-16 06:30:53 +00:00
..
db perf(electron): add index for updates (#6951) 2024-05-16 06:30:53 +00:00
main build(electron): nsis updater compatibility fix (#6681) 2024-04-25 03:52:29 +00:00
workspace refactor(electron): cleanup secondary db logic (#6710) 2024-04-26 10:57:09 +00:00