Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.36 KB

File metadata and controls

39 lines (30 loc) · 1.36 KB

1.build bubble_sort.c file with gcc bubble_sort.c -o "bu_c.out" 2.python benchmark_buble.py output:

$ python benchmark_buble.py


bubble sort benchmark test start


============================================================ test python bubble sort Start:

python bubble sortrun 100 times total time is : 0:00:03.481910 test python bubble sort end

============================================================ test perl bubble sort Start:

perl bubble sortrun 100 times total time is : 0:00:01.694428 test perl bubble sort end

============================================================ test go bubble sort Start:

go bubble sortrun 100 times total time is : 0:00:00.879380 test go bubble sort end

============================================================ test C bubble sort Start:

C bubble sortrun 100 times total time is : 0:00:00.623125 test C bubble sort end


bubble sort benchmark test End