Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
9 changes: 7 additions & 2 deletions .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,17 @@ jobs:

./.github/scripts/run-example-benchmarks.sh ${{ runner.temp }}

- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "24"

- name: Build Report
run: |
cp -r ${{ runner.temp }}/output/ ./output/
pushd report
npm install
npm run build
corepack yarn install --immutable
corepack yarn build
popd

- name: Upload Output
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/nodejs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,21 @@ jobs:
working-directory: ./report
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
with:
egress-policy: audit

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Node.js
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "20"
node-version: "24"
cache: "yarn"
cache-dependency-path: "./report/yarn.lock"

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
run: yarn install --immutable
- name: Check formatting
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/public-benchmarks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,17 @@ jobs:
--reth-bin ${{ runner.temp }}/bin/reth \
--geth-bin ${{ runner.temp }}/bin/geth

- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "24"

- name: Build Report
run: |
cp -r ${{ runner.temp }}/output/ ./output/
pushd report
npm install
npm run build
corepack yarn install --immutable
corepack yarn build
popd

- name: Upload static files as artifact
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Public results are available at the following links:

- **Go:** Version 1.21 or later. Install from [go.dev](https://go.dev/dl/)
- **Foundry:** For smart contract compilation. See [installation guide](https://book.getfoundry.sh/getting-started/installation)
- **Node.js:** Version 18+ for the interactive dashboard. Install from [nodejs.org](https://nodejs.org/)
- **Node.js:** Version 24 LTS for the interactive dashboard. Install from [nodejs.org](https://nodejs.org/)

## Getting Started

Expand Down Expand Up @@ -123,11 +123,11 @@ To see available options:

```bash
cd report/
npm install
npm run dev
corepack yarn install --immutable
corepack yarn dev
```

Open your browser to the URL shown (typically `http://localhost:5173`).
Open your browser to the URL shown (typically `http://localhost:3000`).

## Available Benchmarks

Expand Down
2 changes: 1 addition & 1 deletion report/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"devDependencies": {
"@types/d3": "^7.4.3",
"@types/lodash": "^4.17.16",
"@types/node": "^20.11.24",
"@types/node": "^24.0.0",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.2",
"@typescript-eslint/eslint-plugin": "^8.30.1",
Expand Down
24 changes: 24 additions & 0 deletions report/src/filter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { BenchmarkRun } from "./types";
const sampleRuns: BenchmarkRun[] = [
{
sourceFile: "test1.json",
id: "test1",
createdAt: "",
testName: "A",
testDescription: "Desc A",
outputDir: "/tmp/a",
Expand All @@ -14,6 +16,8 @@ const sampleRuns: BenchmarkRun[] = [
},
{
sourceFile: "test2.json",
id: "test2",
createdAt: "",
testName: "B",
testDescription: "Desc B",
outputDir: "/tmp/b",
Expand All @@ -22,6 +26,8 @@ const sampleRuns: BenchmarkRun[] = [
},
{
sourceFile: "test3.json",
id: "test3",
createdAt: "",
testName: "C",
testDescription: "Desc C",
outputDir: "/tmp/c",
Expand All @@ -30,6 +36,8 @@ const sampleRuns: BenchmarkRun[] = [
},
{
sourceFile: "test4.json",
id: "test4",
createdAt: "",
testName: "D",
testDescription: "Desc D",
outputDir: "/tmp/d",
Expand All @@ -38,6 +46,8 @@ const sampleRuns: BenchmarkRun[] = [
},
{
sourceFile: "test5.json",
id: "test5",
createdAt: "",
testName: "E",
testDescription: "Desc E",
outputDir: "/tmp/e",
Expand Down Expand Up @@ -74,6 +84,7 @@ describe("BenchmarkVariables", () => {
const versionedRuns: BenchmarkRun[] = [
{
sourceFile: "v1-old.json",
id: "v1-old",
testName: "old v1",
testDescription: "",
outputDir: "/tmp/v1-old",
Expand All @@ -83,6 +94,7 @@ describe("BenchmarkVariables", () => {
},
{
sourceFile: "v2.json",
id: "v2",
testName: "v2",
testDescription: "",
outputDir: "/tmp/v2",
Expand All @@ -92,6 +104,7 @@ describe("BenchmarkVariables", () => {
},
{
sourceFile: "v1-latest.json",
id: "v1-latest",
testName: "latest v1",
testDescription: "",
outputDir: "/tmp/v1-latest",
Expand All @@ -101,6 +114,7 @@ describe("BenchmarkVariables", () => {
},
{
sourceFile: "unknown.json",
id: "unknown",
testName: "unknown",
testDescription: "",
outputDir: "/tmp/unknown",
Expand Down Expand Up @@ -178,6 +192,8 @@ describe("BenchmarkVariables", () => {
const singleVarRuns: BenchmarkRun[] = [
{
sourceFile: "f1",
id: "f1",
createdAt: "",
testName: "T1",
testDescription: "",
outputDir: "",
Expand All @@ -186,6 +202,8 @@ describe("BenchmarkVariables", () => {
},
{
sourceFile: "f2",
id: "f2",
createdAt: "",
testName: "T2",
testDescription: "",
outputDir: "",
Expand All @@ -211,6 +229,8 @@ describe("BenchmarkVariables", () => {
const sparseRuns: BenchmarkRun[] = [
{
sourceFile: "s1",
id: "s1",
createdAt: "",
testName: "S1",
testDescription: "",
outputDir: "",
Expand All @@ -219,6 +239,8 @@ describe("BenchmarkVariables", () => {
},
{
sourceFile: "s2",
id: "s2",
createdAt: "",
testName: "S2",
testDescription: "",
outputDir: "",
Expand All @@ -227,6 +249,8 @@ describe("BenchmarkVariables", () => {
},
{
sourceFile: "s3",
id: "s3",
createdAt: "",
testName: "S3",
testDescription: "",
outputDir: "",
Expand Down
50 changes: 0 additions & 50 deletions report/src/pages/BenchmarkLoadTestDetail.tsx

This file was deleted.

20 changes: 10 additions & 10 deletions report/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1884,12 +1884,12 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:^20.11.24":
version: 20.19.30
resolution: "@types/node@npm:20.19.30"
"@types/node@npm:^24.0.0":
version: 24.19.2
resolution: "@types/node@npm:24.19.2"
dependencies:
undici-types: "npm:~6.21.0"
checksum: 10c0/23dbea652727d947ea35fc1c4e8acb7e1c535e85f6c139c3a4697864a5af164655ce305ab0877ea4cca537deee0405bf56aeac714f236ae1a3dd0fa6b87cc860
undici-types: "npm:>=7.24.0 <7.24.7"
checksum: 10c0/b51a7f8854007ad579dffdd0633d8addbfeb2c97cceb380f2eba0ed163638ec52e17565385a6cc04d54ac4ff99c70c64aee68a4ca45b6128c035e828794e29c5
languageName: node
linkType: hard

Expand Down Expand Up @@ -5419,7 +5419,7 @@ __metadata:
"@tailwindcss/vite": "npm:^4.1.4"
"@types/d3": "npm:^7.4.3"
"@types/lodash": "npm:^4.17.16"
"@types/node": "npm:^20.11.24"
"@types/node": "npm:^24.0.0"
"@types/react": "npm:^19.1.0"
"@types/react-dom": "npm:^19.1.2"
"@typescript-eslint/eslint-plugin": "npm:^8.30.1"
Expand Down Expand Up @@ -6238,10 +6238,10 @@ __metadata:
languageName: node
linkType: hard

"undici-types@npm:~6.21.0":
version: 6.21.0
resolution: "undici-types@npm:6.21.0"
checksum: 10c0/c01ed51829b10aa72fc3ce64b747f8e74ae9b60eafa19a7b46ef624403508a54c526ffab06a14a26b3120d055e1104d7abe7c9017e83ced038ea5cf52f8d5e04
"undici-types@npm:>=7.24.0 <7.24.7":
version: 7.24.6
resolution: "undici-types@npm:7.24.6"
checksum: 10c0/d9cd8befb643ac904615c280a095ba4240531f6bb4a5e75a22a7483630ca8d3f1016d2ab6ace6ceda1f63b3a2db2fe037fafe121d6917a0187573aa548ff78ca
languageName: node
linkType: hard

Expand Down
Loading