Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add CI Benchmark workflow for MonkCI vs GitHub-hosted runner comparison
📝 Summary
Added
.github/workflows/ci-benchmark.yml— a new workflow designed to benchmarkbuild-and-testjob timing across available MonkCI runners against the standardubuntu-latestGitHub-hosted runner.Key Changes:
build-and-testwith a dynamic display name:name: build-and-test (${{ matrix.runner }}).matrix.runnerstrategy running in parallel withfail-fast: false. It now covers the 2 available MonkCI variants alongsideubuntu-latestas the baseline.date +%s) at the start and end (usingalways()). It computesduration = end - startand writes a Markdown table row to$GITHUB_STEP_SUMMARY.🎯 Motivation
To quantify the performance difference between available MonkCI runners and the standard GitHub-hosted
ubuntu-latestrunner on a real Node.js CI workload (install + test).🚀 Runners Under Test
ubuntu-latestmonkci-runners-4vcpumonkci-ubuntu-24.04-4-3600iops🛠️ What each job does
$GITHUB_OUTPUTbefore any work begins.actions/checkout@v4).actions/setup-node@v4).npm config set loglevel error).npm install).npm run test-ci).📊 How to read the results
After the workflow completes, open the Actions run and check each job's Summary tab. Each runner will output a summary table looking like this:
Compare each MonkCI row against
ubuntu-latestto see the absolute time saved per runner tier from a single workflow run.✅ Test Plan
workflow_dispatchto confirm all 3 matrix jobs start.ubuntu-latestjob completes successfully as the baseline reference.monkci-ubuntu-24.04-4-3600iops) to see if it successfully joins and completes the job.