Change cython annotations

Signed-off-by: Michael Buesch <m@bues.ch>
Add missing newline at end of file

Signed-off-by: Michael Buesch <m@bues.ch>
Add profiler support

Signed-off-by: Michael Buesch <m@bues.ch>