On the homepage of Rsdoctor, there is a card called Compile Overall
that provides information about the compilation process of the current project. The content is shown in the following image:
For each compilation phase, if the time data is displayed in blue, it means that you can click to view the detailed time breakdown.
The following table explains the meaning and code implementation of each phase in the card:
Phase Name | Description | Code Implementation |
---|---|---|
Bootstrap -> BeforeCompile | Represents the time taken from project startup to before compilation starts |
|
Compile | Represents the total time taken for the project compilation |
|
AfterCompile -> Done | Represents the time taken from compilation completion to the end of the entire process |
|
Minify | Represents the time taken for file compression during the compilation process in most cases |
|
By clicking on the data of the Bootstrap -> BeforeCompile
phase, a popup will appear on the page, as shown in the following image:
The popup mainly contains a chart:
Hovering over a data point in the chart will display the following information in a tooltip:
end - start
In this section, you can navigate to "Compile Analysis" -> "Loader Analysis" -> "Loader Timeline" in the navigation bar to view the timeline of loader compilation time.
By clicking on the data of the AfterCompile -> Done
phase, a popup will appear on the page, as shown in the following image:
The popup mainly contains a data table that shows the relevant data of the calls. The field meanings are as follows:
Scrolling down the page will show the corresponding chart:
The chart shows:
Hovering over a data point in the chart will display the following information in a tooltip:
end - start
Minify details are currently not available for Rspack projects.
By clicking on the data of the Minify
phase, a popup will appear on the page, as shown in the following images:
The content in the popup has similar meanings to the previous paragraphs, so it will not be repeated here.