faast.js

faast.js

  • Docs
  • API
  • Community
  • GitHub
  • Blog

faastjs > CostAnalyzer

CostAnalyzer namespace

Analyze the cost of a workload across many provider configurations.

Signature:

export declare namespace CostAnalyzer 

Classes

ClassDescription
ResultCost analyzer results for each workload and configuration.

Functions

FunctionDescription
analyze(userWorkload)Estimate the cost of a workload using multiple configurations and providers.

Interfaces

InterfaceDescription
EstimateA cost estimate result for a specific cost analyzer configuration.
WorkloadA user-defined cost analyzer workload for CostAnalyzer.analyze().Example:

Variables

VariableDescription
awsConfigurationsDefault AWS cost analyzer configurations include all memory sizes for AWS Lambda.
googleConfigurationsDefault Google Cloud Functions cost analyzer configurations include all available memory sizes.

Type Aliases

Type AliasDescription
ConfigurationAn input to CostAnalyzer.analyze(), specifying one configuration of faast.js to run against a workload. See AwsOptions and GoogleOptions.
WorkloadAttributeUser-defined custom metrics for a workload. These are automatically summarized in the output; see CostAnalyzer.Workload.
  • CostAnalyzer namespace
  • Classes
  • Functions
  • Interfaces
  • Variables
  • Type Aliases
faast.js
Docs
IntroductionAPI ReferenceContributingExamples
Community
DiscordTwitterStack Overflowfaast.js
More
BlogUser Showcase
Copyright © 2021 Andy Chou