mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 01:32:56 +03:00
27af9b4d1a
![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
43 lines
927 B
JSON
43 lines
927 B
JSON
{
|
|
"extends": "../../../tsconfig.json",
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"skipLibCheck": true,
|
|
"target": "ES2022",
|
|
"module": "ESNext",
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"types": ["node", "affine__env"],
|
|
"outDir": "lib",
|
|
"moduleResolution": "Bundler",
|
|
"resolveJsonModule": true,
|
|
"noImplicitOverride": true,
|
|
"paths": {
|
|
"@toeverything/infra/*": ["../../common/infra/src/*"]
|
|
}
|
|
},
|
|
"include": ["./src"],
|
|
"exclude": ["renderer", "node_modules", "lib", "dist", "**/__tests__/**/*"],
|
|
"references": [
|
|
{
|
|
"path": "../../frontend/native"
|
|
},
|
|
{
|
|
"path": "../../common/infra"
|
|
},
|
|
{
|
|
"path": "../../common/env"
|
|
},
|
|
{
|
|
"path": "./tsconfig.node.json"
|
|
},
|
|
{
|
|
"path": "../../../tests/kit"
|
|
}
|
|
],
|
|
"ts-node": {
|
|
"esm": true,
|
|
"experimentalSpecifierResolution": "node"
|
|
}
|
|
}
|