From 1fc4f2a4f3656e16297db508bbed9bc191a660ab Mon Sep 17 00:00:00 2001 From: novemberde Date: Sat, 19 Dec 2020 22:25:13 +0900 Subject: [PATCH] fix(log): apply billed duration by 1ms --- provided/run/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provided/run/init.go b/provided/run/init.go index 6b9339c2..9905cf2e 100644 --- a/provided/run/init.go +++ b/provided/run/init.go @@ -978,7 +978,7 @@ func (mc *mockLambdaContext) LogEndRequest() { "Billed Duration: %.f ms\t"+ "Memory Size: %s MB\t"+ "Max Memory Used: %d MB\t", - mc.RequestID, diffMs, math.Ceil(diffMs/100)*100, mc.MemSize, mc.MaxMem)) + mc.RequestID, diffMs, math.Ceil(diffMs), mc.MemSize, mc.MaxMem)) } type invokeResponse struct {