2 ms·
Just looking at the numbers, Go is 71% faster. That could be due to the Go HTTP library being more efficient than the Java HTTP library, rather than language or
by Thorrez 5y ago
Just looking at the numbers, Go is 71% faster. That could be due to the Go HTTP library being more efficient than the Java HTTP library, rather than language or runtime features.
- lenkite 5y agoNobody uses that internal Oracle HTTP server - it is not meant for production. It isn't even in the Java namespace -your static analysers will complain about using 'com.sun.*' packages. Use the Java Jetty server and Go will hide itself in a corner in shame when benchmarked.
- vips7L 5y agoUndertow has better performance for the example program: https://www.reddit.com/r/programming/comments/sanusb/comment/htv5cnu/ https://www.reddit.com/r/programming/comments/sanusb/comment...