fix: stabilize background operations and large embedding results

This commit is contained in:
2026-09-06 16:26:17 +08:00
parent 874e916106
commit 3b9490e3fb
73 changed files with 3847 additions and 149 deletions
@@ -0,0 +1,706 @@
[
{
"kind": "tasks",
"theme": "light",
"size": 100,
"initialRenderMs": 33.099999994039536,
"requests": [
"/api/tasks"
],
"initialTaskCount": 50,
"fullListRenderMs": 79.09999999403954,
"fullListIsInjected": true,
"domNodes": 1107,
"frameGapsMs": {
"median": 10,
"p95": 10.100000000000364,
"max": 69.49999999403951
},
"frames": 407,
"longTasks": [],
"scrollTop": 0,
"scrollHeight": 11702,
"maxScrollTop": 10845,
"filteredCount": 34,
"expectedFilteredCount": 34,
"filterMs": 16.299999982118607,
"repeat": 1
},
{
"kind": "tasks",
"theme": "light",
"size": 1000,
"initialRenderMs": 4.4000000059604645,
"requests": [
"/api/tasks"
],
"initialTaskCount": 50,
"fullListRenderMs": 117.39999997615814,
"fullListIsInjected": true,
"domNodes": 11007,
"frameGapsMs": {
"median": 20.099999999999454,
"p95": 30.199999999999818,
"max": 50
},
"frames": 353,
"longTasks": [],
"scrollTop": 54000,
"scrollHeight": 115652,
"maxScrollTop": 81000,
"filteredCount": 334,
"expectedFilteredCount": 334,
"filterMs": 44.10000002384186,
"repeat": 1
},
{
"kind": "tasks",
"theme": "dark",
"size": 100,
"initialRenderMs": 30.900000005960464,
"requests": [
"/api/tasks"
],
"initialTaskCount": 50,
"fullListRenderMs": 78.2999999821186,
"fullListIsInjected": true,
"domNodes": 1107,
"frameGapsMs": {
"median": 10,
"p95": 10.100000000000364,
"max": 49.69999998807907
},
"frames": 411,
"longTasks": [],
"scrollTop": 0,
"scrollHeight": 11702,
"maxScrollTop": 10845,
"filteredCount": 34,
"expectedFilteredCount": 34,
"filterMs": 16.099999994039536,
"repeat": 1
},
{
"kind": "tasks",
"theme": "dark",
"size": 1000,
"initialRenderMs": 5,
"requests": [
"/api/tasks"
],
"initialTaskCount": 50,
"fullListRenderMs": 137.7999999821186,
"fullListIsInjected": true,
"domNodes": 11007,
"frameGapsMs": {
"median": 20,
"p95": 30.199999999999818,
"max": 40.19999999999982
},
"frames": 360,
"longTasks": [],
"scrollTop": 54000,
"scrollHeight": 115652,
"maxScrollTop": 81000,
"filteredCount": 334,
"expectedFilteredCount": 334,
"filterMs": 47.79999998211861,
"repeat": 1
},
{
"kind": "tasks",
"theme": "paper-moments",
"size": 100,
"initialRenderMs": 38.099999994039536,
"requests": [
"/api/tasks"
],
"initialTaskCount": 50,
"fullListRenderMs": 116.09999999403954,
"fullListIsInjected": true,
"domNodes": 1107,
"frameGapsMs": {
"median": 10,
"p95": 20,
"max": 59.900000000000034
},
"frames": 387,
"longTasks": [],
"scrollTop": 0,
"scrollHeight": 11764,
"maxScrollTop": 10907,
"filteredCount": 34,
"expectedFilteredCount": 34,
"filterMs": 11.600000023841858,
"repeat": 1
},
{
"kind": "tasks",
"theme": "paper-moments",
"size": 1000,
"initialRenderMs": 5.800000011920929,
"requests": [
"/api/tasks"
],
"initialTaskCount": 50,
"fullListRenderMs": 150,
"fullListIsInjected": true,
"domNodes": 11007,
"frameGapsMs": {
"median": 10.100000000000364,
"p95": 50.100000000000364,
"max": 80
},
"frames": 368,
"longTasks": [],
"scrollTop": 54000,
"scrollHeight": 115714,
"maxScrollTop": 81000,
"filteredCount": 334,
"expectedFilteredCount": 334,
"filterMs": 59.5,
"repeat": 1
},
{
"kind": "trace",
"theme": "light",
"size": 200,
"initialRenderMs": 75.10000002384186,
"requests": [],
"domNodes": 2092,
"scrollContainers": [
{
"node": "HTML",
"height": 905,
"scrollHeight": 905,
"overflow": "hidden",
"position": "static"
},
{
"node": "BODY",
"height": 905,
"scrollHeight": 905,
"overflow": "hidden",
"position": "static"
},
{
"node": "viewport",
"height": 905,
"scrollHeight": 18853,
"overflow": "auto",
"position": "static"
},
{
"node": "app",
"height": 18853,
"scrollHeight": 18853,
"overflow": "visible",
"position": "static"
},
{
"node": "trace-visualization",
"height": 18805,
"scrollHeight": 18805,
"overflow": "visible",
"position": "static"
},
{
"node": "timeline-view",
"height": 16692,
"scrollHeight": 16692,
"overflow": "visible",
"position": "static"
},
{
"node": "timeline",
"height": 16692,
"scrollHeight": 16692,
"overflow": "visible",
"position": "relative"
}
],
"frameGapsMs": {
"median": 10,
"p95": 10.100000000000364,
"max": 40.00000000000003
},
"frames": 411,
"longTasks": [],
"scrollTop": 0,
"scrollHeight": 18853,
"maxScrollTop": 17948,
"filteredDomNodes": 436,
"filteredCount": 44,
"expectedFilteredCount": 44,
"filterMs": 16,
"treeSwitchMs": 32.099999994039536,
"treeFilterMs": 27.900000005960464,
"treeFilteredDomNodes": 689,
"repeat": 1
},
{
"kind": "trace",
"theme": "light",
"size": 2000,
"initialRenderMs": 283.7999999821186,
"requests": [],
"domNodes": 20542,
"scrollContainers": [
{
"node": "HTML",
"height": 905,
"scrollHeight": 905,
"overflow": "hidden",
"position": "static"
},
{
"node": "BODY",
"height": 905,
"scrollHeight": 905,
"overflow": "hidden",
"position": "static"
},
{
"node": "viewport",
"height": 905,
"scrollHeight": 184678,
"overflow": "auto",
"position": "static"
},
{
"node": "app",
"height": 184678,
"scrollHeight": 184678,
"overflow": "visible",
"position": "static"
},
{
"node": "trace-visualization",
"height": 184630,
"scrollHeight": 184630,
"overflow": "visible",
"position": "static"
},
{
"node": "timeline-view",
"height": 166992,
"scrollHeight": 166992,
"overflow": "visible",
"position": "static"
},
{
"node": "timeline",
"height": 166992,
"scrollHeight": 166992,
"overflow": "visible",
"position": "relative"
}
],
"frameGapsMs": {
"median": 10,
"p95": 10.100000000000364,
"max": 20.100000000000023
},
"frames": 491,
"longTasks": [],
"scrollTop": 54000,
"scrollHeight": 184678,
"maxScrollTop": 81000,
"filteredDomNodes": 4036,
"filteredCount": 444,
"expectedFilteredCount": 444,
"filterMs": 97.40000000596046,
"treeSwitchMs": 64,
"treeFilterMs": 617.1999999880791,
"treeFilteredDomNodes": 6539,
"repeat": 1
},
{
"kind": "trace",
"theme": "dark",
"size": 200,
"initialRenderMs": 81.5,
"requests": [],
"domNodes": 2092,
"scrollContainers": [
{
"node": "HTML",
"height": 905,
"scrollHeight": 905,
"overflow": "hidden",
"position": "static"
},
{
"node": "BODY",
"height": 905,
"scrollHeight": 905,
"overflow": "hidden",
"position": "static"
},
{
"node": "viewport",
"height": 905,
"scrollHeight": 18853,
"overflow": "auto",
"position": "static"
},
{
"node": "app",
"height": 18853,
"scrollHeight": 18853,
"overflow": "visible",
"position": "static"
},
{
"node": "trace-visualization",
"height": 18805,
"scrollHeight": 18805,
"overflow": "visible",
"position": "static"
},
{
"node": "timeline-view",
"height": 16692,
"scrollHeight": 16692,
"overflow": "visible",
"position": "static"
},
{
"node": "timeline",
"height": 16692,
"scrollHeight": 16692,
"overflow": "visible",
"position": "relative"
}
],
"frameGapsMs": {
"median": 10,
"p95": 10.100000000000364,
"max": 30
},
"frames": 415,
"longTasks": [],
"scrollTop": 0,
"scrollHeight": 18853,
"maxScrollTop": 17948,
"filteredDomNodes": 436,
"filteredCount": 44,
"expectedFilteredCount": 44,
"filterMs": 16.69999998807907,
"treeSwitchMs": 31.099999994039536,
"treeFilterMs": 28.900000005960464,
"treeFilteredDomNodes": 689,
"repeat": 1
},
{
"kind": "trace",
"theme": "dark",
"size": 2000,
"initialRenderMs": 289,
"requests": [],
"domNodes": 20542,
"scrollContainers": [
{
"node": "HTML",
"height": 905,
"scrollHeight": 905,
"overflow": "hidden",
"position": "static"
},
{
"node": "BODY",
"height": 905,
"scrollHeight": 905,
"overflow": "hidden",
"position": "static"
},
{
"node": "viewport",
"height": 905,
"scrollHeight": 184678,
"overflow": "auto",
"position": "static"
},
{
"node": "app",
"height": 184678,
"scrollHeight": 184678,
"overflow": "visible",
"position": "static"
},
{
"node": "trace-visualization",
"height": 184630,
"scrollHeight": 184630,
"overflow": "visible",
"position": "static"
},
{
"node": "timeline-view",
"height": 166992,
"scrollHeight": 166992,
"overflow": "visible",
"position": "static"
},
{
"node": "timeline",
"height": 166992,
"scrollHeight": 166992,
"overflow": "visible",
"position": "relative"
}
],
"frameGapsMs": {
"median": 10,
"p95": 10.100000000000364,
"max": 20.200000000000045
},
"frames": 487,
"longTasks": [],
"scrollTop": 54000,
"scrollHeight": 184678,
"maxScrollTop": 81000,
"filteredDomNodes": 4036,
"filteredCount": 444,
"expectedFilteredCount": 444,
"filterMs": 74.5,
"treeSwitchMs": 62.900000005960464,
"treeFilterMs": 483,
"treeFilteredDomNodes": 6539,
"repeat": 1
},
{
"kind": "trace",
"theme": "paper-moments",
"size": 200,
"initialRenderMs": 119.59999999403954,
"requests": [],
"domNodes": 2092,
"scrollContainers": [
{
"node": "HTML",
"height": 905,
"scrollHeight": 905,
"overflow": "hidden",
"position": "static"
},
{
"node": "BODY",
"height": 905,
"scrollHeight": 905,
"overflow": "hidden",
"position": "static"
},
{
"node": "viewport",
"height": 905,
"scrollHeight": 18853,
"overflow": "auto",
"position": "static"
},
{
"node": "app",
"height": 18853,
"scrollHeight": 18853,
"overflow": "visible",
"position": "static"
},
{
"node": "trace-visualization",
"height": 18805,
"scrollHeight": 18805,
"overflow": "visible",
"position": "static"
},
{
"node": "timeline-view",
"height": 16692,
"scrollHeight": 16692,
"overflow": "visible",
"position": "static"
},
{
"node": "timeline",
"height": 16692,
"scrollHeight": 16692,
"overflow": "visible",
"position": "relative"
}
],
"frameGapsMs": {
"median": 10,
"p95": 20,
"max": 89.99999999999997
},
"frames": 394,
"longTasks": [],
"scrollTop": 0,
"scrollHeight": 18853,
"maxScrollTop": 17948,
"filteredDomNodes": 436,
"filteredCount": 44,
"expectedFilteredCount": 44,
"filterMs": 19.700000017881393,
"treeSwitchMs": 40.10000002384186,
"treeFilterMs": 19.899999976158142,
"treeFilteredDomNodes": 689,
"repeat": 1
},
{
"kind": "trace",
"theme": "paper-moments",
"size": 2000,
"initialRenderMs": 337.2999999821186,
"requests": [],
"domNodes": 20542,
"scrollContainers": [
{
"node": "HTML",
"height": 905,
"scrollHeight": 905,
"overflow": "hidden",
"position": "static"
},
{
"node": "BODY",
"height": 905,
"scrollHeight": 905,
"overflow": "hidden",
"position": "static"
},
{
"node": "viewport",
"height": 905,
"scrollHeight": 184678,
"overflow": "auto",
"position": "static"
},
{
"node": "app",
"height": 184678,
"scrollHeight": 184678,
"overflow": "visible",
"position": "static"
},
{
"node": "trace-visualization",
"height": 184630,
"scrollHeight": 184630,
"overflow": "visible",
"position": "static"
},
{
"node": "timeline-view",
"height": 166992,
"scrollHeight": 166992,
"overflow": "visible",
"position": "static"
},
{
"node": "timeline",
"height": 166992,
"scrollHeight": 166992,
"overflow": "visible",
"position": "relative"
}
],
"frameGapsMs": {
"median": 10,
"p95": 20.100000000000023,
"max": 30.100000000000023
},
"frames": 416,
"longTasks": [],
"scrollTop": 54000,
"scrollHeight": 184678,
"maxScrollTop": 81000,
"filteredDomNodes": 4036,
"filteredCount": 444,
"expectedFilteredCount": 444,
"filterMs": 86.2999999821186,
"treeSwitchMs": 62.099999994039536,
"treeFilterMs": 540.0999999940395,
"treeFilteredDomNodes": 6539,
"repeat": 1
},
{
"kind": "trace",
"theme": "paper-moments",
"size": 10000,
"initialRenderMs": 1803.9000000059605,
"requests": [],
"domNodes": 102542,
"scrollContainers": [
{
"node": "HTML",
"height": 905,
"scrollHeight": 905,
"overflow": "hidden",
"position": "static"
},
{
"node": "BODY",
"height": 905,
"scrollHeight": 905,
"overflow": "hidden",
"position": "static"
},
{
"node": "viewport",
"height": 905,
"scrollHeight": 921678,
"overflow": "auto",
"position": "static"
},
{
"node": "app",
"height": 921678,
"scrollHeight": 921678,
"overflow": "visible",
"position": "static"
},
{
"node": "trace-visualization",
"height": 921630,
"scrollHeight": 921630,
"overflow": "visible",
"position": "static"
},
{
"node": "timeline-view",
"height": 834992,
"scrollHeight": 834992,
"overflow": "visible",
"position": "static"
},
{
"node": "timeline",
"height": 834992,
"scrollHeight": 834992,
"overflow": "visible",
"position": "relative"
}
],
"frameGapsMs": {
"median": 20.100000000000364,
"p95": 40,
"max": 100
},
"frames": 357,
"longTasks": [
82,
53
],
"scrollTop": 54000,
"scrollHeight": 921678,
"maxScrollTop": 81000,
"filteredDomNodes": 40036,
"filteredCount": 4444,
"expectedFilteredCount": 4444,
"filterMs": 582.7999999821186,
"treeSwitchMs": 317.5,
"treeFilterMs": 25914.80000001192,
"treeFilteredDomNodes": 32539,
"repeat": 1
}
]