python C warappers performance test