Write microbenchmarks for the AuthSessionTokenManager

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Security 2024-08-05, Security 2024-08-19
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We will want to understand the overhead of validating and signing tokens through a microbenchmark. There should be three microbenchmarks:

      • Test the generation of tokens on the happy path, when a _signer already exists
      • Test the generation of tokens when we need to create a new _signer object.
      • Test the validation of tokens.

      We will use the `MockAuthSessionTokenManager` to isolate out the cost of token validation/generation, rather that measuring the cost of reading/writing to the db.

            Assignee:
            Unassigned
            Reporter:
            Erin McNulty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: