New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ASP.NET Update tests #272
ASP.NET Update tests #272
Conversation
Removed the ugly Global.asax and switched to IHttpModule Switched to NuGet: removed dependencies and now downloading them at build time Fixed views that were not working on mono Added an index page with a list of all tests
When I run the
|
Sorry about that. I will add |
Should be fixed now. |
I'd like to point out that this pull request disabled the debug mode which people are complaning about. |
Thanks @pdonald. We'll aim to get this merged soon to address the debug mode complaint. |
I have a tentative async version of this project setup at https://github.com/micahasmith/FrameworkBenchmarks. I do not however have a linux box to test on... if you'd like to try it out the work is there. I feel as though it would be remiss to not have an Async version of the asp.net tests up, especially when concurrency will be in play. I tested on Windows successfully, however i am no mono expert. If there's anything i can do, let me know. |
Did you get noticeable performance gains? From what I remember, Controllers are already called asynchronously (but I could be mistaken). In ADO.NET you are using |
Interesting. What I read seems to say otherwise, but i've def been wrong before. Regardless, the proof is "in the pudding" and hopefully these tests will give us some "deductive light" on the subject. From what I know of the .NET world, any time concurrency can push past 50 concurrent calls you need to start using async methods (unless you've modified web/machine config).
On the /json call when concurrency was at As a side note, I feel strongly that we should also make a aspnet test profile that relies soley on IAsyncHttpHandler-- from experience i've always cranked the most out of my .net web projects by relying on it. Especially given that there is a java servlet test, I think it could be argued.
Hmm. Good to know. Well when they start testing against SQL Server hopefully we'll get some wins there.... |
I am no expert but if you A note about testing from Using Asynchronous Methods in ASP.NET MVC 4:
I don't think using
I think the goal of this project is to benchmark frameworks in somewhat realistic scenarios. I had my own non-scientific benchmarks with an async |
Wow. Thanks for showing me that!
Understandable. I only initially added it to the /json one in order for it to be consistent across the whole proj w/ ones that i thought would be able to be faster because of it (sql tests i expected to benefit from async).
I do run Thanks again for pointing that |
I have a suggestion to add in this Pull Request.
More Info: |
I refactored
aspnet
(582 additions and 269,238 deletions) and implemented Update tests for all frameworks/databases.