From 5afade8c2cdb71454be0d0d7e2eb9c985ba6c8cc Mon Sep 17 00:00:00 2001 From: Shubham Chaturvedi Date: Thu, 25 Sep 2025 16:55:49 -0700 Subject: [PATCH 1/7] fix: ESDK Fix --- .../to_native.go | 28 +++---------------- .../go/ImplementationFromDafny-go/go.mod | 14 +++++----- .../go/ImplementationFromDafny-go/go.sum | 4 +-- .../to_native.go | 28 +++---------------- .../runtimes/go/TestsFromDafny-go/go.mod | 18 ++++++------ .../runtimes/go/TestsFromDafny-go/go.sum | 4 +-- AwsEncryptionSDK/runtimes/go/examples/go.mod | 14 +++++----- AwsEncryptionSDK/runtimes/go/examples/go.sum | 4 +-- mpl | 2 +- 9 files changed, 38 insertions(+), 78 deletions(-) diff --git a/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/awscryptographyencryptionsdksmithygenerated/to_native.go b/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/awscryptographyencryptionsdksmithygenerated/to_native.go index 69db81e75..a6f7b4bc6 100644 --- a/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/awscryptographyencryptionsdksmithygenerated/to_native.go +++ b/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/awscryptographyencryptionsdksmithygenerated/to_native.go @@ -160,12 +160,7 @@ func Aws_cryptography_encryptionSdk_DecryptInput_ciphertext_FromDafny(input inte if input == nil { return nil } - a := input.(dafny.Sequence).ToArray().(dafny.GoNativeArray) - b := make([]byte, 0, a.Length()) - for i := uint32(0); i < a.Length(); i++ { - b = append(b, a.Select(i).(byte)) - } - return b + return dafny.ToByteArray(input.(dafny.Sequence)) }() } func Aws_cryptography_encryptionSdk_DecryptInput_encryptionContext_FromDafny(input interface{}) map[string]string { @@ -188,12 +183,7 @@ func Aws_cryptography_encryptionSdk_DecryptOutput_plaintext_FromDafny(input inte if input == nil { return nil } - a := input.(dafny.Sequence).ToArray().(dafny.GoNativeArray) - b := make([]byte, 0, a.Length()) - for i := uint32(0); i < a.Length(); i++ { - b = append(b, a.Select(i).(byte)) - } - return b + return dafny.ToByteArray(input.(dafny.Sequence)) }() } func Aws_cryptography_encryptionSdk_DecryptOutput_encryptionContext_FromDafny(input interface{}) map[string]string { @@ -234,12 +224,7 @@ func Aws_cryptography_encryptionSdk_EncryptInput_plaintext_FromDafny(input inter if input == nil { return nil } - a := input.(dafny.Sequence).ToArray().(dafny.GoNativeArray) - b := make([]byte, 0, a.Length()) - for i := uint32(0); i < a.Length(); i++ { - b = append(b, a.Select(i).(byte)) - } - return b + return dafny.ToByteArray(input.(dafny.Sequence)) }() } func Aws_cryptography_encryptionSdk_EncryptInput_encryptionContext_FromDafny(input interface{}) map[string]string { @@ -293,12 +278,7 @@ func Aws_cryptography_encryptionSdk_EncryptOutput_ciphertext_FromDafny(input int if input == nil { return nil } - a := input.(dafny.Sequence).ToArray().(dafny.GoNativeArray) - b := make([]byte, 0, a.Length()) - for i := uint32(0); i < a.Length(); i++ { - b = append(b, a.Select(i).(byte)) - } - return b + return dafny.ToByteArray(input.(dafny.Sequence)) }() } func Aws_cryptography_encryptionSdk_EncryptOutput_encryptionContext_FromDafny(input interface{}) map[string]string { diff --git a/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.mod b/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.mod index fdeec323e..347c0f33e 100644 --- a/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.mod +++ b/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.mod @@ -3,20 +3,20 @@ module github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk go 1.23.0 replace ( - github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl => ../../../../mpl/AwsCryptographicMaterialProviders/runtimes/go/ImplementationFromDafny-go/ github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb => ../../../../mpl/ComAmazonawsDynamodb/runtimes/go/ImplementationFromDafny-go/ github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms => ../../../../mpl/ComAmazonawsKms/runtimes/go/ImplementationFromDafny-go/ + github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl => ../../../../mpl/AwsCryptographicMaterialProviders/runtimes/go/ImplementationFromDafny-go/ github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives => ../../../../mpl/AwsCryptographyPrimitives/runtimes/go/ImplementationFromDafny-go/ github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library => ../../../../mpl/StandardLibrary/runtimes/go/ImplementationFromDafny-go/ ) require ( - github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.0 - github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.2 + github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 ) diff --git a/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.sum b/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.sum index 7e543d107..7391db490 100644 --- a/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.sum +++ b/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.sum @@ -30,8 +30,8 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.33.8 h1:pqEJQtlKWvnv3B6VRt60ZmsHy3So github.com/aws/aws-sdk-go-v2/service/sts v1.33.8/go.mod h1:f6vjfZER1M17Fokn0IzssOTMT2N8ZSq+7jnNF0tArvw= github.com/aws/smithy-go v1.22.1 h1:/HPHZQ0g7f4eUeK6HKglFz8uwVfZKgoI25rb/J+dnro= github.com/aws/smithy-go v1.22.1/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2 h1:g/xAj4F7Zt9wXJ6QjfbfocVi/ZYlAFpNddHCFyfzRDg= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 h1:tTQ9M9HCUaf2SXqutj2vmMqJKJpefWMSqx1niqTqi8M= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= diff --git a/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/awscryptographyencryptionsdksmithygenerated/to_native.go b/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/awscryptographyencryptionsdksmithygenerated/to_native.go index 69db81e75..a6f7b4bc6 100644 --- a/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/awscryptographyencryptionsdksmithygenerated/to_native.go +++ b/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/awscryptographyencryptionsdksmithygenerated/to_native.go @@ -160,12 +160,7 @@ func Aws_cryptography_encryptionSdk_DecryptInput_ciphertext_FromDafny(input inte if input == nil { return nil } - a := input.(dafny.Sequence).ToArray().(dafny.GoNativeArray) - b := make([]byte, 0, a.Length()) - for i := uint32(0); i < a.Length(); i++ { - b = append(b, a.Select(i).(byte)) - } - return b + return dafny.ToByteArray(input.(dafny.Sequence)) }() } func Aws_cryptography_encryptionSdk_DecryptInput_encryptionContext_FromDafny(input interface{}) map[string]string { @@ -188,12 +183,7 @@ func Aws_cryptography_encryptionSdk_DecryptOutput_plaintext_FromDafny(input inte if input == nil { return nil } - a := input.(dafny.Sequence).ToArray().(dafny.GoNativeArray) - b := make([]byte, 0, a.Length()) - for i := uint32(0); i < a.Length(); i++ { - b = append(b, a.Select(i).(byte)) - } - return b + return dafny.ToByteArray(input.(dafny.Sequence)) }() } func Aws_cryptography_encryptionSdk_DecryptOutput_encryptionContext_FromDafny(input interface{}) map[string]string { @@ -234,12 +224,7 @@ func Aws_cryptography_encryptionSdk_EncryptInput_plaintext_FromDafny(input inter if input == nil { return nil } - a := input.(dafny.Sequence).ToArray().(dafny.GoNativeArray) - b := make([]byte, 0, a.Length()) - for i := uint32(0); i < a.Length(); i++ { - b = append(b, a.Select(i).(byte)) - } - return b + return dafny.ToByteArray(input.(dafny.Sequence)) }() } func Aws_cryptography_encryptionSdk_EncryptInput_encryptionContext_FromDafny(input interface{}) map[string]string { @@ -293,12 +278,7 @@ func Aws_cryptography_encryptionSdk_EncryptOutput_ciphertext_FromDafny(input int if input == nil { return nil } - a := input.(dafny.Sequence).ToArray().(dafny.GoNativeArray) - b := make([]byte, 0, a.Length()) - for i := uint32(0); i < a.Length(); i++ { - b = append(b, a.Select(i).(byte)) - } - return b + return dafny.ToByteArray(input.(dafny.Sequence)) }() } func Aws_cryptography_encryptionSdk_EncryptOutput_encryptionContext_FromDafny(input interface{}) map[string]string { diff --git a/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.mod b/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.mod index a441876d1..69834d660 100644 --- a/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.mod +++ b/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.mod @@ -3,22 +3,22 @@ module github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk/test go 1.23.0 replace ( - github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk => ../ImplementationFromDafny-go github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb => ../../../../mpl/ComAmazonawsDynamodb/runtimes/go/ImplementationFromDafny-go/ github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms => ../../../../mpl/ComAmazonawsKms/runtimes/go/ImplementationFromDafny-go/ - github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives => ../../../../mpl/AwsCryptographyPrimitives/runtimes/go/ImplementationFromDafny-go/ github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl => ../../../../mpl/AwsCryptographicMaterialProviders/runtimes/go/ImplementationFromDafny-go/ + github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives => ../../../../mpl/AwsCryptographyPrimitives/runtimes/go/ImplementationFromDafny-go/ github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library => ../../../../mpl/StandardLibrary/runtimes/go/ImplementationFromDafny-go/ + github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk => ../ImplementationFromDafny-go ) require ( - github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.0 - github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.0.0 - github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.2 + github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.2.2 + github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 ) diff --git a/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.sum b/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.sum index 7e543d107..7391db490 100644 --- a/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.sum +++ b/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.sum @@ -30,8 +30,8 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.33.8 h1:pqEJQtlKWvnv3B6VRt60ZmsHy3So github.com/aws/aws-sdk-go-v2/service/sts v1.33.8/go.mod h1:f6vjfZER1M17Fokn0IzssOTMT2N8ZSq+7jnNF0tArvw= github.com/aws/smithy-go v1.22.1 h1:/HPHZQ0g7f4eUeK6HKglFz8uwVfZKgoI25rb/J+dnro= github.com/aws/smithy-go v1.22.1/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2 h1:g/xAj4F7Zt9wXJ6QjfbfocVi/ZYlAFpNddHCFyfzRDg= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 h1:tTQ9M9HCUaf2SXqutj2vmMqJKJpefWMSqx1niqTqi8M= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= diff --git a/AwsEncryptionSDK/runtimes/go/examples/go.mod b/AwsEncryptionSDK/runtimes/go/examples/go.mod index 4edb3fa21..cf98886cc 100644 --- a/AwsEncryptionSDK/runtimes/go/examples/go.mod +++ b/AwsEncryptionSDK/runtimes/go/examples/go.mod @@ -12,9 +12,9 @@ replace ( ) require ( - github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.0 - github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.0.0-00010101000000-000000000000 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.2 + github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.2.2 github.com/aws/aws-sdk-go-v2/config v1.29.0 github.com/aws/aws-sdk-go-v2/credentials v1.17.53 github.com/aws/aws-sdk-go-v2/service/dynamodb v1.39.4 @@ -24,9 +24,9 @@ require ( ) require ( - github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.0 // indirect - github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.0 // indirect - github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.0 // indirect + github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.2 // indirect + github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.2 // indirect + github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.2 // indirect github.com/aws/aws-sdk-go-v2 v1.33.0 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.24 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.28 // indirect @@ -38,6 +38,6 @@ require ( github.com/aws/aws-sdk-go-v2/service/sso v1.24.10 // indirect github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.9 // indirect github.com/aws/smithy-go v1.22.1 // indirect - github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2 // indirect + github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect ) diff --git a/AwsEncryptionSDK/runtimes/go/examples/go.sum b/AwsEncryptionSDK/runtimes/go/examples/go.sum index 7e543d107..7391db490 100644 --- a/AwsEncryptionSDK/runtimes/go/examples/go.sum +++ b/AwsEncryptionSDK/runtimes/go/examples/go.sum @@ -30,8 +30,8 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.33.8 h1:pqEJQtlKWvnv3B6VRt60ZmsHy3So github.com/aws/aws-sdk-go-v2/service/sts v1.33.8/go.mod h1:f6vjfZER1M17Fokn0IzssOTMT2N8ZSq+7jnNF0tArvw= github.com/aws/smithy-go v1.22.1 h1:/HPHZQ0g7f4eUeK6HKglFz8uwVfZKgoI25rb/J+dnro= github.com/aws/smithy-go v1.22.1/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2 h1:g/xAj4F7Zt9wXJ6QjfbfocVi/ZYlAFpNddHCFyfzRDg= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 h1:tTQ9M9HCUaf2SXqutj2vmMqJKJpefWMSqx1niqTqi8M= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= diff --git a/mpl b/mpl index 453359a4e..32f706745 160000 --- a/mpl +++ b/mpl @@ -1 +1 @@ -Subproject commit 453359a4e0390904152854ffa39db460e63a36dd +Subproject commit 32f706745bbdcca053a5553f25f14f4ccb116922 From 415324a693f526c4eb1e569ca008e29cf629dcb2 Mon Sep 17 00:00:00 2001 From: Shubham Chaturvedi Date: Fri, 26 Sep 2025 15:58:13 -0700 Subject: [PATCH 2/7] fix: TV and PerfTests --- .../go/ImplementationFromDafny-go/go.mod | 18 ++--- .../go/ImplementationFromDafny-go/go.sum | 4 +- .../runtimes/go/TestsFromDafny-go/go.mod | 20 +++--- .../runtimes/go/TestsFromDafny-go/go.sum | 4 +- esdk-performance-testing/benchmarks/go/go.mod | 12 +++- esdk-performance-testing/benchmarks/go/go.sum | 14 +--- .../results/raw-data/go_results.json | 72 +++++++++++++++++++ 7 files changed, 108 insertions(+), 36 deletions(-) create mode 100644 esdk-performance-testing/results/raw-data/go_results.json diff --git a/TestVectors/runtimes/go/ImplementationFromDafny-go/go.mod b/TestVectors/runtimes/go/ImplementationFromDafny-go/go.mod index 8fc29a157..2cab70f42 100644 --- a/TestVectors/runtimes/go/ImplementationFromDafny-go/go.mod +++ b/TestVectors/runtimes/go/ImplementationFromDafny-go/go.mod @@ -14,15 +14,15 @@ replace ( ) require ( - github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/testvectors v0.0.0 - github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.0.0 - github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk/test v0.0.0 - github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/testvectors v0.2.2 + github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.2.2 + github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk/test v0.2.2 + github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 ) require ( diff --git a/TestVectors/runtimes/go/ImplementationFromDafny-go/go.sum b/TestVectors/runtimes/go/ImplementationFromDafny-go/go.sum index 7e543d107..7391db490 100644 --- a/TestVectors/runtimes/go/ImplementationFromDafny-go/go.sum +++ b/TestVectors/runtimes/go/ImplementationFromDafny-go/go.sum @@ -30,8 +30,8 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.33.8 h1:pqEJQtlKWvnv3B6VRt60ZmsHy3So github.com/aws/aws-sdk-go-v2/service/sts v1.33.8/go.mod h1:f6vjfZER1M17Fokn0IzssOTMT2N8ZSq+7jnNF0tArvw= github.com/aws/smithy-go v1.22.1 h1:/HPHZQ0g7f4eUeK6HKglFz8uwVfZKgoI25rb/J+dnro= github.com/aws/smithy-go v1.22.1/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2 h1:g/xAj4F7Zt9wXJ6QjfbfocVi/ZYlAFpNddHCFyfzRDg= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 h1:tTQ9M9HCUaf2SXqutj2vmMqJKJpefWMSqx1niqTqi8M= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= diff --git a/TestVectors/runtimes/go/TestsFromDafny-go/go.mod b/TestVectors/runtimes/go/TestsFromDafny-go/go.mod index aa67eb75e..d7349b733 100644 --- a/TestVectors/runtimes/go/TestsFromDafny-go/go.mod +++ b/TestVectors/runtimes/go/TestsFromDafny-go/go.mod @@ -15,19 +15,19 @@ replace ( ) require ( - github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.0 - github.com/aws/aws-cryptographic-material-providers-library/testvectors v0.0.0 - github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.0.0 - github.com/aws/aws-encryption-sdk/testvectors v0.0.0 - github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/testvectors v0.2.2 + github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.2.2 + github.com/aws/aws-encryption-sdk/testvectors v0.2.2 + github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 ) require ( - github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk/test v0.0.0 // indirect + github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk/test v0.2.2 // indirect github.com/aws/aws-sdk-go-v2 v1.33.0 // indirect github.com/aws/aws-sdk-go-v2/config v1.29.0 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.17.53 // indirect diff --git a/TestVectors/runtimes/go/TestsFromDafny-go/go.sum b/TestVectors/runtimes/go/TestsFromDafny-go/go.sum index 7e543d107..7391db490 100644 --- a/TestVectors/runtimes/go/TestsFromDafny-go/go.sum +++ b/TestVectors/runtimes/go/TestsFromDafny-go/go.sum @@ -30,8 +30,8 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.33.8 h1:pqEJQtlKWvnv3B6VRt60ZmsHy3So github.com/aws/aws-sdk-go-v2/service/sts v1.33.8/go.mod h1:f6vjfZER1M17Fokn0IzssOTMT2N8ZSq+7jnNF0tArvw= github.com/aws/smithy-go v1.22.1 h1:/HPHZQ0g7f4eUeK6HKglFz8uwVfZKgoI25rb/J+dnro= github.com/aws/smithy-go v1.22.1/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2 h1:g/xAj4F7Zt9wXJ6QjfbfocVi/ZYlAFpNddHCFyfzRDg= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.9.2/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 h1:tTQ9M9HCUaf2SXqutj2vmMqJKJpefWMSqx1niqTqi8M= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= diff --git a/esdk-performance-testing/benchmarks/go/go.mod b/esdk-performance-testing/benchmarks/go/go.mod index 68ec4e971..0d27d8fe6 100644 --- a/esdk-performance-testing/benchmarks/go/go.mod +++ b/esdk-performance-testing/benchmarks/go/go.mod @@ -4,6 +4,16 @@ go 1.23.0 replace github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk => ../../../AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go +replace github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb => ../../../mpl/ComAmazonawsDynamodb/runtimes/go/ImplementationFromDafny-go + +replace github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms => ../../../mpl/ComAmazonawsKms/runtimes/go/ImplementationFromDafny-go + +replace github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives => ../../../mpl/AwsCryptographyPrimitives/runtimes/go/ImplementationFromDafny-go + +replace github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library => ../../../mpl/StandardLibrary/runtimes/go/ImplementationFromDafny-go + +replace github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl => ../../../mpl/AwsCryptographicMaterialProviders/runtimes/go/ImplementationFromDafny-go + require ( github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.2 github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.0.0-00010101000000-000000000000 @@ -33,7 +43,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/ssooidc v1.33.2 // indirect github.com/aws/aws-sdk-go-v2/service/sts v1.38.0 // indirect github.com/aws/smithy-go v1.22.5 // indirect - github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.0 // indirect + github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 // indirect github.com/go-ole/go-ole v1.2.6 // indirect github.com/google/uuid v1.6.0 // indirect github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect diff --git a/esdk-performance-testing/benchmarks/go/go.sum b/esdk-performance-testing/benchmarks/go/go.sum index 5c23c6894..4ecd94240 100644 --- a/esdk-performance-testing/benchmarks/go/go.sum +++ b/esdk-performance-testing/benchmarks/go/go.sum @@ -1,13 +1,3 @@ -github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.2 h1:1CYvKblXRaPB9B0cdN/xWVOXvii2AQHgdcbTlI5F8Oc= -github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.2/go.mod h1:vb/jlzf5XQSD5O3Po50VX6j6JyzcWs3wPoV7foewmJs= -github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.2 h1:0x9qTjQeW8fkP+/kuRw2drLDZM617rr8h6kcUetBjKE= -github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.2/go.mod h1:2wGHS+a/Dg21W3cnFDYbOu33d6eQUS52Ff/uAE2vIu8= -github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.2 h1:gXYtIJfwt+5gOmo7zg/TDb0l1cz5XgnWR0/opB0OyyA= -github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.2/go.mod h1:9yccmncslXtxhE4vyg1ZKaTWEe5xyNljrt3glFtMN4g= -github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.2 h1:tBPXcmQVmf0ILx5eY++l64+yp04AFlHeKqpli0YDQBc= -github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.2/go.mod h1:mSUejB7V5Wo23naCw2ORAJ+5ZJkyaSvB6hQbKPVXNuA= -github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.2 h1:k/OqY+NJcTlFByY1WcM6dF5ZC4kIZtZ8b3A9kRVAj8Y= -github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.2/go.mod h1:j4QF5oVY9L1yNZrzoDu3l3d8TRh53uBw3FLZCL7xCTk= github.com/aws/aws-sdk-go-v2 v1.38.1 h1:j7sc33amE74Rz0M/PoCpsZQ6OunLqys/m5antM0J+Z8= github.com/aws/aws-sdk-go-v2 v1.38.1/go.mod h1:9Q0OoGQoboYIAJyslFyF1f5K1Ryddop8gqMhWx/n4Wg= github.com/aws/aws-sdk-go-v2/config v1.31.2 h1:NOaSZpVGEH2Np/c1toSeW0jooNl+9ALmsUTZ8YvkJR0= @@ -40,8 +30,8 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.38.0 h1:iV1Ko4Em/lkJIsoKyGfc0nQySi+v github.com/aws/aws-sdk-go-v2/service/sts v1.38.0/go.mod h1:bEPcjW7IbolPfK67G1nilqWyoxYMSPrDiIQ3RdIdKgo= github.com/aws/smithy-go v1.22.5 h1:P9ATCXPMb2mPjYBgueqJNCA5S9UfktsW0tTxi+a7eqw= github.com/aws/smithy-go v1.22.5/go.mod h1:t1ufH5HMublsJYulve2RKmHDC15xu1f26kHCp/HgceI= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.0 h1:wJhHuhD9thOc0GXojfW8DJ/n7G8prW+1nUL5O3lvzs0= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.0/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 h1:tTQ9M9HCUaf2SXqutj2vmMqJKJpefWMSqx1niqTqi8M= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/esdk-performance-testing/results/raw-data/go_results.json b/esdk-performance-testing/results/raw-data/go_results.json new file mode 100644 index 000000000..7b04a90e6 --- /dev/null +++ b/esdk-performance-testing/results/raw-data/go_results.json @@ -0,0 +1,72 @@ +{ + "metadata": { + "cpu_count": 12, + "go_version": "go1.23.0", + "language": "go", + "timestamp": "2025-09-26 10:13:59", + "total_memory_gb": 36, + "total_tests": 3 + }, + "results": [ + { + "test_name": "throughput", + "language": "go", + "data_size": 52428800, + "concurrency": 1, + "encrypt_latency_ms": 526.4633606666667, + "decrypt_latency_ms": 509.1082363333333, + "end_to_end_latency_ms": 1036.6499443333332, + "ops_per_second": 0.9645829136841684, + "bytes_per_second": 50571924.66496453, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1034.56870342, + "p95_latency": 1034.572749298, + "p99_latency": 1034.5731089316, + "timestamp": "2025-09-26 10:13:47", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "memory", + "language": "go", + "data_size": 52428800, + "concurrency": 1, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 0, + "ops_per_second": 0, + "bytes_per_second": 0, + "peak_memory_mb": 1027.3083801269531, + "memory_efficiency_ratio": 0.11267139711613851, + "p50_latency": 0, + "p95_latency": 0, + "p99_latency": 0, + "timestamp": "2025-09-26 10:13:53", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 52428800, + "concurrency": 2, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 1165.2742832, + "ops_per_second": 1.6921494145088993, + "bytes_per_second": 88717363.22340418, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1094.3249817649998, + "p95_latency": 1095.1497406534997, + "p99_latency": 1095.2230525547, + "timestamp": "2025-09-26 10:13:59", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + } + ] +} From c3f82f2d6f76427e86787183cddbe8fcb808975c Mon Sep 17 00:00:00 2001 From: Shubham Chaturvedi Date: Tue, 28 Oct 2025 15:30:57 -0700 Subject: [PATCH 3/7] update DafnyGoRuntime v4.11.2 --- .../runtimes/go/ImplementationFromDafny-go/go.mod | 12 ++++++------ .../runtimes/go/ImplementationFromDafny-go/go.sum | 4 ++-- .../runtimes/go/TestsFromDafny-go/go.mod | 14 +++++++------- .../runtimes/go/TestsFromDafny-go/go.sum | 4 ++-- AwsEncryptionSDK/runtimes/go/examples/go.mod | 14 +++++++------- AwsEncryptionSDK/runtimes/go/examples/go.sum | 4 ++-- 6 files changed, 26 insertions(+), 26 deletions(-) diff --git a/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.mod b/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.mod index 347c0f33e..247da3cfd 100644 --- a/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.mod +++ b/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.mod @@ -11,12 +11,12 @@ replace ( ) require ( - github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.2 - github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.3.0 + github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2 ) diff --git a/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.sum b/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.sum index 7391db490..103263514 100644 --- a/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.sum +++ b/AwsEncryptionSDK/runtimes/go/ImplementationFromDafny-go/go.sum @@ -30,8 +30,8 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.33.8 h1:pqEJQtlKWvnv3B6VRt60ZmsHy3So github.com/aws/aws-sdk-go-v2/service/sts v1.33.8/go.mod h1:f6vjfZER1M17Fokn0IzssOTMT2N8ZSq+7jnNF0tArvw= github.com/aws/smithy-go v1.22.1 h1:/HPHZQ0g7f4eUeK6HKglFz8uwVfZKgoI25rb/J+dnro= github.com/aws/smithy-go v1.22.1/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 h1:tTQ9M9HCUaf2SXqutj2vmMqJKJpefWMSqx1niqTqi8M= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2 h1:Q1BMAsz2goAaVznYICm2PRfjjFz5HM8ikOM6Jxqfd3M= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= diff --git a/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.mod b/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.mod index 69834d660..28c9ac132 100644 --- a/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.mod +++ b/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.mod @@ -12,13 +12,13 @@ replace ( ) require ( - github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.2 - github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.2.2 - github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.3.0 + github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.3.0 + github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2 ) diff --git a/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.sum b/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.sum index 7391db490..103263514 100644 --- a/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.sum +++ b/AwsEncryptionSDK/runtimes/go/TestsFromDafny-go/go.sum @@ -30,8 +30,8 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.33.8 h1:pqEJQtlKWvnv3B6VRt60ZmsHy3So github.com/aws/aws-sdk-go-v2/service/sts v1.33.8/go.mod h1:f6vjfZER1M17Fokn0IzssOTMT2N8ZSq+7jnNF0tArvw= github.com/aws/smithy-go v1.22.1 h1:/HPHZQ0g7f4eUeK6HKglFz8uwVfZKgoI25rb/J+dnro= github.com/aws/smithy-go v1.22.1/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 h1:tTQ9M9HCUaf2SXqutj2vmMqJKJpefWMSqx1niqTqi8M= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2 h1:Q1BMAsz2goAaVznYICm2PRfjjFz5HM8ikOM6Jxqfd3M= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= diff --git a/AwsEncryptionSDK/runtimes/go/examples/go.mod b/AwsEncryptionSDK/runtimes/go/examples/go.mod index cf98886cc..2dc53f601 100644 --- a/AwsEncryptionSDK/runtimes/go/examples/go.mod +++ b/AwsEncryptionSDK/runtimes/go/examples/go.mod @@ -12,9 +12,9 @@ replace ( ) require ( - github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.2 - github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.2.2 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.3.0 + github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.3.0 github.com/aws/aws-sdk-go-v2/config v1.29.0 github.com/aws/aws-sdk-go-v2/credentials v1.17.53 github.com/aws/aws-sdk-go-v2/service/dynamodb v1.39.4 @@ -24,9 +24,9 @@ require ( ) require ( - github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.2 // indirect - github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.2 // indirect - github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.2 // indirect + github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.3.0 // indirect + github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.3.0 // indirect + github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.3.0 // indirect github.com/aws/aws-sdk-go-v2 v1.33.0 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.24 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.28 // indirect @@ -38,6 +38,6 @@ require ( github.com/aws/aws-sdk-go-v2/service/sso v1.24.10 // indirect github.com/aws/aws-sdk-go-v2/service/ssooidc v1.28.9 // indirect github.com/aws/smithy-go v1.22.1 // indirect - github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 // indirect + github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect ) diff --git a/AwsEncryptionSDK/runtimes/go/examples/go.sum b/AwsEncryptionSDK/runtimes/go/examples/go.sum index 7391db490..103263514 100644 --- a/AwsEncryptionSDK/runtimes/go/examples/go.sum +++ b/AwsEncryptionSDK/runtimes/go/examples/go.sum @@ -30,8 +30,8 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.33.8 h1:pqEJQtlKWvnv3B6VRt60ZmsHy3So github.com/aws/aws-sdk-go-v2/service/sts v1.33.8/go.mod h1:f6vjfZER1M17Fokn0IzssOTMT2N8ZSq+7jnNF0tArvw= github.com/aws/smithy-go v1.22.1 h1:/HPHZQ0g7f4eUeK6HKglFz8uwVfZKgoI25rb/J+dnro= github.com/aws/smithy-go v1.22.1/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 h1:tTQ9M9HCUaf2SXqutj2vmMqJKJpefWMSqx1niqTqi8M= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2 h1:Q1BMAsz2goAaVznYICm2PRfjjFz5HM8ikOM6Jxqfd3M= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= From f97e4e9c4532a071e6a38e916a6166e7c77ccaaa Mon Sep 17 00:00:00 2001 From: Shubham Chaturvedi Date: Tue, 28 Oct 2025 16:34:11 -0700 Subject: [PATCH 4/7] fix(perf): Use DafnyRuntimeGo v4.11.2 --- esdk-performance-testing/benchmarks/go/go.mod | 54 +- esdk-performance-testing/benchmarks/go/go.sum | 95 +- .../results/raw-data/go_results.json | 1064 ++++++++++++++++- 3 files changed, 1117 insertions(+), 96 deletions(-) diff --git a/esdk-performance-testing/benchmarks/go/go.mod b/esdk-performance-testing/benchmarks/go/go.mod index 0d27d8fe6..129eb5dcc 100644 --- a/esdk-performance-testing/benchmarks/go/go.mod +++ b/esdk-performance-testing/benchmarks/go/go.mod @@ -15,44 +15,44 @@ replace github.com/aws/aws-cryptographic-material-providers-library/releases/go/ replace github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl => ../../../mpl/AwsCryptographicMaterialProviders/runtimes/go/ImplementationFromDafny-go require ( - github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.2 - github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.0.0-00010101000000-000000000000 - github.com/schollz/progressbar/v3 v3.14.1 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.3.0 + github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.3.0 + github.com/schollz/progressbar/v3 v3.18.0 github.com/shirou/gopsutil/v3 v3.23.12 gopkg.in/yaml.v3 v3.0.1 ) require ( - github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.2 // indirect - github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.2 // indirect - github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.2 // indirect - github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.2 // indirect - github.com/aws/aws-sdk-go-v2 v1.38.1 // indirect - github.com/aws/aws-sdk-go-v2/config v1.31.2 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.18.6 // indirect - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.4 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.4 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.4 // indirect - github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.49.1 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.0 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.11.4 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.4 // indirect - github.com/aws/aws-sdk-go-v2/service/kms v1.44.2 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.28.2 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.33.2 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.38.0 // indirect - github.com/aws/smithy-go v1.22.5 // indirect - github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 // indirect + github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.3.0 // indirect + github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.3.0 // indirect + github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.3.0 // indirect + github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.3.0 // indirect + github.com/aws/aws-sdk-go-v2 v1.39.4 // indirect + github.com/aws/aws-sdk-go-v2/config v1.31.15 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.18.19 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.11 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.11 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.11 // indirect + github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4 // indirect + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.52.2 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.2 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.11.11 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.11 // indirect + github.com/aws/aws-sdk-go-v2/service/kms v1.46.2 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.29.8 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.3 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.38.9 // indirect + github.com/aws/smithy-go v1.23.1 // indirect + github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2 // indirect github.com/go-ole/go-ole v1.2.6 // indirect github.com/google/uuid v1.6.0 // indirect github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect - github.com/rivo/uniseg v0.4.4 // indirect + github.com/rivo/uniseg v0.4.7 // indirect github.com/tklauser/go-sysconf v0.3.12 // indirect github.com/tklauser/numcpus v0.6.1 // indirect github.com/yusufpapurcu/wmi v1.2.3 // indirect - golang.org/x/sys v0.15.0 // indirect - golang.org/x/term v0.14.0 // indirect + golang.org/x/sys v0.29.0 // indirect + golang.org/x/term v0.28.0 // indirect ) diff --git a/esdk-performance-testing/benchmarks/go/go.sum b/esdk-performance-testing/benchmarks/go/go.sum index 4ecd94240..ec57d3b1d 100644 --- a/esdk-performance-testing/benchmarks/go/go.sum +++ b/esdk-performance-testing/benchmarks/go/go.sum @@ -1,37 +1,39 @@ -github.com/aws/aws-sdk-go-v2 v1.38.1 h1:j7sc33amE74Rz0M/PoCpsZQ6OunLqys/m5antM0J+Z8= -github.com/aws/aws-sdk-go-v2 v1.38.1/go.mod h1:9Q0OoGQoboYIAJyslFyF1f5K1Ryddop8gqMhWx/n4Wg= -github.com/aws/aws-sdk-go-v2/config v1.31.2 h1:NOaSZpVGEH2Np/c1toSeW0jooNl+9ALmsUTZ8YvkJR0= -github.com/aws/aws-sdk-go-v2/config v1.31.2/go.mod h1:17ft42Yb2lF6OigqSYiDAiUcX4RIkEMY6XxEMJsrAes= -github.com/aws/aws-sdk-go-v2/credentials v1.18.6 h1:AmmvNEYrru7sYNJnp3pf57lGbiarX4T9qU/6AZ9SucU= -github.com/aws/aws-sdk-go-v2/credentials v1.18.6/go.mod h1:/jdQkh1iVPa01xndfECInp1v1Wnp70v3K4MvtlLGVEc= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.4 h1:lpdMwTzmuDLkgW7086jE94HweHCqG+uOJwHf3LZs7T0= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.4/go.mod h1:9xzb8/SV62W6gHQGC/8rrvgNXU6ZoYM3sAIJCIrXJxY= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.4 h1:IdCLsiiIj5YJ3AFevsewURCPV+YWUlOW8JiPhoAy8vg= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.4/go.mod h1:l4bdfCD7XyyZA9BolKBo1eLqgaJxl0/x91PL4Yqe0ao= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.4 h1:j7vjtr1YIssWQOMeOWRbh3z8g2oY/xPjnZH2gLY4sGw= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.4/go.mod h1:yDmJgqOiH4EA8Hndnv4KwAo8jCGTSnM5ASG1nBI+toA= -github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 h1:bIqFDwgGXXN1Kpp99pDOdKMTTb5d2KyU5X/BZxjOkRo= -github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3/go.mod h1:H5O/EsxDWyU+LP/V8i5sm8cxoZgc2fdNR9bxlOFrQTo= -github.com/aws/aws-sdk-go-v2/service/dynamodb v1.49.1 h1:0RqS5X7EodJzOenoY4V3LUSp9PirELO2ZOpOZbMldco= -github.com/aws/aws-sdk-go-v2/service/dynamodb v1.49.1/go.mod h1:VRp/OeQolnQD9GfNgdSf3kU5vbg708PF6oPHh2bq3hc= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.0 h1:6+lZi2JeGKtCraAj1rpoZfKqnQ9SptseRZioejfUOLM= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.0/go.mod h1:eb3gfbVIxIoGgJsi9pGne19dhCBpK6opTYpQqAmdy44= -github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.11.4 h1:upi++G3fQCAUBXQe58TbjXmdVPwrqMnRQMThOAIz7KM= -github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.11.4/go.mod h1:swb+GqWXTZMOyVV9rVePAUu5L80+X5a+Lui1RNOyUFo= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.4 h1:ueB2Te0NacDMnaC+68za9jLwkjzxGWm0KB5HTUHjLTI= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.4/go.mod h1:nLEfLnVMmLvyIG58/6gsSA03F1voKGaCfHV7+lR8S7s= -github.com/aws/aws-sdk-go-v2/service/kms v1.44.2 h1:yTtMSIGWk8KzPDX2pS9k7wNCPKiNWpiJ9DdB2mCAMzo= -github.com/aws/aws-sdk-go-v2/service/kms v1.44.2/go.mod h1:zgkQ8ige7qtxldA4cGtiXdbql3dBo4TfsP6uQyHwq0E= -github.com/aws/aws-sdk-go-v2/service/sso v1.28.2 h1:ve9dYBB8CfJGTFqcQ3ZLAAb/KXWgYlgu/2R2TZL2Ko0= -github.com/aws/aws-sdk-go-v2/service/sso v1.28.2/go.mod h1:n9bTZFZcBa9hGGqVz3i/a6+NG0zmZgtkB9qVVFDqPA8= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.33.2 h1:pd9G9HQaM6UZAZh19pYOkpKSQkyQQ9ftnl/LttQOcGI= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.33.2/go.mod h1:eknndR9rU8UpE/OmFpqU78V1EcXPKFTTm5l/buZYgvM= -github.com/aws/aws-sdk-go-v2/service/sts v1.38.0 h1:iV1Ko4Em/lkJIsoKyGfc0nQySi+v0Udxr6Igq+y9JZc= -github.com/aws/aws-sdk-go-v2/service/sts v1.38.0/go.mod h1:bEPcjW7IbolPfK67G1nilqWyoxYMSPrDiIQ3RdIdKgo= -github.com/aws/smithy-go v1.22.5 h1:P9ATCXPMb2mPjYBgueqJNCA5S9UfktsW0tTxi+a7eqw= -github.com/aws/smithy-go v1.22.5/go.mod h1:t1ufH5HMublsJYulve2RKmHDC15xu1f26kHCp/HgceI= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 h1:tTQ9M9HCUaf2SXqutj2vmMqJKJpefWMSqx1niqTqi8M= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= +github.com/aws/aws-sdk-go-v2 v1.39.4 h1:qTsQKcdQPHnfGYBBs+Btl8QwxJeoWcOcPcixK90mRhg= +github.com/aws/aws-sdk-go-v2 v1.39.4/go.mod h1:yWSxrnioGUZ4WVv9TgMrNUeLV3PFESn/v+6T/Su8gnM= +github.com/aws/aws-sdk-go-v2/config v1.31.15 h1:gE3M4xuNXfC/9bG4hyowGm/35uQTi7bUKeYs5e/6uvU= +github.com/aws/aws-sdk-go-v2/config v1.31.15/go.mod h1:HvnvGJoE2I95KAIW8kkWVPJ4XhdrlvwJpV6pEzFQa8o= +github.com/aws/aws-sdk-go-v2/credentials v1.18.19 h1:Jc1zzwkSY1QbkEcLujwqRTXOdvW8ppND3jRBb/VhBQc= +github.com/aws/aws-sdk-go-v2/credentials v1.18.19/go.mod h1:DIfQ9fAk5H0pGtnqfqkbSIzky82qYnGvh06ASQXXg6A= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.11 h1:X7X4YKb+c0rkI6d4uJ5tEMxXgCZ+jZ/D6mvkno8c8Uw= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.11/go.mod h1:EqM6vPZQsZHYvC4Cai35UDg/f5NCEU+vp0WfbVqVcZc= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.11 h1:7AANQZkF3ihM8fbdftpjhken0TP9sBzFbV/Ze/Y4HXA= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.11/go.mod h1:NTF4QCGkm6fzVwncpkFQqoquQyOolcyXfbpC98urj+c= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.11 h1:ShdtWUZT37LCAA4Mw2kJAJtzaszfSHFb5n25sdcv4YE= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.11/go.mod h1:7bUb2sSr2MZ3M/N+VyETLTQtInemHXb/Fl3s8CLzm0Y= +github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4 h1:WKuaxf++XKWlHWu9ECbMlha8WOEGm0OUEZqm4K/Gcfk= +github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4/go.mod h1:ZWy7j6v1vWGmPReu0iSGvRiise4YI5SkR3OHKTZ6Wuc= +github.com/aws/aws-sdk-go-v2/service/dynamodb v1.52.2 h1:v63QYOleHhBT1SctUsl4RXH+yjYuxQzpGxFRfjCmXBc= +github.com/aws/aws-sdk-go-v2/service/dynamodb v1.52.2/go.mod h1:OU+zHNgIjScCe8j2GAZ7uEWVMH3UupqAp2c2gpyckEE= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.2 h1:xtuxji5CS0JknaXoACOunXOYOQzgfTvGAc9s2QdCJA4= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.2/go.mod h1:zxwi0DIR0rcRcgdbl7E2MSOvxDyyXGBlScvBkARFaLQ= +github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.11.11 h1:E+Q3COWEOkzzxo3kxG6zUskB3qsNMG/+UWbuREq5b9M= +github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.11.11/go.mod h1:p2NzdJjY5n+i+BAf9iw5jZRURdplXLX47IRB8LP2AgQ= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.11 h1:GpMf3z2KJa4RnJ0ew3Hac+hRFYLZ9DDjfgXjuW+pB54= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.11/go.mod h1:6MZP3ZI4QQsgUCFTwMZA2V0sEriNQ8k2hmoHF3qjimQ= +github.com/aws/aws-sdk-go-v2/service/kms v1.46.2 h1:hz2rJseQXnVQtVbByFpeSCNJBBU7oFN+yenW4biJtvs= +github.com/aws/aws-sdk-go-v2/service/kms v1.46.2/go.mod h1:E4ink1KCQgqIe2pHFD9E+b5CNXovm50rQbWFuh0cM+I= +github.com/aws/aws-sdk-go-v2/service/sso v1.29.8 h1:M5nimZmugcZUO9wG7iVtROxPhiqyZX6ejS1lxlDPbTU= +github.com/aws/aws-sdk-go-v2/service/sso v1.29.8/go.mod h1:mbef/pgKhtKRwrigPPs7SSSKZgytzP8PQ6P6JAAdqyM= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.3 h1:S5GuJZpYxE0lKeMHKn+BRTz6PTFpgThyJ+5mYfux7BM= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.3/go.mod h1:X4OF+BTd7HIb3L+tc4UlWHVrpgwZZIVENU15pRDVTI0= +github.com/aws/aws-sdk-go-v2/service/sts v1.38.9 h1:Ekml5vGg6sHSZLZJQJagefnVe6PmqC2oiRkBq4F7fU0= +github.com/aws/aws-sdk-go-v2/service/sts v1.38.9/go.mod h1:/e15V+o1zFHWdH3u7lpI3rVBcxszktIKuHKCY2/py+k= +github.com/aws/smithy-go v1.23.1 h1:sLvcH6dfAFwGkHLZ7dGiYF7aK6mg4CgKA/iDKjLDt9M= +github.com/aws/smithy-go v1.23.1/go.mod h1:LEj2LM3rBRQJxPZTB4KuzZkaZYnZPnvgIhb4pu07mx0= +github.com/chengxilo/virtualterm v1.0.4 h1:Z6IpERbRVlfB8WkOmtbHiDbBANU7cimRIof7mk9/PwM= +github.com/chengxilo/virtualterm v1.0.4/go.mod h1:DyxxBZz/x1iqJjFxTFcr6/x+jSpqN0iwWCOK1q10rlY= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2 h1:Q1BMAsz2goAaVznYICm2PRfjjFz5HM8ikOM6Jxqfd3M= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -43,20 +45,20 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213/go.mod h1:vNUNkEQ1e29fT/6vq2aBdFsgNPmy8qMdSay1npru+Sw= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= -github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc= +github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db h1:62I3jR2EmQ4l5rM/4FEfDWcRD+abF5XlKShorW5LRoQ= github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod h1:l0dey0ia/Uv7NcFFVbCLtqEBQbrT4OCwCSKTEv6enCw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw= github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= -github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= -github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= -github.com/schollz/progressbar/v3 v3.14.1 h1:VD+MJPCr4s3wdhTc7OEJ/Z3dAeBzJ7yKH/P4lC5yRTI= -github.com/schollz/progressbar/v3 v3.14.1/go.mod h1:Zc9xXneTzWXF81TGoqL71u0sBPjULtEHYtj/WVgVy8E= +github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= +github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= +github.com/schollz/progressbar/v3 v3.18.0 h1:uXdoHABRFmNIjUfte/Ex7WtuyVslrw2wVPQmCN62HpA= +github.com/schollz/progressbar/v3 v3.18.0/go.mod h1:IsO3lpbaGuzh8zIMzgY3+J8l4C8GjO0Y9S69eFvNsec= github.com/shirou/gopsutil/v3 v3.23.12 h1:z90NtUkp3bMtmICZKpC4+WaknU1eXtp5vtbQ11DgpE4= github.com/shirou/gopsutil/v3 v3.23.12/go.mod h1:1FrWgea594Jp7qmjHUUPlJDTPgcsb9mGnXDxavtikzM= github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ= @@ -64,11 +66,11 @@ github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnj github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU= github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI= github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk= @@ -77,14 +79,13 @@ github.com/yusufpapurcu/wmi v1.2.3 h1:E1ctvB7uKFMOJw3fdOW32DwGE9I7t++CRUEMKvFoFi github.com/yusufpapurcu/wmi v1.2.3/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/term v0.14.0 h1:LGK9IlZ8T9jvdy6cTdfKUCltatMFOehAQo9SRC46UQ8= -golang.org/x/term v0.14.0/go.mod h1:TySc+nGkYR6qt8km8wUhuFRTVSMIX3XPR58y2lC8vww= +golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU= +golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/term v0.28.0 h1:/Ts8HFuMR2E6IP/jlo7QVLZHggjKQbhu/7H0LJFr3Gg= +golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/esdk-performance-testing/results/raw-data/go_results.json b/esdk-performance-testing/results/raw-data/go_results.json index 7b04a90e6..81caa17b5 100644 --- a/esdk-performance-testing/results/raw-data/go_results.json +++ b/esdk-performance-testing/results/raw-data/go_results.json @@ -3,27 +3,327 @@ "cpu_count": 12, "go_version": "go1.23.0", "language": "go", - "timestamp": "2025-09-26 10:13:59", + "timestamp": "2025-10-28 16:32:12", "total_memory_gb": 36, - "total_tests": 3 + "total_tests": 54 }, "results": [ + { + "test_name": "throughput", + "language": "go", + "data_size": 1024, + "concurrency": 1, + "encrypt_latency_ms": 0.6780292, + "decrypt_latency_ms": 0.6593123, + "end_to_end_latency_ms": 1.3377999, + "ops_per_second": 738.5660739673923, + "bytes_per_second": 756291.6597426097, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.06658814, + "p95_latency": 1.067004966, + "p99_latency": 1.0670420172, + "timestamp": "2025-10-28 16:30:48", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "throughput", + "language": "go", + "data_size": 5120, + "concurrency": 1, + "encrypt_latency_ms": 0.699146, + "decrypt_latency_ms": 0.6406251000000001, + "end_to_end_latency_ms": 1.3408083999999998, + "ops_per_second": 738.1822012312731, + "bytes_per_second": 3779492.8703041184, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.0892398899999998, + "p95_latency": 1.0896060909999998, + "p99_latency": 1.0896386422, + "timestamp": "2025-10-28 16:30:48", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "throughput", + "language": "go", + "data_size": 10240, + "concurrency": 1, + "encrypt_latency_ms": 0.6795543000000001, + "decrypt_latency_ms": 0.6959373999999999, + "end_to_end_latency_ms": 1.3762667, + "ops_per_second": 720.815998309254, + "bytes_per_second": 7381155.822686762, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.11801686, + "p95_latency": 1.1224195339999998, + "p99_latency": 1.1228108828, + "timestamp": "2025-10-28 16:30:48", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "throughput", + "language": "go", + "data_size": 102400, + "concurrency": 1, + "encrypt_latency_ms": 0.8546625999999999, + "decrypt_latency_ms": 0.9883500999999999, + "end_to_end_latency_ms": 1.8459250999999999, + "ops_per_second": 537.1446539684597, + "bytes_per_second": 55003612.56637027, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.640167735, + "p95_latency": 1.6421555964999999, + "p99_latency": 1.6423322953, + "timestamp": "2025-10-28 16:30:48", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "throughput", + "language": "go", + "data_size": 512000, + "concurrency": 1, + "encrypt_latency_ms": 2.1500247999999997, + "decrypt_latency_ms": 2.2201835, + "end_to_end_latency_ms": 4.3831541, + "ops_per_second": 225.7467969294914, + "bytes_per_second": 115582360.0278996, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 3.9711675, + "p95_latency": 3.9764932500000003, + "p99_latency": 3.9769666500000005, + "timestamp": "2025-10-28 16:30:48", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "throughput", + "language": "go", + "data_size": 1048576, + "concurrency": 1, + "encrypt_latency_ms": 3.5013583999999995, + "decrypt_latency_ms": 3.9517873999999997, + "end_to_end_latency_ms": 7.4752082, + "ops_per_second": 133.297195574965, + "bytes_per_second": 139772240.1472145, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 6.775545735000001, + "p95_latency": 6.7775740965, + "p99_latency": 6.777754395300001, + "timestamp": "2025-10-28 16:30:48", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "throughput", + "language": "go", + "data_size": 10485760, + "concurrency": 1, + "encrypt_latency_ms": 28.8982459, + "decrypt_latency_ms": 29.681649999999998, + "end_to_end_latency_ms": 58.8106959, + "ops_per_second": 16.993148726087025, + "bytes_per_second": 178186079.18605426, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 57.76106025, + "p95_latency": 57.765201375, + "p99_latency": 57.765569475, + "timestamp": "2025-10-28 16:30:49", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, { "test_name": "throughput", "language": "go", "data_size": 52428800, "concurrency": 1, - "encrypt_latency_ms": 526.4633606666667, - "decrypt_latency_ms": 509.1082363333333, - "end_to_end_latency_ms": 1036.6499443333332, - "ops_per_second": 0.9645829136841684, - "bytes_per_second": 50571924.66496453, + "encrypt_latency_ms": 144.2391, + "decrypt_latency_ms": 150.83976669999998, + "end_to_end_latency_ms": 296.18373740000004, + "ops_per_second": 3.375825505000194, + "bytes_per_second": 176990480.23655418, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 288.797093015, + "p95_latency": 288.8778770285, + "p99_latency": 288.8850578297, + "timestamp": "2025-10-28 16:30:54", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "throughput", + "language": "go", + "data_size": 104857600, + "concurrency": 1, + "encrypt_latency_ms": 291.712071, + "decrypt_latency_ms": 311.9570540000001, + "end_to_end_latency_ms": 605.8664874, + "ops_per_second": 1.6504175154024698, + "bytes_per_second": 173058819.66306603, "peak_memory_mb": 0, "memory_efficiency_ratio": 0, - "p50_latency": 1034.56870342, - "p95_latency": 1034.572749298, - "p99_latency": 1034.5731089316, - "timestamp": "2025-09-26 10:13:47", + "p50_latency": 583.900916985, + "p95_latency": 584.3467544715002, + "p99_latency": 584.3863844703002, + "timestamp": "2025-10-28 16:31:03", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "memory", + "language": "go", + "data_size": 1024, + "concurrency": 1, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 0, + "ops_per_second": 0, + "bytes_per_second": 0, + "peak_memory_mb": 0.324859619140625, + "memory_efficiency_ratio": 0.003130885698211971, + "p50_latency": 0, + "p95_latency": 0, + "p99_latency": 0, + "timestamp": "2025-10-28 16:31:03", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "memory", + "language": "go", + "data_size": 5120, + "concurrency": 1, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 0, + "ops_per_second": 0, + "bytes_per_second": 0, + "peak_memory_mb": 0.3466949462890625, + "memory_efficiency_ratio": 0.014960891295098906, + "p50_latency": 0, + "p95_latency": 0, + "p99_latency": 0, + "timestamp": "2025-10-28 16:31:03", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "memory", + "language": "go", + "data_size": 10240, + "concurrency": 1, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 0, + "ops_per_second": 0, + "bytes_per_second": 0, + "peak_memory_mb": 0.4001007080078125, + "memory_efficiency_ratio": 0.02477911739881215, + "p50_latency": 0, + "p95_latency": 0, + "p99_latency": 0, + "timestamp": "2025-10-28 16:31:03", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "memory", + "language": "go", + "data_size": 102400, + "concurrency": 1, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 0, + "ops_per_second": 0, + "bytes_per_second": 0, + "peak_memory_mb": 1.217529296875, + "memory_efficiency_ratio": 0.08814904902326721, + "p50_latency": 0, + "p95_latency": 0, + "p99_latency": 0, + "timestamp": "2025-10-28 16:31:03", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "memory", + "language": "go", + "data_size": 512000, + "concurrency": 1, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 0, + "ops_per_second": 0, + "bytes_per_second": 0, + "peak_memory_mb": 3.6243896484375, + "memory_efficiency_ratio": 0.20695116631533472, + "p50_latency": 0, + "p95_latency": 0, + "p99_latency": 0, + "timestamp": "2025-10-28 16:31:03", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "memory", + "language": "go", + "data_size": 1048576, + "concurrency": 1, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 0, + "ops_per_second": 0, + "bytes_per_second": 0, + "peak_memory_mb": 6.6746368408203125, + "memory_efficiency_ratio": 0.24537769279114238, + "p50_latency": 0, + "p95_latency": 0, + "p99_latency": 0, + "timestamp": "2025-10-28 16:31:03", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "memory", + "language": "go", + "data_size": 10485760, + "concurrency": 1, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 0, + "ops_per_second": 0, + "bytes_per_second": 0, + "peak_memory_mb": 56.5087890625, + "memory_efficiency_ratio": 0.3006645196742715, + "p50_latency": 0, + "p95_latency": 0, + "p99_latency": 0, + "timestamp": "2025-10-28 16:31:04", "go_version": "go1.23.0", "cpu_count": 12, "total_memory_gb": 36 @@ -38,12 +338,32 @@ "end_to_end_latency_ms": 0, "ops_per_second": 0, "bytes_per_second": 0, - "peak_memory_mb": 1027.3083801269531, - "memory_efficiency_ratio": 0.11267139711613851, + "peak_memory_mb": 284.85059356689453, + "memory_efficiency_ratio": 0.3028530402020155, "p50_latency": 0, "p95_latency": 0, "p99_latency": 0, - "timestamp": "2025-09-26 10:13:53", + "timestamp": "2025-10-28 16:31:05", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "memory", + "language": "go", + "data_size": 104857600, + "concurrency": 1, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 0, + "ops_per_second": 0, + "bytes_per_second": 0, + "peak_memory_mb": 564.627197265625, + "memory_efficiency_ratio": 0.3028121854804039, + "p50_latency": 0, + "p95_latency": 0, + "p99_latency": 0, + "timestamp": "2025-10-28 16:31:08", "go_version": "go1.23.0", "cpu_count": 12, "total_memory_gb": 36 @@ -51,19 +371,719 @@ { "test_name": "concurrent", "language": "go", - "data_size": 52428800, + "data_size": 1024, + "concurrency": 2, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 1.1821376000000001, + "ops_per_second": 1675.8840288252052, + "bytes_per_second": 1716105.24551701, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.065156655, + "p95_latency": 1.0658232445, + "p99_latency": 1.0658824969, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 1024, + "concurrency": 4, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 1.3177146, + "ops_per_second": 2667.748349697524, + "bytes_per_second": 2731774.310090265, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.078967615, + "p95_latency": 1.0790887685, + "p99_latency": 1.0790995377, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 1024, + "concurrency": 8, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 1.6103717249999998, + "ops_per_second": 3683.707651751488, + "bytes_per_second": 3772116.6353935236, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.071465555, + "p95_latency": 1.0715092545, + "p99_latency": 1.0715131389, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 1024, + "concurrency": 16, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 1.8950832874999999, + "ops_per_second": 4848.913609997394, + "bytes_per_second": 4965287.536637331, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.072552715, + "p95_latency": 1.0759004584999998, + "p99_latency": 1.0761980356999998, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 5120, "concurrency": 2, "encrypt_latency_ms": 0, "decrypt_latency_ms": 0, - "end_to_end_latency_ms": 1165.2742832, - "ops_per_second": 1.6921494145088993, - "bytes_per_second": 88717363.22340418, + "end_to_end_latency_ms": 1.3036294, + "ops_per_second": 1429.6520412786292, + "bytes_per_second": 7319818.451346582, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.0929912800000001, + "p95_latency": 1.093095932, + "p99_latency": 1.0931052344, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 5120, + "concurrency": 4, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 1.3128854, + "ops_per_second": 2701.0145685973293, + "bytes_per_second": 13829194.591218326, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.10039875, + "p95_latency": 1.100420125, + "p99_latency": 1.100422025, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 5120, + "concurrency": 8, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 1.563685425, + "ops_per_second": 4618.426204303704, + "bytes_per_second": 23646342.166034963, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.09647494, + "p95_latency": 1.097052686, + "p99_latency": 1.0971040412000002, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 5120, + "concurrency": 16, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 1.9136620124999997, + "ops_per_second": 4867.931793460469, + "bytes_per_second": 24923810.7825176, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.10239741, + "p95_latency": 1.103804479, + "p99_latency": 1.1039295518, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 10240, + "concurrency": 2, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 1.2598418, + "ops_per_second": 1524.2352644936864, + "bytes_per_second": 15608169.108415348, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.0999582499999998, + "p95_latency": 1.100332875, + "p99_latency": 1.1003661750000002, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 10240, + "concurrency": 4, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 1.2666917000000002, + "ops_per_second": 2884.1820639927896, + "bytes_per_second": 29534024.335286167, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.106677125, + "p95_latency": 1.1074359375, + "p99_latency": 1.1075033875, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 10240, + "concurrency": 8, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 1.5792563249999998, + "ops_per_second": 4005.023099971985, + "bytes_per_second": 41011436.54371313, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.116404435, + "p95_latency": 1.1183056265, + "p99_latency": 1.1184746213, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 10240, + "concurrency": 16, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 2.1545104625000002, + "ops_per_second": 4300.381658872225, + "bytes_per_second": 44035908.186851576, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.159516875, + "p95_latency": 1.1600945625, + "p99_latency": 1.1601459125, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 102400, + "concurrency": 2, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 1.7747956999999999, + "ops_per_second": 1080.0156602270733, + "bytes_per_second": 110593603.6072523, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.6458874849999998, + "p95_latency": 1.6461237214999997, + "p99_latency": 1.6461447203, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 102400, + "concurrency": 4, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 1.7631874, + "ops_per_second": 2144.3984292281507, + "bytes_per_second": 219586399.15296263, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.5563697300000001, + "p95_latency": 1.5588777870000001, + "p99_latency": 1.5591007254000002, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 102400, + "concurrency": 8, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 2.9296864499999997, + "ops_per_second": 1484.2782465107864, + "bytes_per_second": 151990092.44270453, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1.56895806, + "p95_latency": 1.569257814, + "p99_latency": 1.5692844588000001, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 102400, + "concurrency": 16, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 8.731009424999998, + "ops_per_second": 1668.1886107425341, + "bytes_per_second": 170822513.7400355, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 3.678908945, + "p95_latency": 3.7938388955, + "p99_latency": 3.8040548911, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 512000, + "concurrency": 2, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 5.4395835, + "ops_per_second": 364.69563869603076, + "bytes_per_second": 186724167.01236776, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 4.611853529999999, + "p95_latency": 4.6319348069999995, + "p99_latency": 4.6337198094, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 512000, + "concurrency": 4, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 6.75426875, + "ops_per_second": 570.6934530389484, + "bytes_per_second": 292195047.95594156, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 5.893702625, + "p95_latency": 5.895872187499999, + "p99_latency": 5.8960650375, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 512000, + "concurrency": 8, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 10.252792625, + "ops_per_second": 736.590042212318, + "bytes_per_second": 377134101.61270684, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 7.53874368, + "p95_latency": 7.6123876919999995, + "p99_latency": 7.618933826400001, + "timestamp": "2025-10-28 16:31:08", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 512000, + "concurrency": 16, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 18.019042250000002, + "ops_per_second": 816.8700659516385, + "bytes_per_second": 418237473.7672389, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 6.430450195000001, + "p95_latency": 6.9210547705, + "p99_latency": 6.964664066099999, + "timestamp": "2025-10-28 16:31:09", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 1048576, + "concurrency": 2, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 8.820741899999998, + "ops_per_second": 224.88923867661316, + "bytes_per_second": 235813458.33456832, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 8.511685764999998, + "p95_latency": 8.5157526535, + "p99_latency": 8.5161141547, + "timestamp": "2025-10-28 16:31:09", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 1048576, + "concurrency": 4, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 11.472466650000001, + "ops_per_second": 342.80498360972246, + "bytes_per_second": 359457078.49354833, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 10.23421351, + "p95_latency": 10.243743169000002, + "p99_latency": 10.244590249800002, + "timestamp": "2025-10-28 16:31:09", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 1048576, + "concurrency": 8, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 19.107402, + "ops_per_second": 401.54141711495004, + "bytes_per_second": 421046692.99272585, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 14.64211394, + "p95_latency": 14.730266186, + "p99_latency": 14.738101941200002, + "timestamp": "2025-10-28 16:31:09", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 1048576, + "concurrency": 16, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 33.82546298749999, + "ops_per_second": 427.67969730969423, + "bytes_per_second": 448454666.28620994, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 11.487921465, + "p95_latency": 11.7938885835, + "p99_latency": 11.8210856607, + "timestamp": "2025-10-28 16:31:09", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 10485760, + "concurrency": 2, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 66.78398740000002, + "ops_per_second": 29.918438566743795, + "bytes_per_second": 313717566.3856194, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 63.726345609999996, + "p95_latency": 63.74904415899999, + "p99_latency": 63.7510618078, + "timestamp": "2025-10-28 16:31:09", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 10485760, + "concurrency": 4, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 83.83676665, + "ops_per_second": 46.6018603798197, + "bytes_per_second": 488655923.4962982, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 72.63907702000002, + "p95_latency": 73.123683838, + "p99_latency": 73.16675999960002, + "timestamp": "2025-10-28 16:31:10", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 10485760, + "concurrency": 8, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 164.04674785000003, + "ops_per_second": 47.751608072707796, + "bytes_per_second": 500711901.86447644, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 128.09853256, + "p95_latency": 129.469224064, + "p99_latency": 129.59106330880002, + "timestamp": "2025-10-28 16:31:11", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 10485760, + "concurrency": 16, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 276.5191015749999, + "ops_per_second": 54.81480544249818, + "bytes_per_second": 574774894.3167297, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 147.568273805, + "p95_latency": 151.1417452295, + "p99_latency": 151.4593871339, + "timestamp": "2025-10-28 16:31:12", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 52428800, + "concurrency": 2, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 340.80715839999993, + "ops_per_second": 5.743141858163041, + "bytes_per_second": 301106035.85325843, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 313.01783762499997, + "p95_latency": 313.08515368749994, + "p99_latency": 313.0911373375, + "timestamp": "2025-10-28 16:31:14", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 52428800, + "concurrency": 4, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 471.01014580000003, + "ops_per_second": 8.305103621714835, + "bytes_per_second": 435426616.76216274, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 390.835109375, + "p95_latency": 394.8314328125, + "p99_latency": 395.1866615625, + "timestamp": "2025-10-28 16:31:16", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 52428800, + "concurrency": 8, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 758.3989822999998, + "ops_per_second": 10.253047782534907, + "bytes_per_second": 537554991.5809661, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 584.30176193, + "p95_latency": 587.989784567, + "p99_latency": 588.3176088014001, + "timestamp": "2025-10-28 16:31:20", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 52428800, + "concurrency": 16, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 1537.3807755500006, + "ops_per_second": 10.010810737082542, + "bytes_per_second": 524854793.9723532, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1005.52672241, + "p95_latency": 1009.1844469790001, + "p99_latency": 1009.5095780518001, + "timestamp": "2025-10-28 16:31:28", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 104857600, + "concurrency": 2, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 755.1688918000001, + "ops_per_second": 2.5902349631275197, + "bytes_per_second": 271605821.6696402, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 693.02678625, + "p95_latency": 693.163281375, + "p99_latency": 693.175414275, + "timestamp": "2025-10-28 16:31:32", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 104857600, + "concurrency": 4, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 948.91961655, + "ops_per_second": 4.14491142292477, + "bytes_per_second": 434625464.0204764, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 797.9251397600001, + "p95_latency": 800.613790544, + "p99_latency": 800.8527817248, + "timestamp": "2025-10-28 16:31:37", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 104857600, + "concurrency": 8, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 1610.1985510999998, + "ops_per_second": 4.920106061909639, + "bytes_per_second": 515910513.39729613, + "peak_memory_mb": 0, + "memory_efficiency_ratio": 0, + "p50_latency": 1417.072917625, + "p95_latency": 1418.3882681875, + "p99_latency": 1418.5051882375, + "timestamp": "2025-10-28 16:31:45", + "go_version": "go1.23.0", + "cpu_count": 12, + "total_memory_gb": 36 + }, + { + "test_name": "concurrent", + "language": "go", + "data_size": 104857600, + "concurrency": 16, + "encrypt_latency_ms": 0, + "decrypt_latency_ms": 0, + "end_to_end_latency_ms": 5245.463453187499, + "ops_per_second": 3.0039804900228284, + "bytes_per_second": 314990184.63061774, "peak_memory_mb": 0, "memory_efficiency_ratio": 0, - "p50_latency": 1094.3249817649998, - "p95_latency": 1095.1497406534997, - "p99_latency": 1095.2230525547, - "timestamp": "2025-09-26 10:13:59", + "p50_latency": 4109.3874575, + "p95_latency": 4150.57693175, + "p99_latency": 4154.23821835, + "timestamp": "2025-10-28 16:32:12", "go_version": "go1.23.0", "cpu_count": 12, "total_memory_gb": 36 From 698ac87dda7a9a709e00101c7ecac7b14b2aa57d Mon Sep 17 00:00:00 2001 From: Shubham Chaturvedi Date: Tue, 28 Oct 2025 16:41:45 -0700 Subject: [PATCH 5/7] fix(TV): Use DafnyRuntimeGo v4.11.2 --- .../go/ImplementationFromDafny-go/go.mod | 18 ++++++++--------- .../go/ImplementationFromDafny-go/go.sum | 4 ++-- .../runtimes/go/TestsFromDafny-go/go.mod | 20 +++++++++---------- .../runtimes/go/TestsFromDafny-go/go.sum | 4 ++-- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/TestVectors/runtimes/go/ImplementationFromDafny-go/go.mod b/TestVectors/runtimes/go/ImplementationFromDafny-go/go.mod index 2cab70f42..4149212a6 100644 --- a/TestVectors/runtimes/go/ImplementationFromDafny-go/go.mod +++ b/TestVectors/runtimes/go/ImplementationFromDafny-go/go.mod @@ -14,15 +14,15 @@ replace ( ) require ( - github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/testvectors v0.2.2 - github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.2.2 - github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk/test v0.2.2 - github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/testvectors v0.3.0 + github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.3.0 + github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk/test v0.3.0 + github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2 ) require ( diff --git a/TestVectors/runtimes/go/ImplementationFromDafny-go/go.sum b/TestVectors/runtimes/go/ImplementationFromDafny-go/go.sum index 7391db490..103263514 100644 --- a/TestVectors/runtimes/go/ImplementationFromDafny-go/go.sum +++ b/TestVectors/runtimes/go/ImplementationFromDafny-go/go.sum @@ -30,8 +30,8 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.33.8 h1:pqEJQtlKWvnv3B6VRt60ZmsHy3So github.com/aws/aws-sdk-go-v2/service/sts v1.33.8/go.mod h1:f6vjfZER1M17Fokn0IzssOTMT2N8ZSq+7jnNF0tArvw= github.com/aws/smithy-go v1.22.1 h1:/HPHZQ0g7f4eUeK6HKglFz8uwVfZKgoI25rb/J+dnro= github.com/aws/smithy-go v1.22.1/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 h1:tTQ9M9HCUaf2SXqutj2vmMqJKJpefWMSqx1niqTqi8M= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2 h1:Q1BMAsz2goAaVznYICm2PRfjjFz5HM8ikOM6Jxqfd3M= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= diff --git a/TestVectors/runtimes/go/TestsFromDafny-go/go.mod b/TestVectors/runtimes/go/TestsFromDafny-go/go.mod index d7349b733..ac7b25e36 100644 --- a/TestVectors/runtimes/go/TestsFromDafny-go/go.mod +++ b/TestVectors/runtimes/go/TestsFromDafny-go/go.mod @@ -15,19 +15,19 @@ replace ( ) require ( - github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.2.2 - github.com/aws/aws-cryptographic-material-providers-library/testvectors v0.2.2 - github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.2.2 - github.com/aws/aws-encryption-sdk/testvectors v0.2.2 - github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/dynamodb v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/kms v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/mpl v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/primitives v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/releases/go/smithy-dafny-standard-library v0.3.0 + github.com/aws/aws-cryptographic-material-providers-library/testvectors v0.3.0 + github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk v0.3.0 + github.com/aws/aws-encryption-sdk/testvectors v0.3.0 + github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2 ) require ( - github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk/test v0.2.2 // indirect + github.com/aws/aws-encryption-sdk/releases/go/encryption-sdk/test v0.3.0 // indirect github.com/aws/aws-sdk-go-v2 v1.33.0 // indirect github.com/aws/aws-sdk-go-v2/config v1.29.0 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.17.53 // indirect diff --git a/TestVectors/runtimes/go/TestsFromDafny-go/go.sum b/TestVectors/runtimes/go/TestsFromDafny-go/go.sum index 7391db490..103263514 100644 --- a/TestVectors/runtimes/go/TestsFromDafny-go/go.sum +++ b/TestVectors/runtimes/go/TestsFromDafny-go/go.sum @@ -30,8 +30,8 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.33.8 h1:pqEJQtlKWvnv3B6VRt60ZmsHy3So github.com/aws/aws-sdk-go-v2/service/sts v1.33.8/go.mod h1:f6vjfZER1M17Fokn0IzssOTMT2N8ZSq+7jnNF0tArvw= github.com/aws/smithy-go v1.22.1 h1:/HPHZQ0g7f4eUeK6HKglFz8uwVfZKgoI25rb/J+dnro= github.com/aws/smithy-go v1.22.1/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1 h1:tTQ9M9HCUaf2SXqutj2vmMqJKJpefWMSqx1niqTqi8M= -github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.1/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2 h1:Q1BMAsz2goAaVznYICm2PRfjjFz5HM8ikOM6Jxqfd3M= +github.com/dafny-lang/DafnyRuntimeGo/v4 v4.11.2/go.mod h1:l2Tm4N2DKuq3ljONC2vOATeM9PUpXbIc8SgXdwwqEto= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= From f830a46207cd280cad5a3a7ceda3dd389d5b6142 Mon Sep 17 00:00:00 2001 From: Shubham Chaturvedi Date: Tue, 28 Oct 2025 16:47:14 -0700 Subject: [PATCH 6/7] chore: update mpl --- mpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpl b/mpl index 32f706745..1ac31b6ed 160000 --- a/mpl +++ b/mpl @@ -1 +1 @@ -Subproject commit 32f706745bbdcca053a5553f25f14f4ccb116922 +Subproject commit 1ac31b6ed320cff83cb9374230d4613651423e2a From 00443df81ae91a02cf62243371485cfe9b598b9b Mon Sep 17 00:00:00 2001 From: Shubham Chaturvedi Date: Tue, 28 Oct 2025 17:09:24 -0700 Subject: [PATCH 7/7] chore: fix CI --- .../install_smithy_dafny_codegen_dependencies/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/install_smithy_dafny_codegen_dependencies/action.yml b/.github/actions/install_smithy_dafny_codegen_dependencies/action.yml index 95f586fc3..f60407b50 100644 --- a/.github/actions/install_smithy_dafny_codegen_dependencies/action.yml +++ b/.github/actions/install_smithy_dafny_codegen_dependencies/action.yml @@ -22,7 +22,7 @@ runs: - name: Setup Python, black, and docformatter for code formatting uses: actions/setup-python@v6 with: - python-version: ${{ matrix.python-version }} + python-version: 3.11 architecture: x64 - shell: bash run: |