add test.c and stream.c to test the raw performance