https://github.com/dailc/jsfoundation-perfanalysis
js系列性能分析专题,包括各自数组遍历方式,各自变量交换方式,各种数组排序方式等在不同环境下的性能分析
https://github.com/dailc/jsfoundation-perfanalysis
Last synced: 10 months ago
JSON representation
js系列性能分析专题,包括各自数组遍历方式,各自变量交换方式,各种数组排序方式等在不同环境下的性能分析
- Host: GitHub
- URL: https://github.com/dailc/jsfoundation-perfanalysis
- Owner: dailc
- License: mit
- Created: 2016-12-05T12:22:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-20T01:55:57.000Z (over 9 years ago)
- Last Synced: 2024-01-15T00:20:31.695Z (over 2 years ago)
- Language: JavaScript
- Size: 648 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jsPerformanceAnalysis
js系列性能分析专题,包括各自数组遍历方式,各自变量交换方式,各种数组排序方式等在不同环境下的性能分析
## JS性能分析系列
针对一些常用的js操作,在大量计算后分析各自性能,包括
* 几种常用的数值交换方式分析
* 几种常用的数组遍历方式分析
* 几种常用的数组排序方式分析
### 几种常用的数值交换方式分析
JS几种数值交换方式分析比较,包括tmp变量交换,加减法,异或,数组法等
#### 效果图


#### 示例页面
[JS几种数值交换方式分析比较](https://dailc.github.io/jsPerformanceAnalysis/html/performanceAnalysis/demo_performanceAnalysis_jsexchangevalue.html)
### 几种常用的数组遍历方式分析
JS中几种常用数组遍历方式分析比较,包括for循环,for in,foreach,map法等
#### 效果图

#### 示例页面
[JS中几种常用数组遍历方式分析比较](https://dailc.github.io/html/jsPerformanceAnalysis/performanceAnalysis/demo_performanceAnalysis_jsarrayGoThrough.html)
### JS中几种常用数组排序方式分析比较
JS中几种常用数组排序方式分析比较,包括冒泡排序,快速排序,插入排序,堆排序,希尔排序,桶排序,计数排序,基数排序,sort等
#### 效果图

#### 示例页面
[JS中几种常用数组遍历方式分析比较](https://dailc.github.io/html/jsPerformanceAnalysis/performanceAnalysis/demo_performanceAnalysis_jsarrayGoThrough.html)
## 相关博文
* [JS几种变量交换方式以及性能分析对比](https://dailc.github.io/2016/11/21/baseKnowlenge_javascript_exchangeValue.html)
* [JS几种数组遍历方式以及性能分析对比](https://dailc.github.io/2016/11/25/baseKnowlenge_javascript_jsarrayGoThrough.html)
* [排序算法之桶排序的深入理解以及性能分析](https://dailc.github.io/2016/12/03/baseKnowlenge_algorithm_sort_bucketSort.html)
## License
MIT