X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=d5f5065df3d1040a10965954499fa38a9679ddea;hb=aac8863d208eadcb0ecb33dc44d045c26f5a444f;hp=670c50f3746748811de096b8401196410bebdaa2;hpb=f45a3823ad04902b4c446c7c7de55ca183041953;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 670c50f3..d5f5065d 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -24,7 +24,7 @@ +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:71
  • @@ -32,32 +32,52 @@

    Properties

    -
    - -
    medRunTime?: boolean
    -

    Use tasks median runtime instead of average runtime.

    +
    + + +

    Event loop utilization options.

    -

    Default Value

    false

    +

    Default Value

    { median: false }

    -
    - -
    medWaitTime?: boolean
    -

    Use tasks median wait time instead of average runtime.

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:93
  • +
    + +
    measurement?: "runTime" | "waitTime" | "elu"
    +

    Measurement to use for worker choice strategy.

    +
    +
    +
    + + +

    Runtime options.

    +
    +
    +

    Default Value

    { median: false }

    +
    +
    + + +

    Wait time options.

    -

    Default Value

    false

    +

    Default Value

    { median: false }

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:87
  • weights?: Record<number, number>
    @@ -68,7 +88,7 @@ Weight is the tasks maximum average or median runtime in milliseconds.

    Default Value

    Computed worker weights automatically given the CPU performance.

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:100