Skip to main content
Log in

Mojo struct

BenchId

struct BenchId

Defines a benchmark Id struct to identify and represent a particular benchmark execution.

Fields

  • func_name (String): The target function name.
  • input_id (Optional[String]): The target function input id phrase.

Implemented traits

AnyType, Copyable, Movable, UnknownDestructibility

Methods

__init__

__init__(out self, func_name: String, input_id: String)

Constructs a Benchmark Id object from input function name and Id phrase.

Args:

  • func_name (String): The target function name.
  • input_id (String): The target function input id phrase.

__init__(out self, func_name: String)

Constructs a Benchmark Id object from input function name.

Args:

  • func_name (String): The target function name.