add some performance tests
fix port byte order