Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-09-28 UTC.
[null,null,["Last updated 2023-09-28 UTC."],[],[],null,["- [firebase](/docs/reference/js/v8/firebase).\n- performance \nThe Performance SDK does not work in a Node.js environment.\n\nCallable\n\n- performance ( app ? : [App](/docs/reference/js/v8/firebase.app.App) ) : [Performance](/docs/reference/js/v8/firebase.performance.Performance)\n- Gets the [`Performance`](/docs/reference/js/v8/firebase.performance.Performance) service.\n\n `firebase.performance()` can be called with no arguments to access the default\n app's [`Performance`](/docs/reference/js/v8/firebase.performance.Performance) service.\n The [`Performance`](/docs/reference/js/v8/firebase.performance.Performance) service does not work with\n any other app.\n\n The Performance SDK does not work in a Node.js environment.\n\n example\n :\n\n // Get the Performance service for the default app\n const defaultPerformance = firebase.performance();\n\n\n Parameters\n -\n\n Optional app: [App](/docs/reference/js/v8/firebase.app.App) \n The app to create a performance service for. Performance Monitoring only works with\n the default app.\n If not passed, uses the default app.\n\n Returns [Performance](/docs/reference/js/v8/firebase.performance.Performance)\n\nIndex\n\nInterfaces\n\n- [Performance](/docs/reference/js/v8/firebase.performance.Performance)\n- [Trace](/docs/reference/js/v8/firebase.performance.Trace)"]]
The Performance SDK does not work in a Node.js environment.