Commit Graph

6 Commits

Author SHA1 Message Date
darkskygit 10a066a52a fix(native): return type casts (#7986) 2024-08-27 05:53:05 +00:00
DarkSky 6557b5d4b6 fix: native binding (#7985) 2024-08-27 12:31:25 +08:00
pengx17 3cca879a83 refactor(electron): use sqlite to store server clock & sync meta (#6957)
After this PR, IDB should not be used in desktop any longer.
2024-05-16 06:31:05 +00:00
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
LongYinan 906d224fa9 chore(native): fix useless import (#5130) 2023-11-29 10:11:40 +00:00
Joooye_34 bed9310519 refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00