閱讀314 返回首頁    go 汽車大全


排序算法大數據量測試結果

<2014-01-06 14:53:06>  MergeSorter排序40000個數1次所用平均時間為:19.0011 毫秒
<2014-01-06 14:53:06>  MergeSorter排序60000個數1次所用平均時間為:26.0015 毫秒
<2014-01-06 14:53:06>  MergeSorter排序80000個數1次所用平均時間為:36.0021 毫秒
<2014-01-06 14:53:06>  MergeSorter排序100000個數1次所用平均時間為:45.0026 毫秒
<2014-01-06 14:53:06>  MergeSorter排序120000個數1次所用平均時間為:54.003 毫秒

<2014-01-06 14:53:06>  HeapSorter排序40000個數1次所用平均時間為:26.0015 毫秒
<2014-01-06 14:53:06>  HeapSorter排序60000個數1次所用平均時間為:37.0021 毫秒
<2014-01-06 14:53:06>  HeapSorter排序80000個數1次所用平均時間為:52.003 毫秒
<2014-01-06 14:53:06>  HeapSorter排序100000個數1次所用平均時間為:98.0056 毫秒
<2014-01-06 14:53:06>  HeapSorter排序120000個數1次所用平均時間為:82.0047 毫秒

<2014-01-06 14:53:06>  ShellSorter排序40000個數1次所用平均時間為:16.0009 毫秒
<2014-01-06 14:53:06>  ShellSorter排序60000個數1次所用平均時間為:25.0015 毫秒
<2014-01-06 14:53:06>  ShellSorter排序80000個數1次所用平均時間為:36.0021 毫秒
<2014-01-06 14:53:06>  ShellSorter排序100000個數1次所用平均時間為:49.0028 毫秒
<2014-01-06 14:53:06>  ShellSorter排序120000個數1次所用平均時間為:55.0031 毫秒

<2014-01-06 14:53:10>  InsertSorter排序40000個數1次所用平均時間為:3529.2019 毫秒
<2014-01-06 14:53:17>  InsertSorter排序60000個數1次所用平均時間為:6832.3908 毫秒
<2014-01-06 14:53:30>  InsertSorter排序80000個數1次所用平均時間為:13641.7802 毫秒
<2014-01-06 14:53:55>  InsertSorter排序100000個數1次所用平均時間為:24231.3859 毫秒
<2014-01-06 14:54:22>  InsertSorter排序120000個數1次所用平均時間為:26997.5441 毫秒

<2014-01-06 14:54:27>  SelectSorter排序40000個數1次所用平均時間為:5179.2962 毫秒
<2014-01-06 14:54:39>  SelectSorter排序60000個數1次所用平均時間為:12218.6989 毫秒
<2014-01-06 14:55:02>  SelectSorter排序80000個數1次所用平均時間為:22897.3096 毫秒
<2014-01-06 14:55:34>  SelectSorter排序100000個數1次所用平均時間為:32309.848 毫秒
<2014-01-06 14:56:23>  SelectSorter排序120000個數1次所用平均時間為:48798.7911 毫秒

<2014-01-06 14:56:38>  CockTailSorter排序40000個數1次所用平均時間為:15111.8643 毫秒
<2014-01-06 14:57:20>  CockTailSorter排序60000個數1次所用平均時間為:41585.3785 毫秒
<2014-01-06 14:58:29>  CockTailSorter排序80000個數1次所用平均時間為:68822.9364 毫秒
<2014-01-06 15:00:18>  CockTailSorter排序100000個數1次所用平均時間為:109633.2707 毫秒
<2014-01-06 15:03:04>  CockTailSorter排序120000個數1次所用平均時間為:165733.4794 毫秒

<2014-01-06 15:03:27>  BubbleSorter排序40000個數1次所用平均時間為:22954.3129 毫秒
<2014-01-06 15:04:17>  BubbleSorter排序60000個數1次所用平均時間為:50343.8795 毫秒
<2014-01-06 15:05:45>  BubbleSorter排序80000個數1次所用平均時間為:87452.002 毫秒
<2014-01-06 15:07:59>  BubbleSorter排序100000個數1次所用平均時間為:134614.6996 毫秒
<2014-01-06 15:11:12>  BubbleSorter排序120000個數1次所用平均時間為:192812.0282 毫秒

<2014-01-06 15:11:12>  QuickSorter排序40000個數1次所用平均時間為:19.0011 毫秒
<2014-01-06 15:11:12>  QuickSorter排序60000個數1次所用平均時間為:66.0038 毫秒
<2014-01-06 15:11:12>  QuickSorter排序80000個數1次所用平均時間為:32.0018 毫秒
<2014-01-06 15:11:12>  QuickSorter排序100000個數1次所用平均時間為:42.0024 毫秒
<2014-01-06 15:11:12>  QuickSorter排序120000個數1次所用平均時間為:44.0025 毫秒


最後更新:2017-04-03 12:54:23

  上一篇:go 保存數據返回後可以繼續編輯
  下一篇:go Linux驅動3_總線設備(二)