Search Results for

    Show / Hide Table of Contents

    Delegate ProfilerLoggerDelegate

    A delegate to print the results of the Profiler to a output (e.g. file).

    Namespace: BionicCode.Utilities.Net
    Assembly: BionicCode.Utilities.Net.Common.dll
    Syntax
    public delegate void ProfilerLoggerDelegate(ProfilerBatchResult results, string preformattedOutput);
    Parameters
    Type Name Description
    ProfilerBatchResult results

    A ProfilerBatchResult object that holds the results of the benchmark run.

    String preformattedOutput

    The print-ready output of the bencmark results.
    Returns a default table of the following format:

              ╭───────────────┬────────────────────────────┬────────────────╮
              | Iteration #   │ Duration [ms]              │ Is cancelled   |
              ┝━━━━━━━━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━━━━━┥
              │ 1             │                     1.0512 │ False          |
              │ 2             │                     1.0020 │ False          │
              │ 3             │                     0.8732 │ False          │
              │ 4             │                     0.0258 │ True (ignored) │
              │ 5             │                     0.9943 │ False          │
    ╭═════════╧═══════════════╪════════════════════════════┼────────────────┤
    │ Total:    -             │                     3.9207 │                │
    │ Min:      3             │                     0.8732 │                │
    │ Max:      1             │                     1.0512 │                │
    │ Average:  -             │                     0.9802 │                │
    ╰─────────────────────────┴────────────────────────────┴────────────────╯

    Extension Methods

    HelperExtensionsCommon.ToDictionary(Object)
    HelperExtensionsCommon.ToFlatDictionary(Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX