[MONGOCRYPT-589] Export mongocrypt_binary_t Created: 30/Aug/23 Updated: 28/Oct/23 Resolved: 12/Sep/23 |
|
| Status: | Closed |
| Project: | Libmongocrypt |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.9.0 |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Kevin Albertson | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Binding Changes: | Needed | ||||||||
| Description |
Scope
MotivationLanguages interfacing with libmongocrypt may observe slower throughput with frequent calls to C functions. Using the struct definition directly may improve performance for libmongocrypt operations. DRIVERS-2581 identifies a problematic workload: decrypting documents with 1500 encrypted values. Profiling showed mongocrypt_binary_data and mongocrypt_binary_len including significant samples. A prototype benchmark showed improvement by using the struct definition directly, rather than calling mongocrypt_binary_data and mongocrypt_binary_len:
|
| Comments |
| Comment by Githook User [ 12/Sep/23 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message:
|
| Comment by Cloud GitHub Webhooks [ 12/Sep/23 ] |
|
kevinAlbs merged a pull request (MONGOCRYPT-589 export `mongocrypt_binary_t`) into the following branch: |
| Comment by Githook User [ 05/Sep/23 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message:
Benchmark decrypts a document with 1500 encrypted fields.
Intended to run in CI. May be run locally.
|
| Comment by Cloud GitHub Webhooks [ 05/Sep/23 ] |
|
kevinAlbs merged a pull request (MONGOCRYPT-589 Add bulk decrypt benchmark with Java bindings) into the following branch: |