FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
rustpython.github.io/_layouts/benchmarks.html at master · RustPython/rustpython.github.io · GitHub
RustPython
rustpython.github.io
Repository navigation
Code
Issues
8
(8)
Pull requests
4
(4)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
rustpython.github.io
/
_layouts
/
benchmarks.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
76 lines (71 loc) · 2.94 KB
Breadcrumbs
rustpython.github.io
/
_layouts
/
benchmarks.html
Copy path
File metadata and controls
76 lines (71 loc) · 2.94 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
layout: default
---
<
section
>
<
div
class
="
w-80 m-auto mt-2
"
>
<
div
class
="
d-md-flex
"
>
<
div
class
="
d-sm-none
"
>
<
img
class
="
logo
"
src
="
{{site.baseurl}}/assets/img/rust-python-logo.svg
"
alt
="
RustPython Logo
"
>
</
div
>
<
div
class
="
pl-md-2
"
>
<
div
class
="
section-title
"
>
RustPython
</
div
>
<
div
class
="
title
"
>
{{ page.title | escape }}
</
div
>
<
small
>
{{ site.benchmarks-intro }}
</
small
>
</
div
>
</
div
>
</
div
>
</
section
>
<
div
class
="
w-80 m-auto mt-2
"
>
<
div
class
="
benchmarks-intro
"
>
{{ content }}
</
div
>
{% assign metadata = site.data["criterion-metadata"] %}
<
div
class
="
text-muted mt-2
"
>
<
small
>
Generated: {{ metadata.generated_at | date: "%Y-%m-%d %H:%M" }} UTC
| RustPython commit:
<
a
href
="
https://github.com/RustPython/RustPython/commit/{{ metadata.rustpython_commit }}
"
>
{{ metadata.rustpython_commit | truncate: 7, "" }}
</
a
>
</
small
>
</
div
>
{% assign folders = "" | split: ", " %}
{% for folder in site.static_files %}
{% if folder.path contains 'criterion/' %}
{% unless folder.path contains 'criterion/data/' %}
{% assign temp = folder.path | split: 'criterion/' %}
{% assign directoryName = temp[1] | split: '/' | first %}
{% assign pathName = 'criterion/' | append: directoryName %}
{% assign pathNameArray = pathName | split: ", " %}
{% assign folders = folders | concat: pathNameArray %}
{% endunless %}
{% endif %}
{% endfor %}
{% comment %}folders = ['criterion/execution', 'criterion/microbenchmarks', ...]{% endcomment %}
{% assign folders = folders | uniq %}
{% if folders.size == 0 %}
<
p
style
="
color: red;
"
>
There are no benchmarks to be displayed.
</
p
>
<
p
>
This shouldn't be happening, please contact one of the maintainers
through
<
a
href
="
https://discord.com/invite/vru8NypEhv
"
>
Discord
</
a
>
to report this problem.
</
p
>
{% else %}
<
ul
class
="
tab
"
data-tab
="
benchmarks
"
>
{% for folder in folders %}
<
li
{%
if
forloop.index
==
1
%}
class
="
active
"
{%
endif
%}
style
="
font-weight: bold;
"
>
<
a
href
=""
>
{{ folder | split: '/' | last }}
</
a
>
</
li
>
{% endfor%}
</
ul
>
<
ul
class
="
tab-content
"
id
="
benchmarks
"
>
{% for folder in folders %}
<
li
{%
if
forloop.index
==
1
%}
class
="
active
"
{%
endif
%}
>
<
br
>
{% for image in site.static_files %}
{% if image.path contains folder %}
<
figure
>
<
img
src
="
{{ site.baseurl }}{{ image.path }}
"
alt
="
image
"
/>
<
figcaption
>
{{ image.name }}
</
figcaption
>
</
figure
>
{% endif %}
{% endfor%}
</
li
>
{% endfor%}
</
ul
>
{% endif %}
</
div
>
Back
|
FazBrowse Home
|
New Git URL