The first number in the benchmark output provides the number of iterations the test is run. It has nothing to do with the number of allocations. The default benchmark time is 1 second, explaining the number of iterations you are observing. You can change the time using the -benchtime flag.
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.