What is crystal? And where are Java & C++? Also, who the hell writes web frameworks in Objective-C?
Also... does anyone notice that this test shows that the web framework hosted under the same github account is the fastest.
edit: re: "What is crystal?"
https://github.com/crystal-lang/crystal ... I will say, I'm intrigued. I do love ruby, but unfortunately also hate dynamic typing. Crystal seems interesting.
I'm looking at the contributors in crystal-lang/crystal and I don't see "tbrand" there. That said, the repositories they do create seem predominantly crystal related, so they're certainly a user of it.
Doesn't look like the test is warming up the web server. It sleeps 10 seconds (I assume) after starting the server but it might just as well fire some warmup requests.
This is measuring startup time, not actual request time. This seems nearly worthless unless you are looking to host something on AWS Lambda? Does the author honestly believe GET requests to rails sites take 2 and a half minutes on average?
I understand wanting to show off your latest project, but comparing a large framework like Rails to your couple hundred lines of crystal is not an honest comparison, not even taking into account the concerns of startup time as others mentioned.
It's not in the program itself, it's in the frameworks. That is, the way the frameworks handle the HTTP requests uses blocking IO.
There are other frameworks that are non-blocking; they just didn't include them. To be fair, Iron and Nickel are the old guard of frameworks, and Rocket is one of the new, hyped ones, but they don't use any async stuff. This isn't so much blaming the benchmark as it is adding context!
Also... does anyone notice that this test shows that the web framework hosted under the same github account is the fastest.
edit: re: "What is crystal?"
https://github.com/crystal-lang/crystal ... I will say, I'm intrigued. I do love ruby, but unfortunately also hate dynamic typing. Crystal seems interesting.