Added code and measurement benchmark.