Compilation with PBAutoBuild is slower than compilation in IDE

Symptom

When using PBAutoBuild, it takes longer to deploy an application than when using PowerBuilder IDE.

Environment

PowerBuilder 2021

PowerBuilder 2022

Cause

This is expected behavior. PBAutoBuild can be run outside PowerBuilder IDE. It has different compilation logic and uses different compilation methods from PowerBuilder IDE. Moreover, it has more internal detections and error correction functions, so there will be some differences in performance. For example, PBAutoBuild can merge successfully where previously using ORCA script to import objects to PBL would fail.

If the PowerBuilder application is small, such as the Sales demo, then the performance of PBAutoBuild is close to that of PowerBuilder IDE, but if it is a large, complex application, the performance of PBAutoBuild is much slower than PowerBuilder IDE, possibly 50% or more.