function createBenchmark( len, xtype, ytype, ztype ) {
	var x;
	var y;
	var z;

	x = filledBy( len, xtype, rand );
	y = filledBy( len, ytype, rand );
	z = filled( len, ztype, 0.0 );

	return benchmark;

	/**
	* Benchmark function.
	*
	* @private
	* @param {Benchmark} b - benchmark instance
	*/
	function benchmark( b ) {
		var out;
		var i;

		b.tic();
		for ( i = 0; i < b.iterations; i++ ) {
			out = strided( len, xtype, x, 1, ytype, y, 1, ztype, z, 1 );
			if ( typeof out !== 'object' ) {
				b.fail( 'should return an array' );
			}
		}
		b.toc();
		if ( typeof out.get === 'function' ) {
			if ( isnan( out.get( i%len ) ) ) {
				b.fail( 'should not return NaN' );
			}
		} else if ( isnan( out[ i%len ] ) ) {
			b.fail( 'should not return NaN' );
		}
		b.pass( 'benchmark finished' );
		b.end();
	}
}
Creates a benchmark function.

@private
@param {PositiveInteger} len - array length
@param {string} xtype - input array data type
@param {string} ytype - input array data type
@param {string} ztype - output array data type
@returns {Function} benchmark function