alexcasalboni / alexcasalboni/aws-lambda-power-tuning

Mismatch in the attribute in Output of state machine

未关闭
#265 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
6.1k
派生
415
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。