mihaicracan / web-rest-api-benchmark

125 stars 43 forks source link

How about making this a plain field benchmark? #5

Open silkentrance opened 3 years ago

silkentrance commented 3 years ago

In the Dot.Net code you use

        [HttpGet]
        [Route("/countries")]
        public IEnumerable<Country> countries()
        {
            return context.Country.ToList();
        }

this will cause the application to stream out the existing countries, not necessarily pre-rendering the whole shebang to a single JSON/Text.