some small programs to show the running performance of different method