Added a benchmark to test large number of links for MESOS-2182.

Review: https://reviews.apache.org/r/28871