improve benchmark macros