Loading

Developer Console, Metadata API, or SFDX is slow

게시 일자: Oct 13, 2022
상세 설명
There are several reasons why you can experience latency while developing code in Salesforce. You may notice slow response while trying to Save and Deploy Class or Component files while using SFDX or in Developer Console. We'll give you all the information you need to know on why you can experience the latency. 
솔루션

Reason for operation latency

  • Unmanaged code: The Apex compiler compiles all dependencies upon saves. If there is a significant amount of code (say > 2MB), then this could result in very high compile times per each save/push to the platform.
  • Dequeue delay:  The operation of saving code form IDE tools like VS Code, SFDX, Developer console are always asynchronous for its current version. 
  • Large code base: Consider working with ANT build scripts. Take a look at the build.xml in the Cumulus CI.

Other Tools

Knowledge 기사 번호

000387835

 
로드 중
Salesforce Help | Article