test cpp and go with 4 million iterations