https://github.com/hugomods/metrics-parser
A CLI tool that parses Hugo metrics, such as build speed.
https://github.com/hugomods/metrics-parser
Last synced: 18 days ago
JSON representation
A CLI tool that parses Hugo metrics, such as build speed.
- Host: GitHub
- URL: https://github.com/hugomods/metrics-parser
- Owner: hugomods
- License: mit
- Created: 2024-06-13T05:58:11.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-04-11T21:43:43.000Z (20 days ago)
- Last Synced: 2025-04-11T22:35:31.169Z (20 days ago)
- Language: TypeScript
- Homepage:
- Size: 470 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Hugo Metrics Parser
A CLI tool that parses Hugo metrics, such as build speed.
[](https://github.com/hugomods/metrics-parser/blob/main/LICENSE)
[](https://www.npmjs.com/package/@hugomods/metrics-parser)
[](https://www.npmjs.com/package/@hugomods/metrics-parser)## Installation
```sh
npm i -g @hugomods/metrics-parser
```## Usage
```sh
hugo | hugo-metrics-parser
...
2m24.831s in total
6.471781580946423 ms/page (22379 pages)
4.478416821273965 ms/page (32340 pages, including aliases)
4.459799846035412 ms/file (32475 files)
```## Colors
| Color | Description |
| ------ | --------------- |
| Green | speed <= `5ms` |
| Blue | speed <= `10ms` |
| Yellow | speed <= `20ms` |
| Red | speed > `20ms` |