Safe Haskell | None |
---|---|
Language | Haskell2010 |
Profiler
Synopsis
- data ProfilerTakePreciseCoverage = ProfilerTakePreciseCoverage {}
- data PProfilerTakePreciseCoverage = PProfilerTakePreciseCoverage
- data PProfilerStopPreciseCoverage = PProfilerStopPreciseCoverage
- data ProfilerStop = ProfilerStop {}
- data PProfilerStop = PProfilerStop
- data ProfilerStartPreciseCoverage = ProfilerStartPreciseCoverage {}
- data PProfilerStartPreciseCoverage = PProfilerStartPreciseCoverage {}
- data PProfilerStart = PProfilerStart
- data PProfilerSetSamplingInterval = PProfilerSetSamplingInterval {}
- data ProfilerGetBestEffortCoverage = ProfilerGetBestEffortCoverage {}
- data PProfilerGetBestEffortCoverage = PProfilerGetBestEffortCoverage
- data PProfilerEnable = PProfilerEnable
- data PProfilerDisable = PProfilerDisable
- data ProfilerPreciseCoverageDeltaUpdate = ProfilerPreciseCoverageDeltaUpdate {}
- data ProfilerConsoleProfileStarted = ProfilerConsoleProfileStarted {}
- data ProfilerConsoleProfileFinished = ProfilerConsoleProfileFinished {}
- data ProfilerScriptCoverage = ProfilerScriptCoverage {}
- data ProfilerFunctionCoverage = ProfilerFunctionCoverage {}
- data ProfilerCoverageRange = ProfilerCoverageRange {}
- data ProfilerPositionTickInfo = ProfilerPositionTickInfo {}
- data ProfilerProfile = ProfilerProfile {}
- data ProfilerProfileNode = ProfilerProfileNode {}
- pProfilerDisable :: PProfilerDisable
- pProfilerEnable :: PProfilerEnable
- pProfilerGetBestEffortCoverage :: PProfilerGetBestEffortCoverage
- pProfilerSetSamplingInterval :: Int -> PProfilerSetSamplingInterval
- pProfilerStart :: PProfilerStart
- pProfilerStartPreciseCoverage :: PProfilerStartPreciseCoverage
- pProfilerStop :: PProfilerStop
- pProfilerStopPreciseCoverage :: PProfilerStopPreciseCoverage
- pProfilerTakePreciseCoverage :: PProfilerTakePreciseCoverage
Documentation
data ProfilerTakePreciseCoverage Source #
ProfilerTakePreciseCoverage | |
|
Instances
Eq ProfilerTakePreciseCoverage Source # | |
Defined in CDP.Domains.Profiler | |
Show ProfilerTakePreciseCoverage Source # | |
Defined in CDP.Domains.Profiler showsPrec :: Int -> ProfilerTakePreciseCoverage -> ShowS # show :: ProfilerTakePreciseCoverage -> String # showList :: [ProfilerTakePreciseCoverage] -> ShowS # | |
FromJSON ProfilerTakePreciseCoverage Source # | |
Defined in CDP.Domains.Profiler |
data PProfilerTakePreciseCoverage Source #
Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started.
Parameters of the takePreciseCoverage
command.
Instances
data PProfilerStopPreciseCoverage Source #
Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code.
Parameters of the stopPreciseCoverage
command.
Instances
Eq PProfilerStopPreciseCoverage Source # | |
Defined in CDP.Domains.Profiler | |
Show PProfilerStopPreciseCoverage Source # | |
Defined in CDP.Domains.Profiler showsPrec :: Int -> PProfilerStopPreciseCoverage -> ShowS # show :: PProfilerStopPreciseCoverage -> String # showList :: [PProfilerStopPreciseCoverage] -> ShowS # | |
ToJSON PProfilerStopPreciseCoverage Source # | |
Defined in CDP.Domains.Profiler | |
Command PProfilerStopPreciseCoverage Source # | |
type CommandResponse PProfilerStopPreciseCoverage Source # | |
Defined in CDP.Domains.Profiler |
data ProfilerStop Source #
ProfilerStop | |
|
Instances
Eq ProfilerStop Source # | |
Defined in CDP.Domains.Profiler (==) :: ProfilerStop -> ProfilerStop -> Bool # (/=) :: ProfilerStop -> ProfilerStop -> Bool # | |
Show ProfilerStop Source # | |
Defined in CDP.Domains.Profiler showsPrec :: Int -> ProfilerStop -> ShowS # show :: ProfilerStop -> String # showList :: [ProfilerStop] -> ShowS # | |
FromJSON ProfilerStop Source # | |
Defined in CDP.Domains.Profiler parseJSON :: Value -> Parser ProfilerStop # parseJSONList :: Value -> Parser [ProfilerStop] # |
data PProfilerStop Source #
Parameters of the stop
command.
Instances
Eq PProfilerStop Source # | |
Defined in CDP.Domains.Profiler (==) :: PProfilerStop -> PProfilerStop -> Bool # (/=) :: PProfilerStop -> PProfilerStop -> Bool # | |
Show PProfilerStop Source # | |
Defined in CDP.Domains.Profiler showsPrec :: Int -> PProfilerStop -> ShowS # show :: PProfilerStop -> String # showList :: [PProfilerStop] -> ShowS # | |
ToJSON PProfilerStop Source # | |
Defined in CDP.Domains.Profiler toJSON :: PProfilerStop -> Value # toEncoding :: PProfilerStop -> Encoding # toJSONList :: [PProfilerStop] -> Value # toEncodingList :: [PProfilerStop] -> Encoding # | |
Command PProfilerStop Source # | |
Defined in CDP.Domains.Profiler commandName :: Proxy PProfilerStop -> String Source # fromJSON :: Proxy PProfilerStop -> Value -> Result (CommandResponse PProfilerStop) Source # | |
type CommandResponse PProfilerStop Source # | |
Defined in CDP.Domains.Profiler |
data ProfilerStartPreciseCoverage Source #
ProfilerStartPreciseCoverage | |
|
Instances
Eq ProfilerStartPreciseCoverage Source # | |
Defined in CDP.Domains.Profiler | |
Show ProfilerStartPreciseCoverage Source # | |
Defined in CDP.Domains.Profiler showsPrec :: Int -> ProfilerStartPreciseCoverage -> ShowS # show :: ProfilerStartPreciseCoverage -> String # showList :: [ProfilerStartPreciseCoverage] -> ShowS # | |
FromJSON ProfilerStartPreciseCoverage Source # | |
Defined in CDP.Domains.Profiler |
data PProfilerStartPreciseCoverage Source #
Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters.
Parameters of the startPreciseCoverage
command.
PProfilerStartPreciseCoverage | |
|
Instances
data PProfilerStart Source #
Parameters of the start
command.
Instances
Eq PProfilerStart Source # | |
Defined in CDP.Domains.Profiler (==) :: PProfilerStart -> PProfilerStart -> Bool # (/=) :: PProfilerStart -> PProfilerStart -> Bool # | |
Show PProfilerStart Source # | |
Defined in CDP.Domains.Profiler showsPrec :: Int -> PProfilerStart -> ShowS # show :: PProfilerStart -> String # showList :: [PProfilerStart] -> ShowS # | |
ToJSON PProfilerStart Source # | |
Defined in CDP.Domains.Profiler toJSON :: PProfilerStart -> Value # toEncoding :: PProfilerStart -> Encoding # toJSONList :: [PProfilerStart] -> Value # toEncodingList :: [PProfilerStart] -> Encoding # | |
Command PProfilerStart Source # | |
Defined in CDP.Domains.Profiler commandName :: Proxy PProfilerStart -> String Source # fromJSON :: Proxy PProfilerStart -> Value -> Result (CommandResponse PProfilerStart) Source # | |
type CommandResponse PProfilerStart Source # | |
Defined in CDP.Domains.Profiler |
data PProfilerSetSamplingInterval Source #
Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
Parameters of the setSamplingInterval
command.
PProfilerSetSamplingInterval | |
|
Instances
Eq PProfilerSetSamplingInterval Source # | |
Defined in CDP.Domains.Profiler | |
Show PProfilerSetSamplingInterval Source # | |
Defined in CDP.Domains.Profiler showsPrec :: Int -> PProfilerSetSamplingInterval -> ShowS # show :: PProfilerSetSamplingInterval -> String # showList :: [PProfilerSetSamplingInterval] -> ShowS # | |
ToJSON PProfilerSetSamplingInterval Source # | |
Defined in CDP.Domains.Profiler | |
Command PProfilerSetSamplingInterval Source # | |
type CommandResponse PProfilerSetSamplingInterval Source # | |
Defined in CDP.Domains.Profiler |
data ProfilerGetBestEffortCoverage Source #
ProfilerGetBestEffortCoverage | |
|
Instances
data PProfilerGetBestEffortCoverage Source #
Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.
Parameters of the getBestEffortCoverage
command.
data PProfilerEnable Source #
Parameters of the enable
command.
Instances
Eq PProfilerEnable Source # | |
Defined in CDP.Domains.Profiler (==) :: PProfilerEnable -> PProfilerEnable -> Bool # (/=) :: PProfilerEnable -> PProfilerEnable -> Bool # | |
Show PProfilerEnable Source # | |
Defined in CDP.Domains.Profiler showsPrec :: Int -> PProfilerEnable -> ShowS # show :: PProfilerEnable -> String # showList :: [PProfilerEnable] -> ShowS # | |
ToJSON PProfilerEnable Source # | |
Defined in CDP.Domains.Profiler toJSON :: PProfilerEnable -> Value # toEncoding :: PProfilerEnable -> Encoding # toJSONList :: [PProfilerEnable] -> Value # toEncodingList :: [PProfilerEnable] -> Encoding # | |
Command PProfilerEnable Source # | |
Defined in CDP.Domains.Profiler commandName :: Proxy PProfilerEnable -> String Source # fromJSON :: Proxy PProfilerEnable -> Value -> Result (CommandResponse PProfilerEnable) Source # | |
type CommandResponse PProfilerEnable Source # | |
Defined in CDP.Domains.Profiler |
data PProfilerDisable Source #
Parameters of the disable
command.
Instances
Eq PProfilerDisable Source # | |
Defined in CDP.Domains.Profiler (==) :: PProfilerDisable -> PProfilerDisable -> Bool # (/=) :: PProfilerDisable -> PProfilerDisable -> Bool # | |
Show PProfilerDisable Source # | |
Defined in CDP.Domains.Profiler showsPrec :: Int -> PProfilerDisable -> ShowS # show :: PProfilerDisable -> String # showList :: [PProfilerDisable] -> ShowS # | |
ToJSON PProfilerDisable Source # | |
Defined in CDP.Domains.Profiler toJSON :: PProfilerDisable -> Value # toEncoding :: PProfilerDisable -> Encoding # toJSONList :: [PProfilerDisable] -> Value # toEncodingList :: [PProfilerDisable] -> Encoding # | |
Command PProfilerDisable Source # | |
Defined in CDP.Domains.Profiler | |
type CommandResponse PProfilerDisable Source # | |
Defined in CDP.Domains.Profiler |
data ProfilerPreciseCoverageDeltaUpdate Source #
Type of the preciseCoverageDeltaUpdate
event.
ProfilerPreciseCoverageDeltaUpdate | |
|
Instances
data ProfilerConsoleProfileStarted Source #
Type of the consoleProfileStarted
event.
ProfilerConsoleProfileStarted | |
|
Instances
data ProfilerConsoleProfileFinished Source #
Type of the consoleProfileFinished
event.
ProfilerConsoleProfileFinished | |
|
Instances
data ProfilerScriptCoverage Source #
Type ScriptCoverage
.
Coverage data for a JavaScript script.
ProfilerScriptCoverage | |
|
Instances
Eq ProfilerScriptCoverage Source # | |
Defined in CDP.Domains.Profiler | |
Show ProfilerScriptCoverage Source # | |
Defined in CDP.Domains.Profiler showsPrec :: Int -> ProfilerScriptCoverage -> ShowS # show :: ProfilerScriptCoverage -> String # showList :: [ProfilerScriptCoverage] -> ShowS # | |
ToJSON ProfilerScriptCoverage Source # | |
Defined in CDP.Domains.Profiler toJSON :: ProfilerScriptCoverage -> Value # toEncoding :: ProfilerScriptCoverage -> Encoding # toJSONList :: [ProfilerScriptCoverage] -> Value # | |
FromJSON ProfilerScriptCoverage Source # | |
Defined in CDP.Domains.Profiler |
data ProfilerFunctionCoverage Source #
Type FunctionCoverage
.
Coverage data for a JavaScript function.
ProfilerFunctionCoverage | |
|
Instances
Eq ProfilerFunctionCoverage Source # | |
Defined in CDP.Domains.Profiler | |
Show ProfilerFunctionCoverage Source # | |
Defined in CDP.Domains.Profiler showsPrec :: Int -> ProfilerFunctionCoverage -> ShowS # show :: ProfilerFunctionCoverage -> String # showList :: [ProfilerFunctionCoverage] -> ShowS # | |
ToJSON ProfilerFunctionCoverage Source # | |
Defined in CDP.Domains.Profiler | |
FromJSON ProfilerFunctionCoverage Source # | |
Defined in CDP.Domains.Profiler |
data ProfilerCoverageRange Source #
Type CoverageRange
.
Coverage data for a source range.
ProfilerCoverageRange | |
|
Instances
Eq ProfilerCoverageRange Source # | |
Defined in CDP.Domains.Profiler (==) :: ProfilerCoverageRange -> ProfilerCoverageRange -> Bool # (/=) :: ProfilerCoverageRange -> ProfilerCoverageRange -> Bool # | |
Show ProfilerCoverageRange Source # | |
Defined in CDP.Domains.Profiler showsPrec :: Int -> ProfilerCoverageRange -> ShowS # show :: ProfilerCoverageRange -> String # showList :: [ProfilerCoverageRange] -> ShowS # | |
ToJSON ProfilerCoverageRange Source # | |
Defined in CDP.Domains.Profiler toJSON :: ProfilerCoverageRange -> Value # toEncoding :: ProfilerCoverageRange -> Encoding # toJSONList :: [ProfilerCoverageRange] -> Value # toEncodingList :: [ProfilerCoverageRange] -> Encoding # | |
FromJSON ProfilerCoverageRange Source # | |
Defined in CDP.Domains.Profiler parseJSON :: Value -> Parser ProfilerCoverageRange # parseJSONList :: Value -> Parser [ProfilerCoverageRange] # |
data ProfilerPositionTickInfo Source #
Type PositionTickInfo
.
Specifies a number of samples attributed to a certain source position.
ProfilerPositionTickInfo | |
|
Instances
Eq ProfilerPositionTickInfo Source # | |
Defined in CDP.Domains.Profiler | |
Show ProfilerPositionTickInfo Source # | |
Defined in CDP.Domains.Profiler showsPrec :: Int -> ProfilerPositionTickInfo -> ShowS # show :: ProfilerPositionTickInfo -> String # showList :: [ProfilerPositionTickInfo] -> ShowS # | |
ToJSON ProfilerPositionTickInfo Source # | |
Defined in CDP.Domains.Profiler | |
FromJSON ProfilerPositionTickInfo Source # | |
Defined in CDP.Domains.Profiler |
data ProfilerProfile Source #
Type Profile
.
Profile.
ProfilerProfile | |
|
Instances
Eq ProfilerProfile Source # | |
Defined in CDP.Domains.Profiler (==) :: ProfilerProfile -> ProfilerProfile -> Bool # (/=) :: ProfilerProfile -> ProfilerProfile -> Bool # | |
Show ProfilerProfile Source # | |
Defined in CDP.Domains.Profiler showsPrec :: Int -> ProfilerProfile -> ShowS # show :: ProfilerProfile -> String # showList :: [ProfilerProfile] -> ShowS # | |
ToJSON ProfilerProfile Source # | |
Defined in CDP.Domains.Profiler toJSON :: ProfilerProfile -> Value # toEncoding :: ProfilerProfile -> Encoding # toJSONList :: [ProfilerProfile] -> Value # toEncodingList :: [ProfilerProfile] -> Encoding # | |
FromJSON ProfilerProfile Source # | |
Defined in CDP.Domains.Profiler parseJSON :: Value -> Parser ProfilerProfile # parseJSONList :: Value -> Parser [ProfilerProfile] # |
data ProfilerProfileNode Source #
Type ProfileNode
.
Profile node. Holds callsite information, execution statistics and child nodes.
ProfilerProfileNode | |
|
Instances
Eq ProfilerProfileNode Source # | |
Defined in CDP.Domains.Profiler (==) :: ProfilerProfileNode -> ProfilerProfileNode -> Bool # (/=) :: ProfilerProfileNode -> ProfilerProfileNode -> Bool # | |
Show ProfilerProfileNode Source # | |
Defined in CDP.Domains.Profiler showsPrec :: Int -> ProfilerProfileNode -> ShowS # show :: ProfilerProfileNode -> String # showList :: [ProfilerProfileNode] -> ShowS # | |
ToJSON ProfilerProfileNode Source # | |
Defined in CDP.Domains.Profiler toJSON :: ProfilerProfileNode -> Value # toEncoding :: ProfilerProfileNode -> Encoding # toJSONList :: [ProfilerProfileNode] -> Value # toEncodingList :: [ProfilerProfileNode] -> Encoding # | |
FromJSON ProfilerProfileNode Source # | |
Defined in CDP.Domains.Profiler parseJSON :: Value -> Parser ProfilerProfileNode # parseJSONList :: Value -> Parser [ProfilerProfileNode] # |