An open API service indexing awesome lists of open source software.

https://github.com/dailc/jsfoundation-perfanalysis

js系列性能分析专题,包括各自数组遍历方式,各自变量交换方式,各种数组排序方式等在不同环境下的性能分析
https://github.com/dailc/jsfoundation-perfanalysis

Last synced: 10 months ago
JSON representation

js系列性能分析专题,包括各自数组遍历方式,各自变量交换方式,各种数组排序方式等在不同环境下的性能分析

Awesome Lists containing this project

README

          

# jsPerformanceAnalysis
js系列性能分析专题,包括各自数组遍历方式,各自变量交换方式,各种数组排序方式等在不同环境下的性能分析

## JS性能分析系列
针对一些常用的js操作,在大量计算后分析各自性能,包括

* 几种常用的数值交换方式分析
* 几种常用的数组遍历方式分析
* 几种常用的数组排序方式分析

### 几种常用的数值交换方式分析
JS几种数值交换方式分析比较,包括tmp变量交换,加减法,异或,数组法等

#### 效果图
![](https://dailc.github.io/jsPerformanceAnalysis/staticresource/performanceAnalysis/demo_js_performanceAnalysis_jsexchangevalue_1.png)
![](https://dailc.github.io/jsPerformanceAnalysis/staticresource/performanceAnalysis/demo_js_performanceAnalysis_jsexchangevalue_2.png)

#### 示例页面
[JS几种数值交换方式分析比较](https://dailc.github.io/jsPerformanceAnalysis/html/performanceAnalysis/demo_performanceAnalysis_jsexchangevalue.html)

### 几种常用的数组遍历方式分析
JS中几种常用数组遍历方式分析比较,包括for循环,for in,foreach,map法等

#### 效果图
![](https://dailc.github.io/jsPerformanceAnalysis/staticresource/performanceAnalysis/demo_js_performanceAnalysis_jsarrayGoThrough_1.png)

#### 示例页面
[JS中几种常用数组遍历方式分析比较](https://dailc.github.io/html/jsPerformanceAnalysis/performanceAnalysis/demo_performanceAnalysis_jsarrayGoThrough.html)

### JS中几种常用数组排序方式分析比较
JS中几种常用数组排序方式分析比较,包括冒泡排序,快速排序,插入排序,堆排序,希尔排序,桶排序,计数排序,基数排序,sort等

#### 效果图
![](https://dailc.github.io/jsPerformanceAnalysis/staticresource/performanceAnalysis/algorithmSort/demo_js_algorithmSort_bucketSort_1.png)

#### 示例页面
[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