Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Adds benchmark intro to _config file and updates the UI a bit
  • Loading branch information
theangryhobbit committed Apr 1, 2021
commit aaffc4c7981cd07b37adbee67bb7ec59aeaa0635
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ gitter: https://gitter.im/rustpython/Lobby
show_excerpts: true
contributor_excerpt: "" # TODO: write something here, goes right under "Contributors" heading
blog-intro: Create an issue if you see something wrong. Edit posts or create new ones via PR on <a target="_blank" href="https://github.com/RustPython/rustpython.github.io">github.com/RustPython/rustpython.github.io</a>
benchmarks-intro: More information about the benchmarks can be found on <a target="_blank" href="https://github.com/RustPython/RustPython">github.com/RustPython/RustPython</a>

navigation:
- title: Blog
Expand Down
4 changes: 2 additions & 2 deletions _layouts/benchmarks.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div class="benchmarks-intro">
{{ content }}
</div>

{% assign folders = "" | split: ", " %}
{% for folder in site.static_files %}
{% if folder.path contains 'criterion/' %}
Expand All @@ -40,7 +40,7 @@
{% else %}
<ul class="tab" data-tab="benchmarks">
{% for folder in folders %}
<li {% if forloop.index==1 %} class="active" {% endif %}>
<li {% if forloop.index==1 %} class="active" {% endif %} style="font-weight: bold;">
<a href="">{{ folder }}</a>
</li>
{% endfor%}
Expand Down
2 changes: 1 addition & 1 deletion assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ ul.list-inline {
line-height: 1.5em;
}

.blog-intro {
.blog-intro, .benchmarks-intro {
background-color: #f6f8fa;
padding-left: 2em;
padding-right: 2em;
Expand Down
2 changes: 0 additions & 2 deletions benchmarks.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@ title: Benchmarks
This page displays some benchmarks that determine the performance of RustPython.

Most of these benchmarks compare RustPython to CPython.

More information about the benchmarks can be found on [the RustPython GitHub repo](https://github.com/RustPython/RustPython/tree/master/benches).