Context
Issue #272 on graphql-benchmarks has a π $50 bounty for reimplementing analyze.sh in JS. However, the graphql-benchmarks repo was archived, making it impossible to submit a PR or comment on the issue.
The previous PR (#352) by @daveads has been in draft since July 2024 and was never completed.
My Solution
I have a complete, tested JS reimplementation ready in my fork:
π https://github.com/shehanrao12-cpu/graphql-benchmarks/tree/chore/reimplement-analyze-sh-in-js
Files:
analyze.js β Full JS port of all analyze.sh logic
package.json β With canvas dependency (replaces gnuplot)
run_analyze_script.sh β Updated to use node analyze.js
.github/workflows/bench.yml β Added Node.js setup step
Test Results:
13 test cases, all passing β
Improvements over shell:
- Removes
gnuplot and perl system dependencies
- Cross-platform compatible
- Testable with unit tests
- Produces identical output
Request
Could you either:
- Unarchive the graphql-benchmarks repo so I can submit a proper PR, or
- Accept the bounty submission via my fork
Thank you! π
Context
Issue #272 on graphql-benchmarks has a π $50 bounty for reimplementing
analyze.shin JS. However, the graphql-benchmarks repo was archived, making it impossible to submit a PR or comment on the issue.The previous PR (#352) by @daveads has been in draft since July 2024 and was never completed.
My Solution
I have a complete, tested JS reimplementation ready in my fork:
π https://github.com/shehanrao12-cpu/graphql-benchmarks/tree/chore/reimplement-analyze-sh-in-js
Files:
analyze.jsβ Full JS port of all analyze.sh logicpackage.jsonβ Withcanvasdependency (replaces gnuplot)run_analyze_script.shβ Updated to usenode analyze.js.github/workflows/bench.ymlβ Added Node.js setup stepTest Results:
13 test cases, all passing β
Improvements over shell:
gnuplotandperlsystem dependenciesRequest
Could you either:
Thank you! π