ported benchmarks and examples back to v1

Make this a command line argument with a default value