Skip to content

Commit 61dba28

Browse files
morealyouknowone
authored andcommitted
Render criterion metadata
1 parent b671113 commit 61dba28

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

_layouts/benchmarks.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@
2222
{{ content }}
2323
</div>
2424

25+
{% assign metadata = site.data["criterion-metadata"] %}
26+
<div class="text-muted mt-2">
27+
<small>
28+
Generated: {{ metadata.generated_at | date: "%Y-%m-%d %H:%M" }} UTC
29+
| RustPython commit: <a href="https://github.com/RustPython/RustPython/commit/{{ metadata.rustpython_commit }}">{{ metadata.rustpython_commit | truncate: 7, "" }}</a>
30+
</small>
31+
</div>
32+
2533
{% assign folders = "" | split: ", " %}
2634
{% for folder in site.static_files %}
2735
{% if folder.path contains 'criterion/' %}

0 commit comments

Comments
 (0)