News for hackers. Stuff that matters.
Re:Swift 5.0 release process by favorited on Tuesday September 25, 2018 @05:42PM (#18070753)
> None of the web frameworks have even remotely great performance

Source for that claim?

Vapor has some pretty great benchmarks. https://medium.com/@codevapor/vapor-3-0-0-released-8356fa619...

Re:Swift 5.0 release process by coder543 on Tuesday September 25, 2018 @06:07PM (#18070945)
It literally only compares itself to slow, interpreted languages and other, even slower Swift frameworks, with the singular exception of Go, where they're using Gin, which is a rather slow Go framework. Gin is at literally 10% of the performance of the fastest Go framework, as shown here: https://www.techempower.com/benchmarks/#section=data-r16&hw=...

So, when you cherry pick benchmarks, it can _look_ kind of fast... but then the unbiased TechEmpower benchmarks show Vapor operating at 20% of the speed of Gin. Which is 2% of the speed of the fastest Go or Rust web framework.

"50x faster to pick a different language" != "even remotely great performance."

Re:Swift 5.0 release process by merlinsbrain on Tuesday September 25, 2018 @07:06PM (#18071313)
I’m not sure this is a great benchmark (detailed in a comment above), but I think it’s undair to criticize a web framework for comparing itself to Django, node/express, Elixir/Phoenix. While dynamic languages, there’s billions of $ running on those frameworks and to present yourself as a fair alternative to those is good enough.

(I have no personal interest in Swift on the server, I use Go/echo)

Re:Swift 5.0 release process by bsaul on Tuesday September 25, 2018 @05:49PM (#18070804)
i think the techempowered benchmarks [https://www.techempower.com/benchmarks/] don't show a pretty picture for swift-based web framework. But hopefully swift nio will change all that..
Re:Swift 5.0 release process by merlinsbrain on Tuesday September 25, 2018 @07:03PM (#18071299)
> We were pleasently surprised to see Vapor coming in first as being asynchronous does not really help with plaintext benchmarks. Plaintext benchmarks are really only good at testing how fast a web framework is capable of parsing and serializing HTTP headers.

I did not look if other benchmarks were released but this is probably not the best representative.