@playerthree/bench/source-digest

Benchmark source digest: one digest over the SHA-256 of every file under the given root-relative paths.

Interfaces

BenchmarkSources

Defined in: packages/bench/src/source-digest.ts:8

paths are relative to root; directories are walked, skipping node_modules, .git, dist and .cache; symlinks are refused.

Properties

PropertyTypeDefined in
pathsreadonly string[]packages/bench/src/source-digest.ts:8
rootstringpackages/bench/src/source-digest.ts:8

Functions

benchmarkSourceDigest()

function benchmarkSourceDigest(input): Promise<string>;

Defined in: packages/bench/src/source-digest.ts:10

Hash actual source bytes (including dirty edits), never infer a clean build from a commit label.

Parameters

ParameterType
inputBenchmarkSources

Returns

Promise<string>