X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=8f9fc1474f41397ffde45c95680c50b77cc5551b;hb=2a6631992868d900762f62e4c228dce4e4ee549a;hp=daa1a5291a399e2ac2ac664214a71605f0c0b641;hpb=8d20e449d72975f6add9177d1097d5a204d14f71;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index daa1a529..8f9fc147 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,34 +32,54 @@

    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>

    Worker weights to use for weighted round robin worker selection strategy. Weight is the tasks maximum average or median runtime in milliseconds.

    @@ -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
  • +
  • WorkerTypes
  • +
  • availableParallelism
  • Generated using TypeDoc

    \ No newline at end of file