Matthew here, 13 from Nigeria. After the autocannon correction (thx @saltyaom!), here's v1.7.7 of PrinceJS.
New since launch: • Bundle: ~2.2 kB gzipped (tree-shaking tweaks, down 600 bytes) • Speed: 21,748 req/s on oha (-c 100 -z 30s, Bun 1.2.x) – top 3 confirmed • Vs others: Hono 22,124 | Elysia 25,312 | Express 9,325
Full server (8 lines): import { prince } from "princejs"; const app = prince();
app.get("/", () => "Hello world "); app.get("/users/:id", (req) => ({ id: req.params.id }));
app.listen(3000);
Cloud VM benchmarks next. Feedback on size/speed?
Repo: https://github.com/MatthewTheCoder1218/princejs npm i princejs
Matthew (@Lil_Prince_1218)