< All FAQs

How can I improve startup performance of a NativeScript app? – NativeScript

Performance has been a high priority feature for NativeScript throughout the framework’s evolution. During the course of development, we’ve developed tools to instrument all of the Objective-C, Java, C, C++, and JavaScript code NativeScript uses, but so far these profile traces were kept for internal use only and never made it to the distributed version of NativeScript.

With 3.1 we have merged the manual instrumentation tooling and enabled all {N} apps to trace execution times of some key components. In this article you’ll learn how to enable this instrumentation, and then how to use the tooling to build NativeScript apps that start up fast.

Read this Deep Dive into NativeScript 3.1 Performance Improvements for more information. The techniques apply to NativeScript apps deployed on NativeScript 3.1 or later.

NativeScript is licensed under the Apache 2.0 license
© 2020 All Rights Reserved.