Skip to content

Conversation

@qingyang-hu
Copy link
Collaborator

GODRIVER-3486

Summary

Support auto encryption in unified tests.

Background & Motivation

@mongodb-drivers-pr-bot
Copy link
Contributor

API Change Report

./v2/mongo/options

compatible changes

(*AutoEncryptionOptions).SetCredentialProviders: added
(*ClientEncryptionOptionsBuilder).SetCredentialProviders: added
AutoEncryptionOptions.CredentialProviders: added
ClientEncryptionOptions.CredentialProviders: added
Credential.AwsCredentialsProvider: added
Credentials: added
CredentialsProvider: added

./v2/x/mongo/driver

compatible changes

Cred.AwsCredentialsProvider: added

./v2/x/mongo/driver/auth

incompatible changes

MongoDBAWSAuthenticator: old is comparable, new is not

./v2/x/mongo/driver/mongocrypt/options

compatible changes

(*MongoCryptOptions).SetCredentialProviders: added
MongoCryptOptions.CredentialProviders: added

@mongodb-drivers-pr-bot
Copy link
Contributor

🧪 Performance Results

Commit SHA: f7ee544

The following benchmark tests for version 68ffd38cb849e300079eea4b had statistically significant changes (i.e., |z-score| > 1.96):

Benchmark Measurement % Change Patch Value Stable Region H-Score Z-Score
BenchmarkSingleRunCommand ops_per_second_max -8.9596 7886.4975 Avg: 8662.6348
Med: 8693.0820
Stdev: 264.2075
0.8334 -2.9376
BenchmarkSingleFindOneByID ns_per_op 6.4137 262585.0000 Avg: 246758.5882
Med: 244841.0000
Stdev: 7789.6205
0.7411 2.0317
BenchmarkSingleFindOneByID ops_per_second_med -6.2644 3901.6777 Avg: 4162.4297
Med: 4188.7448
Stdev: 122.3568
0.7574 -2.1311
BenchmarkSmallDocInsertOne ops_per_second_max -6.1718 5849.3215 Avg: 6234.0744
Med: 6237.7584
Stdev: 171.9235
0.7812 -2.2379
BenchmarkLargeDocInsertOne total_time_seconds 4.0710 1.2298 Avg: 1.1817
Med: 1.1813
Stdev: 0.0235
0.7309 2.0464
BenchmarkBSONDeepDocumentDecoding ops_per_second_med 2.7568 17154.4241 Avg: 16694.2022
Med: 16711.9281
Stdev: 231.3733
0.7821 1.9891
BenchmarkBSONDeepDocumentDecoding ops_per_second_max 2.6063 17708.5178 Avg: 17258.6987
Med: 17200.7500
Stdev: 201.4995
0.8159 2.2324
BenchmarkLargeDocInsertOne allocated_bytes_per_op -0.4806 5660.0000 Avg: 5687.3333
Med: 5687.0000
Stdev: 2.5166
0.9593 -10.8612
BenchmarkSmallDocInsertOne allocated_bytes_per_op -0.4454 5662.0000 Avg: 5687.3333
Med: 5688.0000
Stdev: 3.0551
0.9474 -8.2923

For a comprehensive view of all microbenchmark results for this PR's commit, please check out the Evergreen perf task for this patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants