Skip to content

Commit

Permalink
Update benchmark.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelDkhn committed Jan 2, 2025
1 parent c413d1d commit 63d6a7e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:
mkdir -p criterion/summary dev/bench/data
# Create root index.html that redirects to criterion/summary/
cat > index.html << 'EOL'
cat > index.html << 'ENDOFFILE'
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0;url=criterion/summary/">
</head>
</html>
EOL
ENDOFFILE
git add index.html
git commit -m "Initialize gh-pages branch"
git push https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git gh-pages
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
mkdir -p target/criterion/summary
# Create the summary page
cat > target/criterion/summary/index.html << 'EOL'
cat > target/criterion/summary/index.html << 'ENDOFFILE'
<!DOCTYPE html>
<html>
<head>
Expand Down Expand Up @@ -176,32 +176,32 @@ jobs:
<h3>Trace Generation</h3>
<a href="../../TensorAdd/trace_generation/report/">View Results</a>
<div class="benchmark-details">
Test cases: 2x2, 50x50, 100x100 matrices
Test cases: 2x2, 50x50, 100x100 matrices
</div>
</div>
<div class="phase-card">
<h3>Proving</h3>
<a href="../../TensorAdd/proving/report/">View Results</a>
<div class="benchmark-details">
STARK proof generation time
STARK proof generation time
</div>
</div>
<div class="phase-card">
<h3>Verification</h3>
<a href="../../TensorAdd/verification/report/">View Results</a>
<div class="benchmark-details">
STARK proof verification time
STARK proof verification time
</div>
</div>
</div>
</div>
</div>
</body>
</html>
EOL
ENDOFFILE
# Create dummy JSON data for github-action-benchmark
cat > benchmark_output.json << EOF
cat > benchmark_output.json << ENDOFFILE
[
{
"name": "TensorAdd/trace_generation/2x2_+_2x2",
Expand All @@ -222,7 +222,7 @@ jobs:
"unit": "ns"
}
]
EOF
ENDOFFILE
- name: Store benchmark results
uses: benchmark-action/github-action-benchmark@v1
Expand Down

0 comments on commit 63d6a7e

Please sign in to comment.