Added benchmarks and improved rendering performance.