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 ===================================== π§Ή Clearing all caches... 1οΈβ£ Testing Chai... β Chai: 0.45s (1 files) 2οΈβ£ Testing Maven... β Maven: 8.60s (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 Chai... β Chai: 0.50s (1 files) 2οΈβ£ Testing Maven... β Maven: 8.95s (1 files) 3οΈβ£ Testing Gradle... β Gradle: 4.70s (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 Chai... β Chai: 0.55s (8 files) 2οΈβ£ Testing Maven... β Maven: 8.48s (8 files) 3οΈβ£ Testing Gradle... β Gradle: 5.07s (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 Chai... β Chai: 0.60s (7 files) 2οΈβ£ Testing Maven... β Maven: 9.10s (7 files) 3οΈβ£ Testing Gradle... β Gradle: 4.73s (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 Chai... β Chai: 1.84s (17 files) 2οΈβ£ Testing Maven... β Maven: 11.89s (17 files) 3οΈβ£ Testing Gradle... β Gradle: 5.11s (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 Chai... β Chai: 1.96s (36 files) 2οΈβ£ Testing Maven... β Maven: 11.92s (36 files) 3οΈβ£ Testing Gradle... β Gradle: 5.98s (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 Chai... β Chai: 2.63s (34 files) 2οΈβ£ Testing Maven... β Maven: 11.36s (34 files) 3οΈβ£ Testing Gradle... β Gradle: 6.53s (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 Chai... β Chai: 3.42s (48 files) 2οΈβ£ Testing Maven... β Maven: 14.85s (48 files) 3οΈβ£ Testing Gradle... β Gradle: 7.58s (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 Chai... β Chai: 15.54s (115 files) 2οΈβ£ Testing Maven... β Maven: 28.35s (117 files) 3οΈβ£ Testing Gradle... β Gradle: 8.78s (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 Chai... β Chai: 1.66s (5 files) 2οΈβ£ Testing Maven... β Maven: 10.02s (5 files) 3οΈβ£ Testing Gradle... β Gradle: 5.09s (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 Chai... β Chai: 4.34s (66 files) 2οΈβ£ Testing Maven... β Maven: 14.50s (66 files) 3οΈβ£ Testing Gradle... β Gradle: 6.50s (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 Chai... β Chai: 0.55s (3 files) 2οΈβ£ Testing Maven... β Maven: 7.83s (3 files) 3οΈβ£ Testing Gradle... β Gradle: 5.44s (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 ---- -------- ---- Chai 2.84s 12 Gradle 5.84s 12 Maven 12.15s 12 π Performance Analysis: Chai is 4.28x faster than Maven (2.84s vs 12.15s avg) Chai is 2.06x faster than Gradle (2.84s vs 5.84s avg) π‘ Per-package speedup: Package vs Maven vs Gradle ------- -------- --------- com.fasterxml.jackson.core:jackson-databind:2.16.1 14.2x 9.9x com.google.code.gson:gson:2.10.1 19.3x 10.2x com.google.guava:guava:33.0.0-jre 15.1x 7.9x com.squareup.okhttp3:okhttp:4.12.0 15.3x 9.1x io.grpc:grpc-all:1.60.0 3.3x 1.5x io.quarkus:quarkus-core:3.6.4 6.1x 3.1x org.apache.commons:commons-lang3:3.14.0 18x 9.4x org.apache.kafka:kafka-clients:3.7.0 6x 3.1x org.apache.spark:spark-core_2.13:3.5.3 1.8x 0.6x org.hibernate:hibernate-core:6.4.1.Final 6.5x 2.8x org.springframework.boot:spring-boot-starter-data-jpa:3.2.0 4.3x 2.2x org.springframework.boot:spring-boot-starter-web:3.2.0 4.3x 2.5x lepichudoesdev@ohiodeck in chai_deps_test via π¦ on master in 258.9s !!! $>
Last active
February 4, 2026 10:43
-
-
Save LePichu/ddeb629fa7e0ee57516fce6eee7a30e8 to your computer and use it in GitHub Desktop.
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NOTE: This benchmarks takes into account the amount of time it takes to download EVERYTHING FROM SCRATCH, NOTHING is cached between runs, this does not mean a lot for cold boot syncing of dependencies, but think about incrementally adding dependencies; you are essentially adding everything quickly without the overhead of launching the JVM; something both Gradle (also known as: "fuckinguselesspieceofshit" in most circles) and Maven need to do and have a fixed cost of doing so, implying you can add a new dependency in a few milliseconds instead of a few solid seconds.