|
|
|
|
|
by abalone
2936 days ago
|
|
Vapor looks like the best so far but it's still early days. In theory it has the potential to be extremely fast and memory efficient, but for example they only just got a couple TechEmpower benchmarks up a couple days ago and they ranked very low (#162 on the json test).[1] It goes without saying simplistic benchmarks like this are flawed but at the same time, you have to start somewhere. [1] https://www.techempower.com/benchmarks/#section=data-r16&hw=... |
|
It's not super up-to-date but you can see there's definitely some competition even on Swift level in terms of JSON performance. https://github.com/bwhiteley/JSONShootout
Swift JSON encoding/decoding should approach C/C++ levels of performance when optimized for speed.