Skip to content

Commit

Permalink
更新文档,商业化版本支持assembly::load优化及更详细的崩溃日志
Browse files Browse the repository at this point in the history
  • Loading branch information
pirunxi committed Aug 2, 2024
1 parent 2048b31 commit b68baa4
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/business/assemblyloadoptimization.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Assembly::Load加载优化

商业化版本从以几个方面优化了Assembly::Load加载时间,最终将Assembly::Load时间减少为原来的**20%**

- 优化InterpreterImage::InitRuntimeMetadatas的代码
- 延迟初始化了了部分耗时并且不需要立即初始化的metadata

9 changes: 9 additions & 0 deletions docs/business/crashreport.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 包含解释器栈信息的崩溃日志

社区版本崩溃时不包含解释器栈信息,使得线上项目难以定位错误。商业化的版本在崩溃时添加更丰富的解释器栈信息,方便定位问题。

日志类似这样:

![crashlog](/img/hybridclr/crashlog.jpg)


2 changes: 2 additions & 0 deletions docs/business/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
|[完全泛型共享](./fullgenericsharing)|||||
|[元数据优化](./metadataoptimization.md)|||||
|[标准解释性能优化](./basicoptimization)|||||
|[Assembly::Load加载优化](./assemblyloadoptimization)|||||
|[包含解释器堆栈信息的崩溃日志](./crashreport)|||||
|[离线指令优化](./advancedoptimization)|||||
|global-metadata.dat加密|||||
|[代码加固](./basicencryption)|||||
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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)

Original file line number Diff line number Diff line change
Expand Up @@ -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) | ||||
Expand Down
2 changes: 2 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ const sidebars = {
'business/differentialhybridexecution',
'business/fullgenericsharing',
'business/metadataoptimization',
'business/assemblyloadoptimization',
'business/crashreport',
'business/basicoptimization',
'business/advancedoptimization',
'business/basicencryption',
Expand Down
Binary file added static/img/hybridclr/crashlog.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b68baa4

Please sign in to comment.