>It it a bug? It think exec_parse_message should set is_oneshot=true for parse message with empty statement names.
I've tried "build from git as of 74d8c95b7456faefdd4244acf854361711fb42ce", and it produced PostgreSQL 9.6beta3 on x86_64-apple-darwin15.5.0, compiled by Apple LLVM version 7.0.0 (clang-700.1.76), 64-bit
The attached patch passes `make check` and it gains 31221 -> 33547 improvement for "extended pgbench of SELECT 1".
The same version gains 35682 in "simple" mode, and "prepared" mode achieves 46367 (just in case).