Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

A profiling tool was developed in Source to help that the modeller assesses where the running time is being spent. The function of this tool can lead the development of more computationally efficient models and is a complement to speed improvements.

...

This tool was included in Source version 4.4.0 - Beta Release (May 2018) and Source version 4.5 - Production Release (June 2018) and will be in any later Source version.

Access the tool

The model profiling tool is available as a recorder. It can be found under Miscellaneous \ Performance \ Scenario Model Timings\ in the Project Hierarchy, shown as Figure 1.  It can produce a report that shows the execution time per component (e.g. node, link, catchment) and per phase (e.g. flow, constituent, ordering. etc.).

...

Figure 1. Access the model profiling tool

Use of the tool

The user can use this tool to find which areas in their model take the most time and then see how to improve the model runtime.

...

  • Tab “Overview”in the right frame of Figure 2 is the results for Model Phase Summary. The user can click on "Export"
    Jira Legacy
    showSummaryfalse
    serverJIRA
    serverIdc4ca6e0f-9f42-3d1a-879c-870abe699ab1
    keyRM-17817
    button at the bottom to output this summary table. 
  • Tab “Heatmap” in the right frame of Figure 2 provides the summary of the running time detailed for each relevant component (such as used nodes, links, supply points, etc.) in different phase (Figure 3). It is network element perform heatmap in seconds.

...

The user can see detail of every  phase or every element in every phase.

Figure 5 The process of the running time of the individual component


Step3 - Improve the performance

...