项目作者: KennethanCeyer

项目描述 :
:chart_with_upwards_trend: the performance between angular 1x, 2x and reactjs.
高级语言: JavaScript
项目地址: git://github.com/KennethanCeyer/angular-benchmark.git
创建时间: 2016-11-22T11:07:28Z
项目社区:https://github.com/KennethanCeyer/angular-benchmark

开源协议:MIT License

下载


Angular benchmark

Join the chat at https://gitter.im/KennethanCeyer/tutorial-git

Alert

  1. This project measures only JIT type codes.
  2. If you compile angular code to AOT.
  3. It will be more faster.

At the outset

  • This repository is for testing modern javascript libraries or frameworks.
  • Now, It was tested AngularJS 1, 2 and ReactJS.
  • If you have some question, Use GitHub issue.

Benchmark library or framework

  • AngularJS 1 (version v1.5.8)
  • AngularJS 2 (version v2.2.0)
  • ReactJS (version v15.4.0) with react-router(version v3.0.0)

How to use

  • You can install as follows.

    1. git clone git@github.com:KennethanCeyer/AngularJS-vs-ReactJS-Benchmark.git
  • If you check AngularJS 2 benchmark.

    1. cd AngularJS\ 2
    2. npm install
    3. npm start
  • You can check other benchmark to npm start command.


Behchmark Metric

  1. Benchmark1

    • Create 10,000 tags.
  2. Benchmark2

    • Delete 5,000 tags from 10,000 created tags.
  3. Benchmark3

    • Create 20 columns and 1,000 rows table by nested loop.

Results

  • Yellow one is top performance result in each of library or category.
  • You can check Benchmark_Total.xlsx file in root directory.

    Benchmark result


License