printResult() — astro Function Reference
Architecture documentation for the printResult() function in cli-startup.js from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 9201fa46_0fa8_5f5f_f6b4_91497e84705a["printResult()"] 4f5ebd66_3fdf_8047_4c83_d856ee583eeb["cli-startup.js"] 9201fa46_0fa8_5f5f_f6b4_91497e84705a -->|defined in| 4f5ebd66_3fdf_8047_4c83_d856ee583eeb ef4d7e54_ae69_2f6b_edc8_8cd7f39da8e4["run()"] ef4d7e54_ae69_2f6b_edc8_8cd7f39da8e4 -->|calls| 9201fa46_0fa8_5f5f_f6b4_91497e84705a style 9201fa46_0fa8_5f5f_f6b4_91497e84705a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
benchmark/bench/cli-startup.js lines 58–73
function printResult(result) {
return markdownTable(
[
['Command', 'Avg (ms)', 'Stdev (ms)', 'Max (ms)'],
...Object.entries(result).map(([command, { avg, stdev, max }]) => [
command,
avg.toFixed(2),
stdev.toFixed(2),
max.toFixed(2),
]),
],
{
align: ['l', 'r', 'r', 'r'],
},
);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does printResult() do?
printResult() is a function in the astro codebase, defined in benchmark/bench/cli-startup.js.
Where is printResult() defined?
printResult() is defined in benchmark/bench/cli-startup.js at line 58.
What calls printResult()?
printResult() is called by 1 function(s): run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free