Welvet examples

59. stub/pipeline

Open original example β†—Recorded results Β· not a live execution

Part: VIII Β· Stubs
Package: github.com/openfluke/welvet/stub/pipeline
Status: partial β€” 🚧

When

Scaffold / experimental stub stub/pipeline (may be partial).

Where

import "github.com/openfluke/welvet/stub/pipeline"

cd 59-stub-pipeline && source ../env.sh && go run .

Why

Decoder wavefront stats helpers β€” not a full Lucy-style pipeline runner yet.

What

PipelineForwardStats, TokenTimelineSummary.

Sample output (captured)

{PipelineTicks:0 SubLayerOps:0 MaxActiveJobs:0 MaxBlockSpread:0 MaxDistinctBlocks:0 MaxPendingTokens:0 StallFallback:false TokenDoneTick:[]}

Live capture from go run ./cmd/runall on local ../../welvet (exit 0).

Source

Copied from the Welvet feature book examples (openfluke.github.io/welvet/examples/59-stub-pipeline).

main.go

Download source ↓
package main

import (
	"fmt"

	"github.com/openfluke/welvet/stub/pipeline"
)

func main() {
	var s pipeline.PipelineForwardStats
	fmt.Printf("%+v\n", s)
}