benchmarking code png cairo driver