X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=08e88ea0227b3e63f16d9479cef1c9b00a8fbe1a;hb=c914a50e9996ca3f869c130974bff87b117f70f5;hp=2f247dc3e3b1b6c5b64a1265d3e1af53ec3387d3;hpb=fddf9cc424b3ace38fd414899c666c76a03c3aff;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 2f247dc3..08e88ea0 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,4 +1,4 @@ -WorkerChoiceStrategyOptions | poolifier
+WorkerChoiceStrategyOptions | poolifier - v2.6.9
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • poolifier - v2.6.9
    @@ -24,7 +24,7 @@
    • WorkerChoiceStrategyOptions
    +
  • 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