Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put ruby commit header at the top of the details page #278

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions site/_layouts/benchmark_details.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
urls:
yjit: https://github.com/Shopify/yjit
yjit_bench: https://github.com/Shopify/yjit-bench
ruby: https://github.com/ruby/ruby
---
<!DOCTYPE html>
<!-- Copied from Slate default and modified -->
<html lang="en-US">
Expand Down Expand Up @@ -51,6 +57,15 @@
<!-- Content specific to benchmark details -->
<h2>Details for Benchmarks at <%= page.date_str %> <%= page.time_str %></h2>

<p>
<a href="<%= urls[:yjit] %>">YJIT</a>
metrics from the <a href="<%= urls[:yjit_bench] %>">yjit-bench suite</a>
<% if page.yjit_commit %>
using Ruby
<a href="<%= urls[:ruby] %>/commit/<%= page.yjit_commit %>"><%= page.yjit_commit[0..10] %></a>
<% end %>
</p>

<div><%= include page.reports[:blog_speed_headline_html] %></div>

<h2 id="headline-speed-graph">Performance on Headline Benchmarks</h2>
Expand Down
Loading