Skip to content

docs: compare java-web with CheerpJ 5.0 on Java 25 in the README - #80

Merged
Project516 merged 1 commit into
masterfrom
p516/readme-cheerpj
Nov 9, 2026
Merged

Project516 merged 1 commit into
masterfrom
p516/readme-cheerpj

Conversation

@Project516

Copy link
Copy Markdown
Owner

What this changes

Adds a short "Compared with CheerpJ" section to the README: Java 25 support, start-up and javac times, download sizes, GUI support and licensing, next to CheerpJ 5.0.

Tests

The numbers are medians from one machine on 2026-11-08: headless Chromium, java-web 0.1.3 from npm, CheerpJ 5.0 from its CDN (cjrtnc.leaningtech.com/5.0/loader.js, cheerpjInit({ version: 25 })). Each test ran cold (a new browser context) then warm (the same context), twice; the tenth-of-a-CPU run ran the whole browser in a cgroup with CPUQuota=10%, once. Downloads were counted at the server for java-web and from the browser's finished requests for CheerpJ's CDN; the programs' own jars are left out.

Run java-web 0.1.3 CheerpJ 5.0
Hello, cold 0.55 s, 3.65 MB 4.33 s, 10.78 MB
Hello, warm 0.17 s, 0 MB 2.37 s, 3.76 MB
timed template compile, cold 2.83 s, 7.37 MB 10.10 s, 15.77 MB
timed template compile, warm 2.44 s 5.47 s
commandv2 compile (two annotation processors), cold 3.55 s, 8.71 MB 10.37 s, 16.85 MB
Hello, cold, tenth of a CPU 16.6 s 58.9 s
timed compile, cold, tenth of a CPU 96 s 382 s

The CheerpJ facts come from its documentation: Java 25 is a preview in 5.0 (cheerpj.com/docs, changelog), it draws AWT and Swing windows (cheerpj.com/docs/explanation/architecture), and free use must load from its CDN, with a licence for business use (cheerpj.com/docs/licensing). javac runs on CheerpJ too: the compile tests above use javax.tools.

@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: dfe3d34d-1fc3-44d1-a2d8-69dd17152aaa
Commits

Reviewing files that changed from the base of the PR and between 5d21bef and 9d75c17.

Files selected for processing: 1

  • README.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@project516-review-bot project516-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This PR adds a 'Compared with CheerpJ' section to the README with a benchmark table comparing java-web 0.1.3 against CheerpJ 5.0 on Java 25. The numbers are medians from a single machine on 2026-11-08. The table covers start-up times, download sizes, javac performance, CPU-constrained runs, GUI support, and licensing.


review-bot, model nvidia/nemotron-3-ultra-550b-a55b:free, verdict approve

@Project516
Project516 merged commit e848745 into master Nov 9, 2026
9 checks passed
@Project516
Project516 deleted the p516/readme-cheerpj branch November 9, 2026 01:11
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