Comments (7)
I did add AspNetCore.Lambda to https://github.com/TheAngryByrd/dotnet-web-benchmarks/ . AspNetCore.Lambda was right behind Kestrel Plain!
Disclaimer: These are super simple benchmarks with simple routing and plain text responses.
CPU - Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
Operating System - Unix 15.6.0.0 (OSX)
Processor Count - 8
Dotnet Version - 1.0.0-preview2-1-003177
- Kestrel Plain at 2,260,301 requests over 30 seconds
- AspNetCore.Lambda on Kestrel 2,241,695 requests over 30 seconds
- MVC on Kestrel 2,027,391 requests over 30 seconds
Nice!
from giraffe.
Sure ill make a listing soon.
from giraffe.
These results look really great. I am glad that Giraffe (formerly known as ASP.NET Core Lambda :)) ranks so high. I would have been surprised if it wouldn't to be honest though, because the additional layer on top of plain kestrel is very thin and especially the app you tested (plain text on a GET request) is doing very little more than plain kestrel...
I wasn't sure how the conversion between C# Tasks and F# Async workflows will be, but from those tests looks like the impact is close to nothing which is great.
Many thanks for running those, I will edit the README in a bit to link to your project and the results.
from giraffe.
I have linked it here. Let me know if you would like to change or add something to it.
from giraffe.
Nice, thanks for running those!
from giraffe.
I had a look at the repo and looks like you have a nice collection of different frameworks there. Did you document the test run and results somewhere publicly so I can reference to it?
from giraffe.
https://github.com/TheAngryByrd/dotnet-web-benchmarks/blob/master/README.md#results
from giraffe.
Related Issues (20)
- Migrate to System.Text.Json HOT 1
- Participate on hacktoberfest 2023? HOT 1
- Never decalre reader with `use` on `ctx.Request.Body` HOT 4
- Upgrade to .NET 8 HOT 6
- LinkGenerator doesn't work with routef HOT 1
- Giraffe 6.2 is breaks against Microsoft.IO.RecyclableMemoryStream 3.0.0 HOT 11
- Returning streams, either with WriteStreamAsync or WriteFileStreamAsync or their handler equivalents, is extremely slow HOT 4
- Question: How to approach outside in testing of a micro service? HOT 2
- Guid pattern in endpoint router matches invalid values, throws System.FormatException HOT 6
- Follow-up from "Minor code optimisation #567"
- Update SECURITY.md
- Start using fantomas to validate code submissions with CI HOT 6
- [README] Suggestion for "Getting Started"'s "Doing it manually" HOT 2
- [question] Would it be possible to make `Giraffe.EndpointRouting` case-sensitive? HOT 3
- Remove NuGet API key from the repository HOT 3
- 6.4.0 release references PR for updating to .NET 7 instead of .NET 8 HOT 1
- EndpointRouting - Create endpoint for multiple http verbs
- Request/discussion: WriteStreamAsync buffer size autotuning and/or increase default buffer size HOT 1
- Update `.vscode` debug configuration to point to existent projects
- Returning 406 when mustAccept fails HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from giraffe.