Modify benchmark with manual C optimizations