Tips of Optimization

This document explains optimization hints.

In Order to Learn the Expected Performance of the Actual Device

In order to learn the expected performance of the actual device, execute the PSM application with the following settings.

  • Build in Release mode.
  • After deploying the PSM application, launch the PSM application from the DevAssistant menu of the actual device. (When started from PSM Studio, communication between the actual device and the PC will be performed, therefore overhead will occur.)

Enable optimization options

When optimization options are enabled, processing speed increases.

To enable optimization options, perform the following settings.

  • Place a check in [Menu] - [Project] – [(project name) Options] – [Build] – [Compiler] – [Enable optimizations].

    ./image/user_guide/optimization_check.png

    Figure 1 Optimization Options

Reduce data load times

When a data file is registered in the project, the "SignedAndEncrypted" setting will be set to the default for the file.

When the "SignedAndEncrypted" setting is changed to the "Plain" setting, the decoding and signature processing during file loading will be omitted, and the processing time will be reduced.

To reduce load times, try changing to the Plain setting.

The "Plain" setting is set as follows.

  1. Right-click on the file in the solution explorer, the select [Properties].
  2. After the [Properties] window is displayed, change [Content Protection] from [SignedAndEncrypted] to [Plain].
./image/user_guide/plain.png

Figure 2 Plain Setting