Zum Inhalt springen
Medium 1 für Eintrag Simple Benchmark

Beschreibung

  1. CalculateDelegateExecutionTime: Synchronously measures the execution time of a provided delegate, returning the time taken in a specified unit.
  2. CalculateDelegateTimeWithPrePostCallbacks: Measures the execution time of a delegate while also executing specified callbacks before and after the main delegate's execution.
  3. CalculateDelegateTimeAsync: Asynchronously calculates a delegate's execution time, using a callback to return the result, ensuring non-blocking operation.
  4. CalculateDelegateTimeAsyncWithPrePostCallbacks: Asynchronously measures a delegate's execution time with additional pre-execution and post-execution callbacks, providing the result through a specified callback.

Enthaltene Formate