faastjs > CostAnalyzer > Result > csv
CostAnalyzer.Result.csv() method
Comma-separated output of cost analyzer. One line per cost analyzer configuration.
Signature:
csv(): string;
Returns:
string
Remarks
The columns are:
memory
: The memory size allocated.cloud
: The cloud provider.mode
: See CommonOptions.mode.options
: A string summarizing other faast.js options applied to theworkload
. See CommonOptions.completed
: Number of repetitions that successfully completed.errors
: Number of invocations that failed.retries
: Number of retries that were attempted.cost
: The average cost of executing the workload once.executionTime
: the aggregate time spent executing on the provider for all cloud function invocations in the workload. This is averaged across repetitions.executionTimeStdev
: The standard deviation ofexecutionTime
.billedTime
: the same asexectionTime
, except rounded up to the next 100ms for each invocation. Usually very close toexecutionTime
.