API

Interface IPerfDatasets

Defines the shape of a collection of datasets that our graphing service uses for drawing purposes.

interface IPerfDatasets {
    data: DynamicFloat32Array;
    ids: string[];
    startingIndices: DynamicFloat32Array;
}
Index

The data to be processed by the performance graph. Each slice will be of the form of [timestamp, numberOfPoints, value1, value2...]

ids: string[]

The ids of our dataset.

startingIndices: DynamicFloat32Array

A list of starting indices for each slice of data collected. Used for fast access of an arbitrary slice inside the data array.