Skip to content

Commit

Permalink
Merge pull request #278 from Shopify/rwstauner/commit
Browse files Browse the repository at this point in the history
Put ruby commit header at the top of the details page
  • Loading branch information
rwstauner committed Jun 21, 2024
2 parents fde055e + 0f7f0c1 commit f79f9ac
Showing 1 changed file with 15 additions and 0 deletions.
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 <span class="timestamp"><%= page.date_str %> <%= page.time_str %></span></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

0 comments on commit f79f9ac

Please sign in to comment.