Skip to content

Instantly share code, notes, and snippets.

@LePichu
Created February 3, 2026 17:03
Show Gist options
  • Select an option

  • Save LePichu/0383c9bab918f4d7375291db974de00b to your computer and use it in GitHub Desktop.

Select an option

Save LePichu/0383c9bab918f4d7375291db974de00b to your computer and use it in GitHub Desktop.
lepichudoesdev@ohiodeck in chai_deps_test via πŸ¦€ on master in 19.8s !!!
$> ./Invoke-Benchmark.ps1                                                                                                                                      πŸš€ Starting benchmark suite for 12 packages...
============================================
πŸ“¦ Package 1/12


πŸ” Benchmark: com.google.code.gson:gson:2.10.1
=====================================

🧹 Clearing all caches...

1️⃣  Testing Rust/Chai...
   βœ“ Rust/Chai: 0.46s (1 files)

2️⃣  Testing Maven...
   βœ“ Maven: 13.50s (1 files)

3️⃣  Testing Gradle...
   βœ“ Gradle: 4.52s (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
=====================================

🧹 Clearing all caches...

1️⃣  Testing Rust/Chai...
   βœ“ Rust/Chai: 0.51s (1 files)

2️⃣  Testing Maven...
   βœ“ Maven: 8.82s (1 files)

3️⃣  Testing Gradle...
   βœ“ Gradle: 4.76s (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
=====================================

🧹 Clearing all caches...

1️⃣  Testing Rust/Chai...
   βœ“ Rust/Chai: 0.57s (8 files)

2️⃣  Testing Maven...
   βœ“ Maven: 10.55s (8 files)

3️⃣  Testing Gradle...
   βœ“ Gradle: 5.24s (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
=====================================

🧹 Clearing all caches...

1️⃣  Testing Rust/Chai...
   βœ“ Rust/Chai: 0.61s (7 files)

2️⃣  Testing Maven...
   βœ“ Maven: 11.00s (7 files)

3️⃣  Testing Gradle...
   βœ“ Gradle: 4.82s (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
=====================================

🧹 Clearing all caches...

1️⃣  Testing Rust/Chai...
   βœ“ Rust/Chai: 1.85s (17 files)

2️⃣  Testing Maven...
   βœ“ Maven: 12.49s (17 files)

3️⃣  Testing Gradle...
   βœ“ Gradle: 5.34s (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
=====================================

🧹 Clearing all caches...

1️⃣  Testing Rust/Chai...
   βœ“ Rust/Chai: 4.83s (35 files)

2️⃣  Testing Maven...
   βœ“ Maven: 13.93s (36 files)

3️⃣  Testing Gradle...
   βœ“ Gradle: 6.09s (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
=====================================

🧹 Clearing all caches...

1️⃣  Testing Rust/Chai...
   βœ“ Rust/Chai: 2.32s (34 files)

2️⃣  Testing Maven...
   βœ“ Maven: 14.41s (34 files)

3️⃣  Testing Gradle...
   βœ“ Gradle: 6.61s (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
=====================================

🧹 Clearing all caches...

1️⃣  Testing Rust/Chai...
   βœ“ Rust/Chai: 4.02s (48 files)

2️⃣  Testing Maven...
   βœ“ Maven: 16.11s (48 files)

3️⃣  Testing Gradle...
   βœ“ Gradle: 8.06s (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
=====================================

🧹 Clearing all caches...

1️⃣  Testing Rust/Chai...
   βœ“ Rust/Chai: 17.76s (115 files)

2️⃣  Testing Maven...
   βœ“ Maven: 34.76s (117 files)

3️⃣  Testing Gradle...
   βœ“ Gradle: 10.82s (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
=====================================

🧹 Clearing all caches...

1️⃣  Testing Rust/Chai...
   βœ“ Rust/Chai: 1.79s (5 files)

2️⃣  Testing Maven...
   βœ“ Maven: 15.26s (5 files)

3️⃣  Testing Gradle...
   βœ“ Gradle: 4.84s (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
=====================================

🧹 Clearing all caches...

1️⃣  Testing Rust/Chai...
   βœ“ Rust/Chai: 9.23s (66 files)

2️⃣  Testing Maven...
   βœ“ Maven: 20.85s (66 files)

3️⃣  Testing Gradle...
   βœ“ Gradle: 7.33s (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
=====================================

🧹 Clearing all caches...

1️⃣  Testing Rust/Chai...
   βœ“ Rust/Chai: 1.22s (3 files)

2️⃣  Testing Maven...
   βœ“ Maven: 12.49s (3 files)

3️⃣  Testing Gradle...
   βœ“ Gradle: 5.16s (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
----      -------- ----
Rust/Chai 3.77s      12
Gradle    6.13s      12
Maven     15.35s     12


πŸš€ Performance Analysis:
   Chai is 4.07x faster than Maven (3.77s vs 15.35s avg)
   Chai is 1.63x faster than Gradle (3.77s vs 6.13s avg)

πŸ’‘ Per-package speedup:

Package     vs Maven                                                                                                            vs Gradle
-------     --------                                                                                                            ---------
2.16.1      @{Package=com.fasterxml.jackson.core:jackson-databind:2.16.1; ChaiVsMaven=10.3; ChaiVsGradle=4.2}.ChaiVsMaven}x     4.2x
2.10.1      @{Package=com.google.code.gson:gson:2.10.1; ChaiVsMaven=29.2; ChaiVsGradle=9.8}.ChaiVsMaven}x                       9.8x
33.0.0-jre  @{Package=com.google.guava:guava:33.0.0-jre; ChaiVsMaven=17.9; ChaiVsGradle=7.8}.ChaiVsMaven}x                      7.8x
4.12.0      @{Package=com.squareup.okhttp3:okhttp:4.12.0; ChaiVsMaven=18.5; ChaiVsGradle=9.2}.ChaiVsMaven}x                     9.2x
1.60.0      @{Package=io.grpc:grpc-all:1.60.0; ChaiVsMaven=2.3; ChaiVsGradle=0.8}.ChaiVsMaven}x                                 0.8x
3.6.4       @{Package=io.quarkus:quarkus-core:3.6.4; ChaiVsMaven=2.9; ChaiVsGradle=1.3}.ChaiVsMaven}x                           1.3x
3.14.0      @{Package=org.apache.commons:commons-lang3:3.14.0; ChaiVsMaven=17.3; ChaiVsGradle=9.4}.ChaiVsMaven}x                9.4x
3.7.0       @{Package=org.apache.kafka:kafka-clients:3.7.0; ChaiVsMaven=8.5; ChaiVsGradle=2.7}.ChaiVsMaven}x                    2.7x
3.5.3       @{Package=org.apache.spark:spark-core_2.13:3.5.3; ChaiVsMaven=2; ChaiVsGradle=0.6}.ChaiVsMaven}x                    0.6x
6.4.1.Final @{Package=org.hibernate:hibernate-core:6.4.1.Final; ChaiVsMaven=6.7; ChaiVsGradle=2.9}.ChaiVsMaven}x                2.9x
3.2.0       @{Package=org.springframework.boot:spring-boot-starter-data-jpa:3.2.0; ChaiVsMaven=4; ChaiVsGradle=2}.ChaiVsMaven}x 2x
3.2.0       @{Package=org.springframework.boot:spring-boot-starter-web:3.2.0; ChaiVsMaven=6.2; ChaiVsGradle=2.8}.ChaiVsMaven}x  2.8x

 
lepichudoesdev@ohiodeck in chai_deps_test via πŸ¦€ on master in 311.8s !!!
$> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment