Profiling

Chapter VI: Testing

MeVisLab Tutorial Chapter VI

Testing, Profiling and Debugging in MeVisLab

The MeVisLab Integrated Development Environment (IDE) provides tools to write automated tests in Python, profile your network performance and to debug your Python code. All of these funtionalities will be addressed in this chapter.

Testing

The MeVisLab TestCenter is the starting point of your tests. Select [ File → Run TestCaseManager ] to open the user interface of the TestCaseManager.

Example 2: Profiling in MeVisLab

Example 2: Profiling in MeVisLab

Introduction

In this example, we are using the MeVisLab Profiler to inspect the memory and CPU consumption of the modules in an example network.

Steps to do

Creating the network to be used for profiling

You can open any network you like, here we are using the example network of the module MinMaxScan for profiling. Add the module MinMaxScan to your workspace, open the example network via right-click Right Mouse Button and select [ Help → Show Example Network ].