NativeScript Docs
Core Modules
NativeScript Angular
NativeScript UI
Article title
view on GitHub
Search
Preparing search index...
The search index is not available
NativeScript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"profiling"
External module "profiling"
Globals
"profiling"
Level
Timer
Info
Instrumentation
Mode
disable
dump
Profiles
enable
is
Running
level
log
profile
reset
Profiles
start
startCPUProfile
stop
stopCPUProfile
time
timer
trace
uptime
Index
Enumerations
Level
Interfaces
Timer
Info
Type aliases
Instrumentation
Mode
Functions
disable
dump
Profiles
enable
is
Running
level
log
profile
reset
Profiles
start
startCPUProfile
stop
stopCPUProfile
time
timer
trace
uptime
Type aliases
Instrumentation
Mode
Instrumentation
Mode
:
"counters"
|
"timeline"
|
"lifecycle"
Functions
disable
disable
(
)
:
void
Returns
void
dump
Profiles
dump
Profiles
(
)
:
void
Returns
void
enable
enable
(
type
?:
InstrumentationMode
)
:
void
Parameters
Optional
type:
InstrumentationMode
Returns
void
is
Running
is
Running
(
name
:
string
)
:
boolean
Parameters
name:
string
Returns
boolean
true is the timer is currently running.
level
level
(
)
:
Level
Returns
Level
log
log
(
message
:
string
)
:
void
Parameters
message:
string
Returns
void
profile
profile
(
name
?:
string
)
:
MethodDecorator
profile<F>
(
fn
:
F
)
:
F
profile<F>
(
name
:
string
, fn
:
F
)
:
F
profile<T>
(
target
:
Object
, propertyKey
:
string
|
symbol
, descriptor
:
TypedPropertyDescriptor
<
T
>
)
:
TypedPropertyDescriptor
<
T
>
|
void
profile
(
)
:
any
Parameters
Optional
name:
string
Returns
MethodDecorator
Type parameters
F
:
Function
Parameters
fn:
F
Returns
F
Type parameters
F
:
Function
Parameters
name:
string
fn:
F
Returns
F
Type parameters
T
Parameters
target:
Object
propertyKey:
string
|
symbol
descriptor:
TypedPropertyDescriptor
<
T
>
Returns
TypedPropertyDescriptor
<
T
>
|
void
Returns
any
reset
Profiles
reset
Profiles
(
)
:
void
Returns
void
start
start
(
name
:
string
)
:
void
Parameters
name:
string
Returns
void
startCPUProfile
startCPUProfile
(
name
:
string
)
:
void
Parameters
name:
string
Returns
void
stop
stop
(
name
:
string
)
:
TimerInfo
Parameters
name:
string
Returns
TimerInfo
TimerInfo for the paused timer.
stopCPUProfile
stopCPUProfile
(
name
:
string
)
:
void
Parameters
name:
string
Returns
void
time
time
(
)
:
number
Returns
number
timer
timer
(
name
:
string
)
:
TimerInfo
Parameters
name:
string
Returns
TimerInfo
trace
trace
(
message
:
string
, start
:
number
, end
:
number
)
:
void
Parameters
message:
string
start:
number
end:
number
Returns
void
uptime
uptime
(
)
:
number
Returns
number
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method