alexcasalboni / alexcasalboni/aws-lambda-power-tuning

Mismatch in the attribute in Output of state machine

Offen
#265 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
6.1k
Forks
415
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.