fixed struct-array stack alloc, added alloc/malloc benchmark