Dear Community,
Forge Bridge’s invoke('funcName');
seems to add about one second of overhead to the execution time of the backend function itself (as measured in the execution time of the corresponding resolver function). The use case here is a CustomUI IssueContext. The performance difference between tunnelling into a local app and deploying to dev
is thereby negligible.
Similarly, initializing Forge GUI-s (of all sorts) also seems to be very slow. Here is an example from a different use case:
Rendering a UI Kit 2 ProjectSettingsPage takes about 2 seconds (AFTER the main Jira app GUI has loaded, so this is the time during which Forge’s gray loading indicator animation is being shown). 1.3 seconds thereof are the execution of /graphql with operation=forge_ui_invokeAuxEffects and effect=initialize. This is a bare-bones ProjectSettingsPage, i.e. I have disabled any code that would fetch data at initialization for the purposes of this measurement.
Is this the expected performance in both cases? Can you recommend me any remedies?