Perf testing

Fixed an error in the smile transport and added a perf test.