Repository navigation
docs: compare java-web with CheerpJ 5.0 on Java 25 in the README - #80
Conversation
|
Warning Review limit reachedYou'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. View limit details
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. |
There was a problem hiding this comment.
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
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 withCPUQuota=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.timedtemplate compile, coldtimedtemplate compile, warmcommandv2compile (two annotation processors), coldtimedcompile, cold, tenth of a CPUThe 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.