Skip to content

Commit 588da65

Browse files
authored
fix(core): flamegraphs width (#2566)
**Motivation** <!-- Why does this pull request exist? What are its goals? --> The flamegraphs are displayed half-sized on GH Pages. **Description** <!-- A clear and concise general description of the changes this PR introduces --> In the CI, remove the line that cause the problem. Added Zed editor config directory to `.gitignore` btw. <!-- Link to issues: Resolves #111, Resolves #222 -->
1 parent 3226f66 commit 588da65

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/main_flamegraph_report.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,9 @@ jobs:
429429
cp -r flamegraph_ethrex.svg flamegraphs/
430430
cp -r flamegraph_reth.svg flamegraphs/
431431
432+
# Fix flamegraphs width
433+
sed -i 's|frames.attributes.width.value = |// |' flamegraphs/flamegraph_*.svg
434+
432435
# ETHREX HTML
433436
sed -i "s/{{LAST_UPDATE}}/$(TZ='Etc/GMT+3' date +'%Y-%m-%dT%H:%M:%S')/g" templates/index.html
434437
sed -i "s/{{ETHREX_TIME}}/${{ needs.flamegraph-ethrex.outputs.time }}/g" templates/index.html

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ ethereum-package/
2323
**/.DS_Store
2424
**/.vscode
2525
**/.idea
26+
**/.zed
2627

2728

2829
# EVM Mlir stuff

0 commit comments

Comments
 (0)