Instructions for use
Diagnose can diagnose the overall performance of the current Map, and give the query time, Get Data time and drawing time of the map under different views and scales, as well as the time consumption of each layer. The specific time consumption is represented by a histogram. Among
- Query time: refers to the time required to query the objects to be displayed in the current Map from the Dataset, which is generally related to the data structure of Vector Data. The time-consuming optimization can be started from the aspects of Spatial Index, data coding, etc.
- Get Data Time: It refers to the time required to obtain the queried object from the Dataset, which is generally related to the Dataset Type and Dataset storage location, and its time-consuming optimization can start from the aspects of switching Datasource.
- Drawing time: It refers to the time of Show in Map and rendering objects. To improve the display efficiency of map elements, we can start from optimizing Dataset and optimizing map display.
Note: The drawing of Vector Data includes the query, acquisition and drawing of Vector Dataset; while the image drawing is to directly obtain the image block from the Dataset, without the real query operation and the operation of Get Data from the record set, so its time-consuming is mainly concentrated in the drawing time.
In the process of map zooming, roaming, refreshing and other operations, if Refresh Map is slow or stuck, it is recommended to use Diagnose tool for diagnosis. According to the total time consumption of the diagnosis results and the time consumption of each layer, the layer with more time consumption can be optimized accordingly, so as to improve the map performance.
Performance Diagnosis
- Function Access: After opening the map for which Performance Diagnosis is required, click Map tab-> Drawing group-> Performance Diagnosis button. The Performance Diagnosis "panel pops up on the right side of Application. In this panel, you can view the time consumed by Current MapGet Data, drawing, query, etc., in milliseconds.
- Diagnosis Mode: This function supports two diagnosis modes: Real-time Diagnosis and Manual Diagnosis. Check the " Enable Real-time Diagnosis" check box at the lower left corner of the panel. The time consumed by Refresh Map in the current view window can be monitored in real time; If Real-time Diagnosis is not Enabled, adjust the display content or scale of Map by roaming or zooming. Click the " Diagnosis" button in the lower right corner of the panel to diagnose the map time consumption of Current Windows.
- Diagnosis result is divided into three modules for display, namely, scale tree directory, layer time consumption statistics, and All Diagnoses. The specific description is as follows:
- Diagnosis record: displays the scale of the diagnosis operation by Current Map, the map of different ranges with the same scale, the elapsed time and the diagnosis status. Select the diagnosis record here, the map will display the map corresponding to the record, and " Layer Time Consumption Statistics" will display the time consumption of each layer of the record.
- Statistics of time consumption by layer: Use the histogram to display the information of query time consumption, data acquisition time consumption and drawing time consumption of each layer under Specify Range and scale. You can view the Layer Caption, the elapsed time of each item, and the Object Count of the corresponding layer. At the same time, click a bar chart to automatically locate the layer in Layer Manager. Users can optimize the layers that consume more time according to the drawing time and query time of the map. For related operations, please refer to Query time consuming optimization . Get Data time-consuming optimization and Draw time consuming optimization page.
- All Diagnoses: The diagnosis results of all diagnosis records are displayed. Place the mouse on the histogram to view the name, scale, center point and Visible Layer number of Current Map. Click the histogram corresponding to a scale. You can view the time consumption of each layer under the scale in the Diagram of " Time Consumption Statistics by Layer".
Note: Diagnose dialog box can only display the diagnosis of the same map at the same time. When switching Map for diagnosis, you need to clear the diagnosis result of the previous map.
- The diagnosis record and diagnosis result can be managed through the toolbar. The Function Description in the toolbar is as follows:
- Add diagnostic list: According to the specified Centre Point or Map Bounds, you can add the records to be diagnosed in different scales of the map or in different ranges of the same scale, so as to facilitate all-round diagnostic map performance.
- Remove: supports the removal of selected records and all records.
- Import: Support the import of Diagnosis Checklist (*.xml file) to facilitate diagnosis according to the records in the list.
- Export: provide the function of exporting Diagnosis Checklist and diagnosis results:
- Export Diagnosis Checklist: supports the export of records in Diagnosis List to *.xml files for subsequent direct import and use.
- Export Diagnosis Report: supports the export of all diagnosis results to *.xml files. The results will record the total time consumption of maps with different scales and different central points, as well as the query time, Get Data time and drawing time of all Visible Layers.
- Setting: Click the "Setting" button, and in the pop-up "Settings" dialog box, set the display color and Display Mode of different types of diagnosis results. The Display Mode provides five modes: Sort, Merge, Query Time, Only display the data-getting time, and Draw Time.
Executive summary
Query time consuming optimization
Time consuming optimization of data acquisition
Draw time consuming optimization