terminalcost

package
v1.19.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 24 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TerminalCost

type TerminalCost struct {
	// contains filtered or unexported fields
}

TerminalCost bounds what a completed workflow costs to poke: every call a completed instance can still receive in bulk must be answered without reading its whole history from the store each time. Those reads run one after another under the actor lock, so their cost grows with the history and the number of calls, and the client's completion wait queues behind them.

It runs one daprd with WorkflowsFastPath off (the fast path arms no per-result wake-ups) on a fault store that counts and slows full loads. Signing follows the env.

func New

func New(t *testing.T) *TerminalCost

func (*TerminalCost) Cleanup

func (c *TerminalCost) Cleanup(t *testing.T)

func (*TerminalCost) Execute

func (c *TerminalCost) Execute(t *testing.T, ctx context.Context)

Execute runs every check, each as a subtest.

func (*TerminalCost) Run

func (c *TerminalCost) Run(t *testing.T, ctx context.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL