Enumeration

enum ExplicitGcType

public enum ExplicitGcType <: ToString {
    Disabled |
    Heavy |
    Light
}

Description: Specifies explicitGC configuration parameters for the @Configure macro. Indicates three GC execution methods.

Parent Type:

Disabled

Disabled

Description: Indicates that GC is not explicitly called by the framework.

Heavy

Heavy

Description: Indicates that std.runtime.GC(heavy: true) is explicitly called by the framework during the execution of performance tests.

Light

Light

Description: Indicates that std.runtime.GC(heavy: false) is explicitly called by the framework during the execution of the benchmark function. This is the default setting.

func toString()

public override func toString(): String

Description: Returns a string representing the three GC execution methods.

Returns:

  • String: string representing the three GC execution methods

enum TimeUnit

public enum TimeUnit {
    | Micros
    | Millis
    | Nanos
    | Seconds
}

Description: Specifies the time unit that can be used in the TimeNow constructor.

Micros

Micros

Description: Specifies the unit microsecond.

Millis

Millis

Description: Specifies the unit millisecond.

Nanos

Nanos

Description: Specifies the unit nanosecond.

Seconds

Seconds

Description: Specifies the unit second.