Skip to content

Conversation

@ivan-kalachikov
Copy link
Contributor

@ivan-kalachikov ivan-kalachikov commented Oct 15, 2025

Description

The whole from call to app.mount in app-runner.ts takes ~900-1300 ms.

  • Not waiting for WhiteLabelingSettings query saves us ~200-250 ms. But there is a drawback - there is a few milliseconds flickering if theme is differs from the default theme (first default theme is rendered then another one from white labeling).
  • Not waiting for router.isReady() (safely for some non-guarded pages) saves us another ~150 ms.

All in all result is ~25-30% speed up (300-500ms) of app-runner stage.

References

Jira-link:

https://virtocommerce.atlassian.net/browse/VCST-4085

Artifact URL:

https://vc3prerelease.blob.core.windows.net/packages/vc-theme-b2b-vue-2.33.0-pr-2000-7de6-7de614ff.zip

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant