Add benchmarks for writeOutPoint.

This commit adds a benchmark for the writeOutPoint function.