Sorting algorithm large data volume test results
<2014-01-06 14:53:06> mergesorter Sort 40,000 numbers 1 times the average time used is: 19.0011 milliseconds <2014-01-06 14:53:06> Mergesorter sort 60,000 numbers 1 times the average time used is: 26.0015 milliseconds <2014-01-06 14:53:06> mergesorter sort 80,000 1 times average time used: 36.0021 milliseconds < 2014-01-06 14:53:06> mergesorter Sort 100,000 numbers 1 times the average time used is: 45.0026 milliseconds <2014-01-06 14:53:06> Mergesorter sort 120,000 numbers 1 times the average time used is: 54.003 milliseconds <2014-01-06 14:53:06> heapsorter sort 40,000 1 times average time used: 26.0015 milliseconds < 2014-01-06 14:53:06> Heapsorter Sort 60,000 numbers 1 times the average time used is: 37.0021 milliseconds <2014-01-06 14:53:06> Heapsorter sort 80,000 numbers 1 times the average time used is: 52.003 milliseconds <2014-01-06 14:53:06> heapsorter sort 100,000 1 times average time used: 98.0056 milliseconds < 2014-01-06 14:53:06> heapsorter Sort 120,000 numbers 1 times the average time used is: 82.0047 milliseconds <2014-01-06 14:53:06> Shellsorter sort 40,000 numbers 1 times the average time used is: 16.0009 milliseconds <2014-01-06 14:53:06> shellsorter sort 60,000 1 times average time used: 25.0015 milliseconds < 2014-01-06 14:53:06> shellsorter Sort 80,000 numbers 1 times the average time used is: 36.0021 milliseconds <2014-01-06 14:53:06> Shellsorter sort 100,000 numbers 1 times the average time used is: 49.0028 milliseconds <2014-01-06 14:53:06> shellsoRter sort 120,000 numbers 1 times the average time used is: 55.0031 milliseconds <2014-01-06 14:53:10> insertsorter sort 40,000 1 times average time used: 3529.2019 milliseconds < 2014-01-06 14:53:17> Insertsorter Sort 60,000 numbers 1 times the average time used is: 6832.3908 milliseconds <2014-01-06 14:53:30> Insertsorter sort 80,000 numbers 1 times the average time used is: 13641.7802 milliseconds <2014-01-06 14:53:55> Insertsorter sort 100,000 numbers 1 times the average time used is: 24231.3859 milliseconds <2014-01-06 14:54:22> Insertsorter sort 120,000 numbers 1 times the average time used is: 26997.5441 milliseconds <2014-01-06 14:54:27> selectsorter sort 40,000 number 1 times average time used: 5179.2962 Milliseconds <2014-01-06 14:54:39> selectsorter sort 60,000 numbers 1 times the average time used is: 12218.6989 milliseconds <2014-01-06 14:55:02> Selectsorter sort 80,000 numbers 1 times the average time used is: 22897.3096 milliseconds <2014-01-06 14:55:34> selectsorter sort 100,000 number 1 times average time used: 32309.848 Milliseconds <2014-01-06 14:56:23> selectsorter sort 120,000 numbers 1 times the average time used is: 48798.7911 milliseconds <2014-01-06 14:56:38> Cocktailsorter sort 40,000 numbers 1 times the average time used is: 15111.8643 milliseconds <2014-01-06 14:57:20> Cocktailsorter sort 60,000 numbers 1 times the average time used is: 41585.3785 milliseconds <2014-01-06 14:58:29> Cocktailsorter sort 80,000 numbers 1 times the average time used is: 68822.9364 milliseconds <2014-01-06 15:00:18> Cocktailsorter The average time to sort 100,000 numbers 1 times is: 109633.2707 milliseconds <2014-01-06 15:03:04> Cocktailsorter sort 120,000 numbers 1 times the average time used is: 165733.4794 milliseconds <2014-01-06 15:03:27> Bubblesorter sort 40,000 numbers 1 times the average time used is: 22954.3129 milliseconds <2014-01-06 15:04:17> bubblesorter sort 60,000 number 1 times average time used: 50343.8795 Milliseconds <2014-01-06 15:05:45> bubblesorter sort 80,000 numbers 1 times the average time used is: 87452.002 milliseconds <2014-01-06 15:07:59> Bubblesorter sort 100,000 numbers 1 times the average time used is: 134614.6996 milliseconds <2014-01-06 15:11:12> Bubblesorter sort 120,000 numbers 1 times the average time used is: 192812.0282 milliseconds <2014-01-06 15:11:12> quicksorter sort 40,000 number 1 times average time: 19.0011 milliseconds <2014-01-06 15:11:12> Quicksorter Sort 60,000 numbers 1 times the average time used is: 66.0038 milliseconds <2014-01-06 15:11:12> Quicksorter sort 80,000 numbers 1 times the average time used is: 32.0018 milliseconds <2014-01-06 15:11:12> quicksorter sort 100,000 1 times average time used: 42.0024 milliseconds < 2014-01-06 15:11:12> Quicksorter The average time to sort 120,000 numbers 1 times is: 44.0025 milliseconds
The above is the sorting algorithm big Data volume test results content, more relevant content please pay attention to topic.alibabacloud.com (www.php.cn)!