push_back perf test code for gcc