I had always believed that the web projects build with Go should be much 
faster than Perl, since Go is a compiled language. 

However that belief was crushed brutally last night, when I did a 
comparison -- the Go implementation is *8 times worse 
<https://dev.to/suntong/simple-web-server-implemented-in-perl-and-go-b43>* 
than the *Perl*! -- the *mean *response time jumped from 6ms to 48ms. 

I know this is the simplest possible web server, but still, when it comes 
to simple web servers like this, I have to say that Perl performs much 
better than Go.

I don't think there is much I can twist on the Go side, since it can't be 
more simpler than that. However, I also believe it won't hurt to ask and 
confirm. So,

Have I missed anything? Is it possible for me to make my Go implementation 
anywhere near the Perl's performance?

Thanks


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/c78e25f4-d2f8-462b-b227-f3ec6edae9fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to