Compare Any Two Services
Before you trust these numbers
- The author of NpgsqlRest runs this benchmark, and NpgsqlRest is one of the services in it.
- The analysis was written with AI assistance from the raw data, then reviewed and edited.
- Every test ran once, on one machine. Treat differences of a few percent as a tie.
- Everything is public so you can check it: the code of every service, the data, and everything that went wrong, and how to run it yourself. Corrections and pull requests are welcome.
Pick two services. You see them side by side in every kind of test, with a label that says in plain words how the second did against the first. Change the number of users and what to look at with the buttons.
The address of this page changes with your choice, so you can copy it and send somebody exactly what you are looking at.
Show
How many users
Requests per second: NpgsqlRest 4.1 AOT · functions is better in 2 of 9 kinds of test, Go 1.27 · net/http in 6, and they are about the same in 1. How many requests were answered per second. More is better.
Data types100 users, 10 rows
+15% better
Minimal request100 users
−16% worse
POST body50 users, 10 rows
−22% worse
Nested JSON50 users, 1 levels
−21% worse
Large payload25 users, 100 KB
about the same
Many parameters50 users
−27% worse
Table lookup50 users
−17% worse
Table list page50 users
+8% better
Table insert50 users
−20% worse
How to read it
- Each row is one kind of test. The grey bar is the first service, the coloured bar is the second.
- The label on the right compares the second with the first: "+25% better", "−12% worse", or "about the same" when they are within 3%.
- "Better" depends on what you look at. For requests per second and requests per CPU core, more is better. For the slowest requests and for memory, less is better. The label takes that into account.
- Click a service's name ↗ next to a bar to open its code for that kind of test.
- One run per test. Treat a few percent as a tie.
All 31 at once: the leaderboard. Grouped by platform: the scorecards.
Previous: ← NpgsqlRest · Next: Data and Method →