Skip to content

Mismatch in the attribute in Output of state machine #265

@ssathasivan

Description

@ssathasivan

Hello .
I have a doubt in the documentation. The documentation for State Machine output come under the attribute "results"

https://github.com/alexcasalboni/aws-lambda-power-tuning?tab=readme-ov-file#state-machine-output

where as when we run the tool the , the results come under attribute -output .

{ "output": { "power": 2048, "cost": 0.0000018816000000000001, "duration": 54.95933333333334, "stateMachine": { "executionCost": 0.00075, "lambdaCost": 0.0013002423000000002, "visualization": "https://lambda-power-tuning.show/#encodeddata" }, "stats": [ { "value": 128, "averagePrice": 9.345000000000001e-7, "averageDuration": 443.89949999999993 }, { "value": 256, "averagePrice": 8.358000000000001e-7, "averageDuration": 198.4030000000001 }, { "value": 512, "averagePrice": 7.56e-7, "averageDuration": 88.51350000000001 }, { "value": 1024, "averagePrice": 0.0000011256, "averageDuration": 66.2415 }, { "value": 1536, "averagePrice": 0.000001512, "averageDuration": 58.86233333333332 }, { "value": 2048, "averagePrice": 0.0000018816000000000001, "averageDuration": 54.95933333333334 }, { "value": 2560, "averagePrice": 0.0000023940000000000003, "averageDuration": 56.222 }, { "value": 3072, "averagePrice": 0.0000028728000000000007, "averageDuration": 56.312333333333335 } ] } }

Please check

Regards
Sabarish

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions