siyuan/app/guide/20210808180117-6v0mkxr/20230405172236-pg3l9eu.sy

641 lines
No EOL
15 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"ID": "20230405172236-pg3l9eu",
"Spec": "1",
"Type": "NodeDocument",
"Properties": {
"icon": "1f680",
"id": "20230405172236-pg3l9eu",
"title": "Performance Optimization",
"updated": "20230406155736"
},
"Children": [
{
"ID": "20230405172238-x56gmi0",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20230405172238-x56gmi0",
"updated": "20230405172238"
},
"Children": [
{
"Type": "NodeText",
"Data": "Overview"
}
]
},
{
"ID": "20230405172238-38se2u5",
"Type": "NodeParagraph",
"Properties": {
"id": "20230405172238-38se2u5",
"updated": "20230405172238"
},
"Children": [
{
"Type": "NodeText",
"Data": "The performance on different hardware configurations and different operating system platforms is different. In addition, as the data increases, performance degradation is unavoidable. So we may need to change the way of use and adjust some configuration items to improve performance for a smoother experience."
}
]
},
{
"ID": "20230405172238-lknsx9c",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20230405172238-lknsx9c",
"updated": "20230405172238"
},
"Children": [
{
"Type": "NodeText",
"Data": "Overall Performance"
}
]
},
{
"ID": "20230405172238-3rel2m1",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230405172238-3rel2m1",
"updated": "20230405172414"
},
"Children": [
{
"ID": "20230405172238-3vv1mxu",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230405172238-3vv1mxu",
"updated": "20230405172238"
},
"Children": [
{
"ID": "20230405172238-pew1c0t",
"Type": "NodeParagraph",
"Properties": {
"id": "20230405172238-pew1c0t",
"updated": "20230405172238"
},
"Children": [
{
"Type": "NodeText",
"Data": "Number of content blocks: The number of content blocks has a large impact on performance, such as expanding the document tree, searching, and writing data. But don't worry too much, usually the number of content blocks in the order of millions will not have much impact, unless the size of each block is large"
}
]
}
]
},
{
"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": "20230405172644"
},
"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": "20230405172238"
},
"Children": [
{
"ID": "20230405172238-hrrkysd",
"Type": "NodeParagraph",
"Properties": {
"id": "20230405172238-hrrkysd",
"updated": "20230405172238"
},
"Children": [
{
"Type": "NodeText",
"Data": "Upgrade hardware, this is the fastest way to improve performance"
}
]
}
]
}
]
},
{
"ID": "20230405172238-v4hbjbe",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20230405172238-v4hbjbe",
"updated": "20230405172238"
},
"Children": [
{
"Type": "NodeText",
"Data": "Editor Performance"
}
]
},
{
"ID": "20230405172238-ba6rydi",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230405172238-ba6rydi",
"updated": "20230405172238"
},
"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": "20230405172238"
},
"Children": [
{
"ID": "20230405172238-qnz5kn9",
"Type": "NodeParagraph",
"Properties": {
"id": "20230405172238-qnz5kn9",
"updated": "20230405172238"
},
"Children": [
{
"Type": "NodeText",
"Data": "Pictures and charts: Pictures and charts mainly affect the performance of the editor. If the document contains a large number of pictures 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": "20230406155736"
},
"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": "20230405172505"
},
"Children": [
{
"ID": "20230405172238-jpeu5bm",
"Type": "NodeParagraph",
"Properties": {
"id": "20230405172238-jpeu5bm",
"updated": "20230405172505"
},
"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"
}
]
}
]
},
{
"ID": "20230406155545-rireqb6",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230406155545-rireqb6",
"updated": "20230406155555"
},
"Children": [
{
"ID": "20230406155545-33xx41r",
"Type": "NodeParagraph",
"Properties": {
"id": "20230406155545-33xx41r",
"updated": "20230406155555"
},
"Children": [
{
"Type": "NodeText",
"Data": "Improve editor performance by reducing elements with "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Focus"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
]
}
]
}
]
}