Skip to content

Instantly share code, notes, and snippets.

@LePichu
Created February 3, 2026 13:54
Show Gist options
  • Select an option

  • Save LePichu/0a3e3751cea45b2bb4ae5993311440ca to your computer and use it in GitHub Desktop.

Select an option

Save LePichu/0a3e3751cea45b2bb4ae5993311440ca to your computer and use it in GitHub Desktop.
lepichudoesdev@ohiodeck in chai_deps_test via πŸ¦€ on master in 0.0s !!!
$> ./Invoke-Benchmark.ps1
πŸš€ Starting benchmark suite for 12 packages...
============================================
πŸ“¦ Package 1/12
πŸ” Benchmark: com.google.code.gson:gson:2.10.1
=====================================
0️⃣ Generating dependency tree...
βœ“ Found 1 dependencies
🧹 Clearing all caches...
1️⃣ Testing Rust/Chai...
βœ“ Rust/Chai: 0.31s (1 files)
2️⃣ Testing Maven...
βœ“ Maven: 3.09s (0 files)
3️⃣ Testing Gradle...
βœ“ Gradle: 4.70s (1 files)
🧹 Post-test cleanup...
πŸ“Š Results saved: ./bench/com.google.code.gson_gson_2.10.1.json
πŸ“¦ Package 2/12
πŸ” Benchmark: org.apache.commons:commons-lang3:3.14.0
=====================================
0️⃣ Generating dependency tree...
βœ“ Found 1 dependencies
🧹 Clearing all caches...
1️⃣ Testing Rust/Chai...
βœ“ Rust/Chai: 0.35s (1 files)
2️⃣ Testing Maven...
βœ“ Maven: 3.23s (0 files)
3️⃣ Testing Gradle...
βœ“ Gradle: 4.85s (1 files)
🧹 Post-test cleanup...
πŸ“Š Results saved: ./bench/org.apache.commons_commons-lang3_3.14.0.json
πŸ“¦ Package 3/12
πŸ” Benchmark: com.squareup.okhttp3:okhttp:4.12.0
=====================================
0️⃣ Generating dependency tree...
βœ“ Found 8 dependencies
🧹 Clearing all caches...
1️⃣ Testing Rust/Chai...
βœ“ Rust/Chai: 0.65s (8 files)
2️⃣ Testing Maven...
βœ“ Maven: 2.96s (0 files)
3️⃣ Testing Gradle...
βœ“ Gradle: 5.21s (7 files)
🧹 Post-test cleanup...
πŸ“Š Results saved: ./bench/com.squareup.okhttp3_okhttp_4.12.0.json
πŸ“¦ Package 4/12
πŸ” Benchmark: com.google.guava:guava:33.0.0-jre
=====================================
0️⃣ Generating dependency tree...
βœ“ Found 7 dependencies
🧹 Clearing all caches...
1️⃣ Testing Rust/Chai...
βœ“ Rust/Chai: 0.62s (7 files)
2️⃣ Testing Maven...
βœ“ Maven: 3.18s (0 files)
3️⃣ Testing Gradle...
βœ“ Gradle: 5.27s (6 files)
🧹 Post-test cleanup...
πŸ“Š Results saved: ./bench/com.google.guava_guava_33.0.0-jre.json
πŸ“¦ Package 5/12
πŸ” Benchmark: org.hibernate:hibernate-core:6.4.1.Final
=====================================
0️⃣ Generating dependency tree...
βœ“ Found 17 dependencies
🧹 Clearing all caches...
1️⃣ Testing Rust/Chai...
βœ“ Rust/Chai: 1.58s (17 files)
2️⃣ Testing Maven...
βœ“ Maven: 3.44s (0 files)
3️⃣ Testing Gradle...
βœ“ Gradle: 6.80s (17 files)
🧹 Post-test cleanup...
πŸ“Š Results saved: ./bench/org.hibernate_hibernate-core_6.4.1.Final.json
πŸ“¦ Package 6/12
πŸ” Benchmark: io.quarkus:quarkus-core:3.6.4
=====================================
0️⃣ Generating dependency tree...
βœ“ Found 36 dependencies
🧹 Clearing all caches...
1️⃣ Testing Rust/Chai...
βœ“ Rust/Chai: 1.56s (36 files)
2️⃣ Testing Maven...
βœ“ Maven: 2.61s (0 files)
3️⃣ Testing Gradle...
βœ“ Gradle: 7.62s (36 files)
🧹 Post-test cleanup...
πŸ“Š Results saved: ./bench/io.quarkus_quarkus-core_3.6.4.json
πŸ“¦ Package 7/12
πŸ” Benchmark: org.springframework.boot:spring-boot-starter-web:3.2.0
=====================================
0️⃣ Generating dependency tree...
βœ“ Found 34 dependencies
🧹 Clearing all caches...
1️⃣ Testing Rust/Chai...
βœ“ Rust/Chai: 1.99s (34 files)
2️⃣ Testing Maven...
βœ“ Maven: 2.73s (0 files)
3️⃣ Testing Gradle...
βœ“ Gradle: 8.64s (34 files)
🧹 Post-test cleanup...
πŸ“Š Results saved: ./bench/org.springframework.boot_spring-boot-starter-web_3.2.0.json
πŸ“¦ Package 8/12
πŸ” Benchmark: org.springframework.boot:spring-boot-starter-data-jpa:3.2.0
=====================================
0️⃣ Generating dependency tree...
βœ“ Found 48 dependencies
🧹 Clearing all caches...
1️⃣ Testing Rust/Chai...
βœ“ Rust/Chai: 2.94s (48 files)
2️⃣ Testing Maven...
βœ“ Maven: 3.12s (0 files)
3️⃣ Testing Gradle...
βœ“ Gradle: 12.19s (48 files)
🧹 Post-test cleanup...
πŸ“Š Results saved: ./bench/org.springframework.boot_spring-boot-starter-data-jpa_3.2.0.json
πŸ“¦ Package 9/12
πŸ” Benchmark: org.apache.spark:spark-core_2.13:3.5.3
=====================================
0️⃣ Generating dependency tree...
βœ“ Found 113 dependencies
🧹 Clearing all caches...
1️⃣ Testing Rust/Chai...
βœ“ Rust/Chai: 15.97s (113 files)
2️⃣ Testing Maven...
βœ“ Maven: 2.52s (0 files)
3️⃣ Testing Gradle...
βœ“ Gradle: 23.75s (118 files)
🧹 Post-test cleanup...
πŸ“Š Results saved: ./bench/org.apache.spark_spark-core_2.13_3.5.3.json
πŸ“¦ Package 10/12
πŸ” Benchmark: org.apache.kafka:kafka-clients:3.7.0
=====================================
0️⃣ Generating dependency tree...
βœ“ Found 5 dependencies
🧹 Clearing all caches...
1️⃣ Testing Rust/Chai...
βœ“ Rust/Chai: 10.10s (5 files)
2️⃣ Testing Maven...
βœ“ Maven: 3.30s (0 files)
3️⃣ Testing Gradle...
βœ“ Gradle: 6.05s (5 files)
🧹 Post-test cleanup...
πŸ“Š Results saved: ./bench/org.apache.kafka_kafka-clients_3.7.0.json
πŸ“¦ Package 11/12
πŸ” Benchmark: io.grpc:grpc-all:1.60.0
=====================================
0️⃣ Generating dependency tree...
βœ“ Found 66 dependencies
🧹 Clearing all caches...
1️⃣ Testing Rust/Chai...
βœ“ Rust/Chai: 23.93s (66 files)
2️⃣ Testing Maven...
βœ“ Maven: 3.34s (0 files)
3️⃣ Testing Gradle...
βœ“ Gradle: 11.52s (66 files)
🧹 Post-test cleanup...
πŸ“Š Results saved: ./bench/io.grpc_grpc-all_1.60.0.json
πŸ“¦ Package 12/12
πŸ” Benchmark: com.fasterxml.jackson.core:jackson-databind:2.16.1
=====================================
0️⃣ Generating dependency tree...
βœ“ Found 3 dependencies
🧹 Clearing all caches...
1️⃣ Testing Rust/Chai...
βœ“ Rust/Chai: 0.62s (3 files)
2️⃣ Testing Maven...
βœ“ Maven: 2.66s (0 files)
3️⃣ Testing Gradle...
βœ“ Gradle: 5.05s (3 files)
🧹 Post-test cleanup...
πŸ“Š Results saved: ./bench/com.fasterxml.jackson.core_jackson-databind_2.16.1.json
βœ… Benchmark suite complete!
πŸ“ Individual results: ./bench/<package>.json
πŸ“Š Summary: ./bench/_summary.json
πŸ† Final Results:
============================================
Tool Avg Time Runs
---- -------- ----
Maven 3.02s 12
Rust/Chai 5.05s 12
Gradle 8.47s 12
πŸš€ Performance Analysis:
Chai is 0.6x faster than Maven (5.05s vs 3.02s avg)
Chai is 1.68x faster than Gradle (5.05s vs 8.47s avg)
πŸ’‘ Per-package speedup:
Package vs Maven vs
Gra
dle
------- -------- ---
2.16.1 @{Package=com.fasterxml.jackson.core:jackson-databind:2.16.1; ChaiVsMaven=4.3; ChaiVsGradle=8.2}.ChaiVsMaven}x 8.…
2.10.1 @{Package=com.google.code.gson:gson:2.10.1; ChaiVsMaven=10.1; ChaiVsGradle=15.3}.ChaiVsMaven}x 15…
33.0.0-jre @{Package=com.google.guava:guava:33.0.0-jre; ChaiVsMaven=5.1; ChaiVsGradle=8.5}.ChaiVsMaven}x 8.…
4.12.0 @{Package=com.squareup.okhttp3:okhttp:4.12.0; ChaiVsMaven=4.6; ChaiVsGradle=8.1}.ChaiVsMaven}x 8.…
1.60.0 @{Package=io.grpc:grpc-all:1.60.0; ChaiVsMaven=0.1; ChaiVsGradle=0.5}.ChaiVsMaven}x 0.…
3.6.4 @{Package=io.quarkus:quarkus-core:3.6.4; ChaiVsMaven=1.7; ChaiVsGradle=4.9}.ChaiVsMaven}x 4.…
3.14.0 @{Package=org.apache.commons:commons-lang3:3.14.0; ChaiVsMaven=9.1; ChaiVsGradle=13.7}.ChaiVsMaven}x 13…
3.7.0 @{Package=org.apache.kafka:kafka-clients:3.7.0; ChaiVsMaven=0.3; ChaiVsGradle=0.6}.ChaiVsMaven}x 0.…
3.5.3 @{Package=org.apache.spark:spark-core_2.13:3.5.3; ChaiVsMaven=0.2; ChaiVsGradle=1.5}.ChaiVsMaven}x 1.…
6.4.1.Final @{Package=org.hibernate:hibernate-core:6.4.1.Final; ChaiVsMaven=2.2; ChaiVsGradle=4.3}.ChaiVsMaven}x 4.…
3.2.0 @{Package=org.springframework.boot:spring-boot-starter-data-jpa:3.2.0; ChaiVsMaven=1.1; ChaiVsGradle=4.1}.ChaiVsMaven}x 4.…
3.2.0 @{Package=org.springframework.boot:spring-boot-starter-web:3.2.0; ChaiVsMaven=1.4; ChaiVsGradle=4.4}.ChaiVsMaven}x 4.…
lepichudoesdev@ohiodeck in chai_deps_test via πŸ¦€ on master in 353.8s !!!
$>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment