Conversation
|
I wonder if I can make git output the day + hour itself so I can avoid doing 40K date invokes... |
makes it *MUCH* faster Thanks to Jyrki @nilsding@pounced-on.me
You could use: |
I want them in UTC, so I ended up with:
|
|
This actually uses the time when the commit was authored, not committed. I should probably clarify that somehow in the name... |
There was a problem hiding this comment.
Pull request overview
Adds a new “commit week hour” (UTC weekday × hour) heatmap graph to the stats dashboard, including CSV generation and build wiring so it can be produced alongside existing graphs.
Changes:
- Introduces
heatmap-weekhour.plto compute weekday/hour buckets and emit a leveled CSV. - Introduces
heatmap-weekhour.plotto render the CSV as a GitHub-style green heatmap. - Wires the new SVG into the build (
Makefile) and dashboard listing (all.txt).
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| heatmap-weekhour.plot | New gnuplot script to render the weekday/hour heatmap SVG. |
| heatmap-weekhour.pl | New Perl generator that buckets commits by UTC weekday/hour and computes percentile-based levels. |
| all.txt | Adds the new heatmap to the dashboard list; adjusts ordering around the release heatmap entry. |
| Makefile | Adds build targets for the new heatmap SVG/CSV; switches releasedays CSV dependency to the existing .pl generator. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
commits authored at this UTC week hour |
Below P10 shows as nothing, the other limits are P20. P40, P60 and P80 making 5 shades of green.
Preview: