platform
platform copied to clipboard
feat(config): add standard assertions to TDFConfig
Proposed Changes
Checklist
- [ ] I have added or updated unit tests
- [ ] I have added or updated integration tests (if appropriate)
- [ ] I have added or updated documentation
Testing Instructions
Benchmark results, click to expand
Benchmark Results:
| Metric | Value |
|---|---|
| Approved Decision Requests | 5000 |
| Denied Decision Requests | 0 |
| Total Time | 537.448323ms |
Bulk Benchmark Results
| Metric | Value |
|---|---|
| Total Decrypts | 100 |
| Successful Decrypts | 100 |
| Failed Decrypts | 0 |
| Total Time | 360.555317ms |
| Throughput | 277.35 requests/second |
TDF3 Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 5000 |
| Failed Requests | 0 |
| Concurrent Requests | 50 |
| Total Time | 1m15.129598707s |
| Average Latency | 749.629856ms |
| Throughput | 66.55 requests/second |
NANOTDF Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 4949 |
| Failed Requests | 51 |
| Concurrent Requests | 50 |
| Total Time | 1m6.047721295s |
| Average Latency | 655.455536ms |
| Throughput | 74.93 requests/second |
Error Summary:
| Error Message | Occurrences |
|---|---|
| ReadNanoTDF error: getNanoRewrapKey: rewrapError: internal: internal error rpc error: code = Internal desc = could not perform access |
51 occurrences |
Standard Benchmark Metrics Skipped or Failed
Benchmark results, click to expand
Benchmark authorization.GetDecisions Results:
| Metric | Value |
|---|---|
| Approved Decision Requests | 5000 |
| Denied Decision Requests | 0 |
| Total Time | 462.88311ms |
Benchmark authorization.v2.GetMultiResourceDecision Results:
| Metric | Value |
|---|---|
| Approved Decision Requests | 5000 |
| Denied Decision Requests | 0 |
| Total Time | 259.230919ms |
Bulk Benchmark Results
| Metric | Value |
|---|---|
| Total Decrypts | 100 |
| Successful Decrypts | 100 |
| Failed Decrypts | 0 |
| Total Time | 363.949927ms |
| Throughput | 274.76 requests/second |
TDF3 Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 5000 |
| Failed Requests | 0 |
| Concurrent Requests | 50 |
| Total Time | 56.481552601s |
| Average Latency | 561.136183ms |
| Throughput | 88.52 requests/second |
NANOTDF Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 4944 |
| Failed Requests | 56 |
| Concurrent Requests | 50 |
| Total Time | 46.090789405s |
| Average Latency | 454.359811ms |
| Throughput | 107.27 requests/second |
Error Summary:
| Error Message | Occurrences |
|---|---|
| ReadNanoTDF error: getNanoRewrapKey: rewrapError: internal: internal error rpc error: code = Internal desc = could not perform access |
56 occurrences |
Standard Benchmark Metrics Skipped or Failed
Benchmark results, click to expand
Benchmark authorization.GetDecisions Results:
| Metric | Value |
|---|---|
| Approved Decision Requests | 5000 |
| Denied Decision Requests | 0 |
| Total Time | 445.553385ms |
Benchmark authorization.v2.GetMultiResourceDecision Results:
| Metric | Value |
|---|---|
| Approved Decision Requests | 5000 |
| Denied Decision Requests | 0 |
| Total Time | 284.811438ms |
Bulk Benchmark Results
| Metric | Value |
|---|---|
| Total Decrypts | 100 |
| Successful Decrypts | 100 |
| Failed Decrypts | 0 |
| Total Time | 347.729173ms |
| Throughput | 287.58 requests/second |
TDF3 Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 5000 |
| Failed Requests | 0 |
| Concurrent Requests | 50 |
| Total Time | 52.48727571s |
| Average Latency | 522.492738ms |
| Throughput | 95.26 requests/second |
NANOTDF Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 4944 |
| Failed Requests | 56 |
| Concurrent Requests | 50 |
| Total Time | 43.160882381s |
| Average Latency | 425.765454ms |
| Throughput | 114.55 requests/second |
Error Summary:
| Error Message | Occurrences |
|---|---|
| ReadNanoTDF error: getNanoRewrapKey: rewrapError: internal: internal error rpc error: code = Internal desc = could not perform access |
56 occurrences |
Standard Benchmark Metrics Skipped or Failed
/gemini review
Benchmark results, click to expand
Benchmark authorization.GetDecisions Results:
| Metric | Value |
|---|---|
| Approved Decision Requests | 5000 |
| Denied Decision Requests | 0 |
| Total Time | 458.811069ms |
Benchmark authorization.v2.GetMultiResourceDecision Results:
| Metric | Value |
|---|---|
| Approved Decision Requests | 5000 |
| Denied Decision Requests | 0 |
| Total Time | 275.522202ms |
Bulk Benchmark Results
| Metric | Value |
|---|---|
| Total Decrypts | 100 |
| Successful Decrypts | 100 |
| Failed Decrypts | 0 |
| Total Time | 346.867422ms |
| Throughput | 288.29 requests/second |
TDF3 Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 5000 |
| Failed Requests | 0 |
| Concurrent Requests | 50 |
| Total Time | 55.528924925s |
| Average Latency | 552.869151ms |
| Throughput | 90.04 requests/second |
NANOTDF Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 4947 |
| Failed Requests | 53 |
| Concurrent Requests | 50 |
| Total Time | 44.76857725s |
| Average Latency | 441.444462ms |
| Throughput | 110.50 requests/second |
Error Summary:
| Error Message | Occurrences |
|---|---|
| ReadNanoTDF error: getNanoRewrapKey: rewrapError: internal: internal error rpc error: code = Internal desc = could not perform access |
53 occurrences |
Standard Benchmark Metrics Skipped or Failed
Benchmark results, click to expand
Benchmark authorization.GetDecisions Results:
| Metric | Value |
|---|---|
| Approved Decision Requests | 5000 |
| Denied Decision Requests | 0 |
| Total Time | 462.642092ms |
Benchmark authorization.v2.GetMultiResourceDecision Results:
| Metric | Value |
|---|---|
| Approved Decision Requests | 5000 |
| Denied Decision Requests | 0 |
| Total Time | 284.743001ms |
Bulk Benchmark Results
| Metric | Value |
|---|---|
| Total Decrypts | 100 |
| Successful Decrypts | 100 |
| Failed Decrypts | 0 |
| Total Time | 362.433798ms |
| Throughput | 275.91 requests/second |
TDF3 Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 5000 |
| Failed Requests | 0 |
| Concurrent Requests | 50 |
| Total Time | 55.895562172s |
| Average Latency | 556.397649ms |
| Throughput | 89.45 requests/second |
NANOTDF Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 4946 |
| Failed Requests | 54 |
| Concurrent Requests | 50 |
| Total Time | 46.423868876s |
| Average Latency | 458.946927ms |
| Throughput | 106.54 requests/second |
Error Summary:
| Error Message | Occurrences |
|---|---|
| ReadNanoTDF error: getNanoRewrapKey: rewrapError: internal: internal error rpc error: code = Internal desc = could not perform access |
54 occurrences |
Standard Benchmark Metrics Skipped or Failed
Benchmark results, click to expand
Benchmark authorization.GetDecisions Results:
| Metric | Value |
|---|---|
| Approved Decision Requests | 5000 |
| Denied Decision Requests | 0 |
| Total Time | 482.403621ms |
Benchmark authorization.v2.GetMultiResourceDecision Results:
| Metric | Value |
|---|---|
| Approved Decision Requests | 5000 |
| Denied Decision Requests | 0 |
| Total Time | 285.476429ms |
Bulk Benchmark Results
| Metric | Value |
|---|---|
| Total Decrypts | 100 |
| Successful Decrypts | 100 |
| Failed Decrypts | 0 |
| Total Time | 342.99996ms |
| Throughput | 291.55 requests/second |
TDF3 Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 5000 |
| Failed Requests | 0 |
| Concurrent Requests | 50 |
| Total Time | 53.866475723s |
| Average Latency | 536.558947ms |
| Throughput | 92.82 requests/second |
NANOTDF Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 4944 |
| Failed Requests | 56 |
| Concurrent Requests | 50 |
| Total Time | 45.288334489s |
| Average Latency | 447.998883ms |
| Throughput | 109.17 requests/second |
Error Summary:
| Error Message | Occurrences |
|---|---|
| ReadNanoTDF error: getNanoRewrapKey: rewrapError: internal: internal error rpc error: code = Internal desc = could not perform access |
56 occurrences |
Standard Benchmark Metrics Skipped or Failed
Benchmark results, click to expand
Benchmark authorization.GetDecisions Results:
| Metric | Value |
|---|---|
| Approved Decision Requests | 5000 |
| Denied Decision Requests | 0 |
| Total Time | 471.572077ms |
Benchmark authorization.v2.GetMultiResourceDecision Results:
| Metric | Value |
|---|---|
| Approved Decision Requests | 5000 |
| Denied Decision Requests | 0 |
| Total Time | 280.628679ms |
Bulk Benchmark Results
| Metric | Value |
|---|---|
| Total Decrypts | 100 |
| Successful Decrypts | 100 |
| Failed Decrypts | 0 |
| Total Time | 410.785564ms |
| Throughput | 243.44 requests/second |
TDF3 Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 5000 |
| Failed Requests | 0 |
| Concurrent Requests | 50 |
| Total Time | 55.506330769s |
| Average Latency | 552.453333ms |
| Throughput | 90.08 requests/second |
NANOTDF Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 4944 |
| Failed Requests | 56 |
| Concurrent Requests | 50 |
| Total Time | 45.362769873s |
| Average Latency | 447.873339ms |
| Throughput | 108.99 requests/second |
Error Summary:
| Error Message | Occurrences |
|---|---|
| ReadNanoTDF error: getNanoRewrapKey: rewrapError: internal: internal error rpc error: code = Internal desc = could not perform access |
56 occurrences |
Standard Benchmark Metrics Skipped or Failed
Benchmark results, click to expand
Benchmark authorization.GetDecisions Results:
| Metric | Value |
|---|---|
| Approved Decision Requests | 5000 |
| Denied Decision Requests | 0 |
| Total Time | 443.543189ms |
Benchmark authorization.v2.GetMultiResourceDecision Results:
| Metric | Value |
|---|---|
| Approved Decision Requests | 5000 |
| Denied Decision Requests | 0 |
| Total Time | 282.151588ms |
Bulk Benchmark Results
| Metric | Value |
|---|---|
| Total Decrypts | 100 |
| Successful Decrypts | 100 |
| Failed Decrypts | 0 |
| Total Time | 341.742485ms |
| Throughput | 292.62 requests/second |
TDF3 Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 5000 |
| Failed Requests | 0 |
| Concurrent Requests | 50 |
| Total Time | 52.551766061s |
| Average Latency | 522.400944ms |
| Throughput | 95.14 requests/second |
NANOTDF Benchmark Results:
| Metric | Value |
|---|---|
| Total Requests | 5000 |
| Successful Requests | 4947 |
| Failed Requests | 53 |
| Concurrent Requests | 50 |
| Total Time | 43.421991557s |
| Average Latency | 429.701952ms |
| Throughput | 113.93 requests/second |
Error Summary:
| Error Message | Occurrences |
|---|---|
| ReadNanoTDF error: getNanoRewrapKey: rewrapError: internal: internal error rpc error: code = Internal desc = could not perform access |
53 occurrences |
Standard Benchmark Metrics Skipped or Failed
reopened under https://github.com/opentdf/platform/pull/2446