diff --git a/docs/business/assemblyloadoptimization.md b/docs/business/assemblyloadoptimization.md new file mode 100644 index 000000000..73cb3fc48 --- /dev/null +++ b/docs/business/assemblyloadoptimization.md @@ -0,0 +1,7 @@ +# Assembly::Load加载优化 + +商业化版本从以几个方面优化了Assembly::Load加载时间,最终将Assembly::Load时间减少为原来的**20%**。 + +- 优化InterpreterImage::InitRuntimeMetadatas的代码 +- 延迟初始化了了部分耗时并且不需要立即初始化的metadata + diff --git a/docs/business/crashreport.md b/docs/business/crashreport.md new file mode 100644 index 000000000..c84098e1f --- /dev/null +++ b/docs/business/crashreport.md @@ -0,0 +1,9 @@ +# 包含解释器栈信息的崩溃日志 + +社区版本崩溃时不包含解释器栈信息,使得线上项目难以定位错误。商业化的版本在崩溃时添加更丰富的解释器栈信息,方便定位问题。 + +日志类似这样: + +![crashlog](/img/hybridclr/crashlog.jpg) + + diff --git a/docs/business/intro.md b/docs/business/intro.md index 178294cc1..75f99aaf8 100644 --- a/docs/business/intro.md +++ b/docs/business/intro.md @@ -28,6 +28,8 @@ |[完全泛型共享](./fullgenericsharing)||✔|✔|✔| |[元数据优化](./metadataoptimization.md)||✔|✔|✔| |[标准解释性能优化](./basicoptimization)||✔|✔|✔| +|[Assembly::Load加载优化](./assemblyloadoptimization)||✔|✔|✔| +|[包含解释器堆栈信息的崩溃日志](./crashreport)||✔|✔|✔| |[离线指令优化](./advancedoptimization)||✔|✔|✔| |global-metadata.dat加密||✔|✔|✔| |[代码加固](./basicencryption)||✔|✔|✔| diff --git a/i18n/en/docusaurus-plugin-content-docs/current/business/assemblyloadoptimization.md b/i18n/en/docusaurus-plugin-content-docs/current/business/assemblyloadoptimization.md new file mode 100644 index 000000000..4f775da4e --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/business/assemblyloadoptimization.md @@ -0,0 +1,6 @@ +# Assembly::Load Loading Time Optimization + +The commercial version optimizes the Assembly::Load loading time from several aspects, and finally reduces the Assembly::Load time to ##20%## of the original. + +- Optimize the code of InterpreterImage::InitRuntimeMetadatas +- Delayed initialization of some metadata that takes time and does not need to be initialized immediately diff --git a/i18n/en/docusaurus-plugin-content-docs/current/business/crashreport.md b/i18n/en/docusaurus-plugin-content-docs/current/business/crashreport.md new file mode 100644 index 000000000..4dad6f026 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/business/crashreport.md @@ -0,0 +1,8 @@ +# Crash Report With Interpreter Strace Trace + +The community version does not contain interpreter stack information when it crashes, making it difficult to locate errors in online projects. The commercial version adds richer interpreter stack information when it crashes, making it easier to locate problems. + +The log looks like this: + +![crashlog](/img/hybridclr/crashlog.jpg) + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/business/intro.md b/i18n/en/docusaurus-plugin-content-docs/current/business/intro.md index 786ea7bb6..7d2139f15 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/business/intro.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/business/intro.md @@ -26,6 +26,8 @@ Currently, there are three commercial versions, with specific feature comparison | [DOTS](../basic/dots) | ✔ | ✔ | ✔ | ✔ | | [Full Generic Sharing](./fullgenericsharing) | | ✔ | ✔ | ✔ | | [Metadata Optimization](./metadataoptimization.md) | | ✔ | ✔ | ✔ | +|[Assembly::Load Loading Time Optimization](./assemblyloadoptimization)||✔|✔|✔| +|[Crash Report With Interpreter Stack Trace](./crashreport)||✔|✔|✔| | [Standard Interpretation Performance Optimization](./basicoptimization) | | ✔ | ✔ | ✔ | | [Offline Instruction Optimization](./advancedoptimization) | | ✔ | ✔ | ✔ | | [Code Encryption](./basicencryption) | | ✔ | ✔ | ✔ | diff --git a/sidebars.js b/sidebars.js index 6796b8282..b9cdec36c 100644 --- a/sidebars.js +++ b/sidebars.js @@ -85,6 +85,8 @@ const sidebars = { 'business/differentialhybridexecution', 'business/fullgenericsharing', 'business/metadataoptimization', + 'business/assemblyloadoptimization', + 'business/crashreport', 'business/basicoptimization', 'business/advancedoptimization', 'business/basicencryption', diff --git a/static/img/hybridclr/crashlog.jpg b/static/img/hybridclr/crashlog.jpg new file mode 100644 index 000000000..b7297ad99 Binary files /dev/null and b/static/img/hybridclr/crashlog.jpg differ