This repo tests the relative speeds of SVG icon, font icons and SVG as background images
Tests can be run either on a mobile browser, or in a Cordova app. To get started
- Clone this repo
- Run
npm install -g ionic gulp bower
- CD into each folder and run
npm install
- Run
bower install
andgulp
inside demo1, demo2 and demo3 - Download Chromedriver and start it.
- CD into each of demo1, demo2 and demo 3 and run
ionic hooks add
andionic platform add android
- Install demo1, demo2 and demo3 apps on your android device or emulator using
ionic run
. - Change
DEVICE
variable intest/index.js
tocordova
in therunTest
function - Run
node test/index.js
. All data will be available indata.json
- Start a http server with the repo as root. You could also go
npm install -g servedir
and start server usingservedir . 8080
- Change
DEVICE
variable intest/index.js
tomobile
inrunTest
function - Run
node test/index.js
. All data will be available indata.json