Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

18.1 KB
Raw Blame
{
	"ID": "20230405172236-pg3l9eu",
	"Spec": "2",
	"Type": "NodeDocument",
	"Properties": {
		"icon": "1f680",
		"id": "20230405172236-pg3l9eu",
		"title": "Performance Optimization",
		"type": "doc",
		"updated": "20261024163429"
	},
	"Children": [
		{
			"ID": "20230405172238-x56gmi0",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20230405172238-x56gmi0",
				"updated": "20261024161440"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Overview"
				}
			]
		},
		{
			"ID": "20230405172238-38se2u5",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20230405172238-38se2u5",
				"updated": "20261024161440"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Performance depends on hardware, system load, data volume, and content structure. If an operation is slow, first identify whether it involves startup, search, editing, or network access, then check the relevant settings below."
				}
			]
		},
		{
			"ID": "20230405172238-lknsx9c",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20230405172238-lknsx9c",
				"updated": "20261024163429"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Overall Performance"
				}
			]
		},
		{
			"ID": "20230405172238-3rel2m1",
			"Type": "NodeList",
			"ListData": {},
			"Properties": {
				"id": "20230405172238-3rel2m1",
				"updated": "20261024161440"
			},
			"Children": [
				{
					"ID": "20230405172238-3vv1mxu",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20230405172238-3vv1mxu",
						"updated": "20261024161440"
					},
					"Children": [
						{
							"ID": "20230405172238-pew1c0t",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230405172238-pew1c0t",
								"updated": "20261024161440"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Block count and size: Affect document loading, search, and writes; the impact also depends on hardware and content structure, so block count alone is not a reliable measure"
								}
							]
						}
					]
				},
				{
					"ID": "20230405172238-r7jjtjq",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20230405172238-r7jjtjq",
						"updated": "20230405172238"
					},
					"Children": [
						{
							"ID": "20230405172238-ysivby7",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230405172238-ysivby7",
								"updated": "20230405172238"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "System environment: the current load of the operating system will affect the overall performance"
								}
							]
						}
					]
				},
				{
					"ID": "20230405172238-ylrmtl8",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20230405172238-ylrmtl8",
						"updated": "20230405172414"
					},
					"Children": [
						{
							"ID": "20230405172238-s9o5bs5",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230405172238-s9o5bs5",
								"updated": "20230405172414"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Network environment: The network quality will affect the request response time when using "
								},
								{
									"Type": "NodeTextMark",
									"TextMarkType": "kbd",
									"TextMarkTextContent": "Network serving"
								},
								{
									"Type": "NodeText",
									"Data": "​​"
								}
							]
						}
					]
				}
			]
		},
		{
			"ID": "20230405172238-vcy1xy7",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20230405172238-vcy1xy7",
				"updated": "20230405172238"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Optimization suggestions:"
				}
			]
		},
		{
			"ID": "20230405172238-rcjs6d7",
			"Type": "NodeList",
			"ListData": {},
			"Properties": {
				"id": "20230405172238-rcjs6d7",
				"updated": "20261024163429"
			},
			"Children": [
				{
					"ID": "20230405172238-ompk0nl",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20230405172238-ompk0nl",
						"updated": "20230405172238"
					},
					"Children": [
						{
							"ID": "20230405172238-oi6g676",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230405172238-oi6g676",
								"updated": "20230405172238"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Put infrequently used documents or clipped documents separately into "
								},
								{
									"Type": "NodeTextMark",
									"TextMarkType": "code",
									"TextMarkTextContent": "Archive Notebook"
								},
								{
									"Type": "NodeText",
									"Data": "​ or "
								},
								{
									"Type": "NodeTextMark",
									"TextMarkType": "code",
									"TextMarkTextContent": "Clipped Notebook"
								},
								{
									"Type": "NodeText",
									"Data": "​, after closing it, the number of database indexes will be reduced to improve performance"
								}
							]
						}
					]
				},
				{
					"ID": "20230405172238-vwfpckn",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20230405172238-vwfpckn",
						"updated": "20230405172439"
					},
					"Children": [
						{
							"ID": "20230405172238-ppcwhih",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230405172238-ppcwhih",
								"updated": "20230405172439"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Decrease "
								},
								{
									"Type": "NodeTextMark",
									"TextMarkType": "kbd",
									"TextMarkTextContent": "The number of search results displayed"
								},
								{
									"Type": "NodeText",
									"Data": "​, we will monitor the performance of the search request response time, if the response time exceeds the threshold, a pop-up will prompt the user to decrease the configuration item"
								}
							]
						},
						{
							"ID": "20230405172238-0dl0a2a",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230405172238-0dl0a2a",
								"updated": "20230405172238"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "The performance monitoring threshold can be set through the environment variable "
								},
								{
									"Type": "NodeTextMark",
									"TextMarkType": "code",
									"TextMarkTextContent": "SIYUAN_PERFORMANCE_TIMING"
								},
								{
									"Type": "NodeText",
									"Data": "​, in milliseconds, and the default is 15000, which is 15 seconds"
								}
							]
						}
					]
				},
				{
					"ID": "20230405172238-vusmko3",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20230405172238-vusmko3",
						"updated": "20230405172238"
					},
					"Children": [
						{
							"ID": "20230405172238-65wv8v6",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230405172238-65wv8v6",
								"updated": "20230405172238"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Maintain sufficient system resources"
								}
							]
						}
					]
				},
				{
					"ID": "20230405172238-pfu7dqm",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20230405172238-pfu7dqm",
						"updated": "20230405172644"
					},
					"Children": [
						{
							"ID": "20230405172238-rh09qe9",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230405172238-rh09qe9",
								"updated": "20230405172644"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Using a solid-state drive, placing the workspace on a SSD can effectively improve overall performance"
								}
							]
						}
					]
				},
				{
					"ID": "20230405172238-aur9ljz",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20230405172238-aur9ljz",
						"updated": "20261024163429"
					},
					"Children": [
						{
							"ID": "20230405172238-hrrkysd",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230405172238-hrrkysd",
								"updated": "20261024163429"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "If hardware resources are insufficient, consider upgrading memory, the processor, or storage according to the bottleneck"
								}
							]
						}
					]
				}
			]
		},
		{
			"ID": "20230405172238-v4hbjbe",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20230405172238-v4hbjbe",
				"updated": "20261024163429"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Editor Performance"
				}
			]
		},
		{
			"ID": "20230405172238-ba6rydi",
			"Type": "NodeList",
			"ListData": {},
			"Properties": {
				"id": "20230405172238-ba6rydi",
				"updated": "20231014100732"
			},
			"Children": [
				{
					"ID": "20230405172238-nxx7ops",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20230405172238-nxx7ops",
						"updated": "20230405172238"
					},
					"Children": [
						{
							"ID": "20230405172238-8bg5c75",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230405172238-8bg5c75",
								"updated": "20230405172238"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Leaf block size: The size of a single leaf block mainly affects the performance of the editor. If a leaf block contains a large number of characters, the editor may freeze"
								}
							]
						}
					]
				},
				{
					"ID": "20230405172238-7vgeyd9",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20230405172238-7vgeyd9",
						"updated": "20230405172238"
					},
					"Children": [
						{
							"ID": "20230405172238-gyuvf0e",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230405172238-gyuvf0e",
								"updated": "20230405172238"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "The number of dynamically loaded blocks: The number of loaded blocks mainly affects the performance of the editor, especially for the case where there are many formula blocks, code blocks, and chart blocks. If more blocks are loaded, the editor may freeze"
								}
							]
						}
					]
				},
				{
					"ID": "20230405172238-cukxnf0",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20230405172238-cukxnf0",
						"updated": "20230405172238"
					},
					"Children": [
						{
							"ID": "20230405172238-ydl6grd",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230405172238-ydl6grd",
								"updated": "20230405172238"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Code block line number: The code block line number mainly affects the performance of the editor. If a code block has a lot of content and the line number display is turned on, the editor may freeze"
								}
							]
						}
					]
				},
				{
					"ID": "20230405172238-2jjuvev",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20230405172238-2jjuvev",
						"updated": "20231014100732"
					},
					"Children": [
						{
							"ID": "20230405172238-qnz5kn9",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230405172238-qnz5kn9",
								"updated": "20231014100732"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Formulas, images and charts: Formulas, images and charts mainly affect the performance of the editor. If the document contains a large number of formulas, images and charts, the editor may freeze"
								}
							]
						}
					]
				}
			]
		},
		{
			"ID": "20230405172238-hw2kzh6",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20230405172238-hw2kzh6",
				"updated": "20230405172238"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Optimization suggestions:"
				}
			]
		},
		{
			"ID": "20230405172238-udux4az",
			"Type": "NodeList",
			"ListData": {},
			"Properties": {
				"id": "20230405172238-udux4az",
				"updated": "20261024163429"
			},
			"Children": [
				{
					"ID": "20230405172238-tknvcie",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20230405172238-tknvcie",
						"updated": "20230406155736"
					},
					"Children": [
						{
							"ID": "20230405172238-1ahwph8",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230405172238-1ahwph8",
								"updated": "20230406155736"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Avoid using too many soft line breaks, although not using soft line breaks will increase the number of blocks, but using less soft line breaks can reduce the size of paragraph blocks and avoid editor lag"
								}
							]
						}
					]
				},
				{
					"ID": "20230405172238-vzn3127",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20230405172238-vzn3127",
						"updated": "20240420104851"
					},
					"Children": [
						{
							"ID": "20230405172238-jpeu5bm",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230405172238-jpeu5bm",
								"updated": "20240420104851"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Reduce "
								},
								{
									"Type": "NodeTextMark",
									"TextMarkType": "kbd",
									"TextMarkTextContent": "Number of dynamically loaded blocks"
								},
								{
									"Type": "NodeText",
									"Data": "​, especially for scenarios with many formula blocks, code blocks or chart blocks. There is no specific optimal value for this parameter, please refer to your experience after adjustment"
								}
							]
						}
					]
				},
				{
					"ID": "20230406155545-rireqb6",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20230406155545-rireqb6",
						"updated": "20261024163429"
					},
					"Children": [
						{
							"ID": "20230406155545-33xx41r",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20230406155545-33xx41r",
								"updated": "20261024163429"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Focus on a content block to reduce how much content the editor displays at once"
								}
							]
						}
					]
				},
				{
					"ID": "20260916172814-we94rkx",
					"Type": "NodeListItem",
					"ListData": {
						"BulletChar": 42,
						"Marker": "Kg=="
					},
					"Properties": {
						"id": "20260916172814-we94rkx",
						"updated": "20260916172814"
					},
					"Children": [
						{
							"ID": "20260916172814-pdghb8i",
							"Type": "NodeParagraph",
							"Properties": {
								"id": "20260916172814-pdghb8i",
								"updated": "20260916172814"
							},
							"Children": [
								{
									"Type": "NodeText",
									"Data": "Desktop accessibility support is disabled by default to reduce long-text editing or pasting freezes in some environments. If you use a screen reader or other assistive tools, enable it in "
								},
								{
									"Type": "NodeTextMark",
									"TextMarkType": "kbd",
									"TextMarkTextContent": "Settings"
								},
								{
									"Type": "NodeText",
									"Data": " - "
								},
								{
									"Type": "NodeTextMark",
									"TextMarkType": "kbd",
									"TextMarkTextContent": "App"
								},
								{
									"Type": "NodeText",
									"Data": " - "
								},
								{
									"Type": "NodeTextMark",
									"TextMarkType": "kbd",
									"TextMarkTextContent": "General"
								},
								{
									"Type": "NodeText",
									"Data": " - "
								},
								{
									"Type": "NodeTextMark",
									"TextMarkType": "kbd",
									"TextMarkTextContent": "Accessibility support"
								},
								{
									"Type": "NodeText",
									"Data": ". This setting applies to all workspaces on this device and requires fully quitting and restarting SiYuan. If enabling it causes freezes, try disabling it and restarting to compare the behavior"
								}
							]
						}
					]
				}
			]
		},
		{
			"ID": "20250825114750-j9t49j2",
			"Type": "NodeHeading",
			"HeadingLevel": 2,
			"Properties": {
				"id": "20250825114750-j9t49j2",
				"updated": "20261024161440"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Optimizing the Index"
				}
			]
		},
		{
			"ID": "20250825114750-qtm8i82",
			"Type": "NodeParagraph",
			"Properties": {
				"id": "20250825114750-qtm8i82",
				"updated": "20261016191102"
			},
			"Children": [
				{
					"Type": "NodeText",
					"Data": "Regularly optimize the index using "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Settings"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "App"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Maintenance"
				},
				{
					"Type": "NodeText",
					"Data": " - "
				},
				{
					"Type": "NodeTextMark",
					"TextMarkType": "kbd",
					"TextMarkTextContent": "Optimize Index"
				},
				{
					"Type": "NodeText",
					"Data": "."
				}
			]
		}
	]
}