diff --git a/.github/workflows/flamegraph_reporter.yaml b/.github/workflows/flamegraph_reporter.yaml index 8bd85b7dc1..99169f0417 100644 --- a/.github/workflows/flamegraph_reporter.yaml +++ b/.github/workflows/flamegraph_reporter.yaml @@ -181,6 +181,9 @@ jobs: - name: Update static page locally with new data shell: bash run: | + sudo apt install -y librsvg2-bin + rsvg-convert -w 1024 -h 1024 flamegraph_ethrex.svg -o pages/flamegraph_ethrex.png + rsvg-convert -w 1024 -h 1024 flamegraph_reth.svg -o pages/flamegraph_reth.png cp -r flamegraph_ethrex.svg pages/ cp -r flamegraph_reth.svg pages/ sed -i "s/{{LAST_UPDATE}}/$(date +'%Y-%m-%dT%H:%M:%S')/g" pages/index.html diff --git a/pages/index.html b/pages/index.html index 3301a14f14..09eb11d621 100644 --- a/pages/index.html +++ b/pages/index.html @@ -25,20 +25,19 @@

Ethrex Flamegraph Comparison

Ethrex

Download + download="flamegraph_ethrex.svg/flamegraph_ethrex.svg">Download interactive SVG

Time elapsed: {{ETHREX_TIME}}

- +

Reth

- Download + Download + interactive SVG

Time elapsed: {{RETH_TIME}}

- +
diff --git a/pages/style.css b/pages/style.css index 91dba15aaa..83085aaa11 100644 --- a/pages/style.css +++ b/pages/style.css @@ -48,8 +48,6 @@ h1 { img { width: 80%; height: auto; - max-width: 200px; - max-height: 150px; } h2 {