ci-helper.js — astro Source File
Architecture documentation for ci-helper.js, a javascript file in the astro codebase.
Entity Profile
Source Code
// This script helps extract the benchmark logs that are between the `==========` lines.
// They are a convention defined in the `./bench/_template.js` file, which are used to log
// out with the `!bench` command. See `/.github/workflows/benchmark.yml` to see how it's used.
const benchLogs = process.argv[2];
const resultRegex = /==========(.*?)==========/gs;
let processedLog = '';
let m;
while ((m = resultRegex.exec(benchLogs))) {
processedLog += m[1] + '\n';
}
console.log(processedLog);
Source
Frequently Asked Questions
What does ci-helper.js do?
ci-helper.js is a source file in the astro codebase, written in javascript.
Where is ci-helper.js in the architecture?
ci-helper.js is located at benchmark/ci-helper.js (directory: benchmark).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free