Use this skill when the user wants to run performance benchmarks, compare languages, or test the compute-average-income implementations.
Scanned 2/12/2026
Install via CLI
openskills install techatspree/GcRustVsJvm# run-benchmarks
Use this skill when the user wants to run performance benchmarks, compare languages, or test the compute-average-income implementations.
## Instructions
1. Set JAVA_HOME to Java 23 for Gradle compatibility:
```bash
export JAVA_HOME=/Users/tnfink/Library/Java/JavaVirtualMachines/openjdk-23.0.1/Contents/Home
```
2. Run all benchmarks with:
```bash
./gradlew computeAverageIncome
```
Or run individual language benchmarks:
- Kotlin: `./gradlew computeAverageIncomeKotlin`
- GraalVM: `./gradlew computeAverageIncomeGraalVM` (requires GRAALVM_HOME)
- Rust: `./gradlew computeAverageIncomeRust`
- Haskell: `./gradlew computeAverageIncomeHaskell`
3. For Haskell profiling:
```bash
./gradlew profileAverageIncomeHaskell
```
## Notes
- Gradle 9.2.1 uses JDK 21 toolchain (auto-provisioned via foojay)
- GraalVM benchmark requires GRAALVM_HOME environment variable set
- Haskell uses GHC 9.10.3 (LTS-24.25)
- Rust uses cargo with --release flag
No comments yet. Be the first to comment!
SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.