The question
Does the architecture (Minimal API, MVC, Clean, MediatR, Vertical Slice) actually change performance? And on the same workload, how do .NET, Python and Node compare, and what does each one cost in code?
How it works
One OpenAPI contract, implemented ten ways: five in .NET, three in Python and two in TypeScript. A black-box conformance suite checks that every implementation behaves the same before anything is measured. k6 generates the load, and the results go to a public dashboard.
What I found
Within .NET, architecture hardly changes speed. The five styles range from 1 file and 382 lines to 48 files and 1,823 lines, yet their throughput stays within about 20% of each other. Across runtimes the concurrency model decides. Going from half a core to four, multi-threaded .NET gets about twelve times faster, while single-process Node levels off after about two cores and single-worker FastAPI stays flat. All the numbers come from one laptop, so treat them as relative, not absolute.
Architecture
- One OpenAPI contract
- 10 implementationsmy code
- Black-box conformance
- k6 load harness
- Results dashboard
