It is better to compare Go to C's performance, not to C++:
http://benchmarksgame.alioth.debian.org/u64q/performance.php?test=binarytrees

c++ ((Ubuntu 5.3.1-14ubuntu2.1) 5.3.1 20160413):
real 0m3.092s
user 0m2.772s
sys 0m0.316s

c ((Ubuntu 5.3.1-14ubuntu2.1) 5.3.1 20160413):
real 0m2.048s
user 0m5.728s
sys 0m0.572s

go (go1.7rc1 linux/amd64, test is modified to use mmapped pools: 
https://github.com/pi/goal/blob/master/internal/tests/benchmarkgame-binarytrees/binarytrees.go):
real 0m2.152s
user 0m5.992s
sys 0m0.328s

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to