Live data from Hacker News

Vapor 3.0.0 released - Swift web framework

medium.com

1–9 of 9 posts

Re: Vapor 3.0.0 released - Swift web framework

#2
This is pretty exciting. Fully non-blocking based on SwiftNIO and using Codable throughout (for Parsing and serializing content from HTTP messages, creating database models, and rendering views according to the release notes) are the headline features for me. I had a quick look at the new documentation as well and it looks excellent.

When Swift was first released as open source the potential for using it server-side felt really intriguing, it's great to see how far along the community has come in such a fairly short time!

Re: Vapor 3.0.0 released - Swift web framework

#4
I'm sure this is great software and as quick as anyone needs, but their empty body plaintext benchmark leaves a bad taste. It's not just that with an empty body the results are even less relevant than typical "Hello World" benchmarks. It's the other frameworks that they picked:

In their own benchmark, Vapor is about as quick Gin, written in Go.

Looking at Techempower's latest web framework comparison [0], we see that Gin reaches only 27% the requests per second of the quickest tested framework, and 28% of the quickest framework written in Go.

[0] http://www.techempower.com/benchmarks/#section=data-r15&hw=p...

Re: Vapor 3.0.0 released - Swift web framework

#8
post #4

I'm sure this is great software and as quick as anyone needs, but their empty body plaintext benchmark leaves a bad taste. It's not just that with an empty body the results are even less relevant than typical "Hello World" benchmarks. It's the other frameworks that they picked: In their own benchmark, Vapor is about as quick Gin, written in Go. Looking at Techempower's latest web framework comparison [0], we see that…

27% in that test is pretty good, though. That's 750K requests per second.

That test says nothing about real world performance though, that's true. The db read and write benchmarks are more useful.

Re: Vapor 3.0.0 released - Swift web framework

#9
post #4

I'm sure this is great software and as quick as anyone needs, but their empty body plaintext benchmark leaves a bad taste. It's not just that with an empty body the results are even less relevant than typical "Hello World" benchmarks. It's the other frameworks that they picked: In their own benchmark, Vapor is about as quick Gin, written in Go. Looking at Techempower's latest web framework comparison [0], we see that…

To be fair, the entry for Go that is 3x faster than Gin isn't a framework, it's just an http handling library. But it's clear their benchmarks are not complete enough to be useful; it's unfortunate that Techempower's vapor tests are broken.