(version: string, directory = releaseBenchmarkDir())
| 92 | |
| 93 | /** Return the committed benchmark path for one package version. */ |
| 94 | export 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. */ |
| 100 | export function findPreviousReleaseBenchmark(version: string, directory = releaseBenchmarkDir()) { |
no test coverage detected