Has anyone done performance comparison between Typesafe config with other Json parser like Json4s-jackson? Is it good enough to be used as general json parser in a heavy load API service?
--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[info] Parameters(parser -> argonaut): 0.194616
[info] Parameters(parser -> jackson): 0.058777
[info] Parameters(parser -> json4sJackson): 0.224313
[info] Parameters(parser -> json4sNative): 0.23916
[info] Parameters(parser -> playJson): 0.245464
[info] Parameters(parser -> sphereJson): 0.143125
[info] Parameters(parser -> sprayJson): 0.198715The HOCON format has much more feature than plain JSON (variable substitution, expression, merging...), so it will be slower than any JSON parsing library.Besides, the configuration file is parsed one time when the app start, so performance is not the priority.