Framework-Performance-Tests-with-Meteor
Framework-Performance-Tests-with-Meteor copied to clipboard
Testing Blaze, React, Angular 1.x, & Angular 2 performance with Meteor
Front-End Framework Performance Tests with Meteor.js
Comparing Performance of Blaze, React, Angular-Meteor & Angular2-Meteor:
Rendering & Re-Rendering Speeds

- Blaze (Meteor default)
- React-Meteor
- Angular-Meteor
- Angular2-Meteor
See also: AngularJS track by & one-time binding Performance.
Testing using Angular BenchPress
Setup
-
Setup up Protractor
npm install -g protractor webdriver-manager update webdriver-manager start
-
Setup BenchPress
cd tests npm install --save
Run a Test

-
Open a different terminal and start webdriver
webdriver-manager start -
Run an instance of the app you want to test example:
cd angular-2 meteor -
Set the settings for your test in
tests.spec.jsvar TEST = { sampleSize: 20, // number of times the test runs address: 'http://localhost:3000/', counts: [100, 500, 1000, 2000, 3000, 4000, 5000] }; -
Run Benchpress
protractor benchpress.conf.js
-
Check the output

Alternatively, output the results to a file.
protractor benchpress.conf.js > results/angular-1.txt