DebugOutput Data Type

Holds information to be included in the REST Response for debugging and profiling purposes. startedCalculating is called in the routingContext constructor. finishedCalculating and finishedRendering are all called in PlanGenerator.generate(). finishedPrecalculating and foundPaths are called in the SPTService implementations.

Properties
name data type constraints description
precalculationTime number required
pathCalculationTime number required
pathTimes array of number  
renderingTime number required
totalTime number required
timedOut boolean required

Example

{
  "precalculationTime" : 12345,
  "pathCalculationTime" : 12345,
  "pathTimes" : [ 12345, 12345 ],
  "renderingTime" : 12345,
  "totalTime" : 12345,
  "timedOut" : true
}