3 ms·
I'd love to hear about the specifics for both of the projects. I have a hard time believing that Ruby is faster than C# straight up, and would venture that suc
by tobz 10y ago
I'd love to hear about the specifics for both of the projects. I have a hard time believing that Ruby is faster than C# straight up, and would venture that such speed differences could be easily contributed to something simple like extraneous queries or what have you.
- adrianlmm 10y agoIt was hard to me to believe it too, how is my Ruby/Sinatra app faster than my C#/Asp.Net MVC app? do not compute. The applications are pretty similar, but request are processed faster with Sinatra, and small queries are no different, you only note the difference when the query returns more tan 100,000 records, but it is an exception to the rule, I suspect it has to do with IIS modules being more heavy than Thin in Ruby.
- tobz 10y agoI was going to say: it almost sounds like something weird with IIS. The CLR on Windows was/is top-notch. Now, with Kestrel as an option for ASP.NET 5, you're starting to be able to get closer and closer to the metal, so to speak, and eliminate a lot of the baggage required to actually hit your code from an HTTP request. At any rate, interesting to hear. :)
- romanovcode 10y agoAFAIK MS are doing and will continue to do the benchmarks for the new ASP.NET and they say that for now it's as fast as Scala/Java but that's not it yet. They plan to make it in top5 stack on benchmarks here[0]. Maybe then people will start believing in C#. [0] https://www.techempower.com/benchmarks/ https://www.techempower.com/benchmarks/