MCPcopy Create free account
hub / github.com/modem-dev/hunk / releaseBenchmarkPath

Function releaseBenchmarkPath

scripts/compare-release-benchmarks.ts:94–97  ·  view source on GitHub ↗
(version: string, directory = releaseBenchmarkDir())

Source from the content-addressed store, hash-verified

92
93/** Return the committed benchmark path for one package version. */
94export function releaseBenchmarkPath(version: string, directory = releaseBenchmarkDir()) {
95 parseReleaseVersion(version);
96 return path.join(directory, `bench-${version}.json`);
97}
98
99/** Find the latest stable benchmark snapshot lower than the release candidate version. */
100export function findPreviousReleaseBenchmark(version: string, directory = releaseBenchmarkDir()) {

Callers 2

mainFunction · 0.85

Calls 2

releaseBenchmarkDirFunction · 0.85
parseReleaseVersionFunction · 0.85

Tested by

no test coverage detected