Skip to content

Commit

Permalink
rerun auth method analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Jul 12, 2024
1 parent 66ddd96 commit c228a84
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions tests/performance/test_auth_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@
|---------------|--------------|-------------------|--------------------------------|----------|
| User Password | 1,000 | False | - | 234.09s |
| User Password | 1,000 | True | - | 78.34s |
| Key Pair | 1,000 | False | False | 271.47s | x
| Key Pair | 1,000 | False | True | 278.65s |
| Key Pair | 1,000 | True | False | 63.69s | x
| Key Pair | 1,000 | True | True | 73.14s |
| Key Pair | 1,000 | False | False | 271.47s |
| Key Pair | 1,000 | False | True | 275.73s |
| Key Pair | 1,000 | True | False | 63.69s |
| Key Pair | 1,000 | True | True | 73.45s |
Notes:
- run locally on MacOS, single threaded
- `unsafe_skip_rsa_key_validation` only applies to the Key Pair auth method
- `unsafe_skip_rsa_key_validation=True` was tested by updating the relevant `cryptography` calls directly as it is not a user configuration
- since the models are all views, time differences should be viewed as absolute differences, e.g.:
- this: (271.47s - 63.69s) / 1,000 models = 208ms improvement
- NOT this: 1 - (63.69s / 271.47s) = 76.7% improvement
"""

from datetime import datetime
Expand Down

0 comments on commit c228a84

Please sign in to comment.