Skip to content

Conversation

@joshuatam
Copy link
Contributor

@joshuatam joshuatam commented Jan 20, 2026

Updates JavaSteam version, download and decompress ratios to improve download performance

Related change to JavaSteam:
joshuatam/JavaSteam@21bd4db


Summary by cubic

Improves depot download performance by tuning concurrency and upgrading to JavaSteam 1.8.0-9. This better uses CPU cores and reduces install time on faster connections.

  • Performance

    • Increased downloadRatio to 0.6/1.2/1.5/2.4 and tuned decompressRatio to 0.2/0.4/0.5/0.8 for speed tiers 8/16/24/32.
    • Removed maxFileWrites; higher maxDownloads and tuned maxDecompress now derive from CPU cores.
  • Dependencies

    • Bumped JavaSteam to 1.8.0-9 in Gradle and local JAR paths.

Written for commit 7ff77a3. Summary will update on new commits.

Summary by CodeRabbit

  • Chores

    • Updated JavaSteam library dependency to the latest snapshot version.
  • Refactor

    • Enhanced download and decompression resource allocation across all speed tiers to optimize throughput and performance.
    • Simplified downloader configuration by streamlining internal parameters.
    • Improved logging output formatting for consistency.

✏️ Tip: You can customize this high-level summary in your review settings.

Updates JavaSteam version, download and decompress ratios to improve download performance
@coderabbitai
Copy link

coderabbitai bot commented Jan 20, 2026

📝 Walkthrough

Walkthrough

Updated JavaSteam dependency from 1.8.0-6-SNAPSHOT to 1.8.0-9-SNAPSHOT across build configuration and version catalog. Adjusted download/decompress speed tier ratios (8, 16, 24, 32) and removed the maxFileWrites parameter from DepotDownloader configuration with corresponding variable removal.

Changes

Cohort / File(s) Summary
JavaSteam Dependency Version Update
app/build.gradle.kts, gradle/libs.versions.toml
Updated JavaSteam artifact paths and version catalog entry from 1.8.0-6-SNAPSHOT to 1.8.0-9-SNAPSHOT; build.gradle.kts changes apply when localBuild is enabled
Download Configuration Optimization
app/src/main/java/app/gamenative/service/SteamService.kt
Adjusted maxDownloads and maxDecompress ratios for speed tiers (8, 16, 24, 32); removed maxFileWrites variable and its parameter from DepotDownloader constructor call; updated logging to reflect changes

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Poem

🐰 The ratios dance, up and down they go,
JavaSteam flows quick with version new,
One parameter bid adieu in the code,
Downloads surge forth—fast and true! 🚀

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly describes the main change: optimizing download and decompression performance through JavaSteam updates and ratio adjustments.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant