Giter VIP home page Giter VIP logo

svg-perf-test's Introduction

SVG Performance Test cases

This repo tests the relative speeds of SVG icon, font icons and SVG as background images

Running the tests

Tests can be run either on a mobile browser, or in a Cordova app. To get started

  1. Clone this repo
  2. Run npm install -g ionic gulp bower
  3. CD into each folder and run npm install
  4. Run bower install and gulp inside demo1, demo2 and demo3
  5. Download Chromedriver and start it.

Cordova App on Android

  1. CD into each of demo1, demo2 and demo 3 and run ionic hooks add and ionic platform add android
  2. Install demo1, demo2 and demo3 apps on your android device or emulator using ionic run.
  3. Change DEVICE variable in test/index.js to cordova in the runTest function
  4. Run node test/index.js. All data will be available in data.json

Chrome on Android

  1. Start a http server with the repo as root. You could also go npm install -g servedir and start server using servedir . 8080
  2. Change DEVICE variable in test/index.js to mobile in runTest function
  3. Run node test/index.js. All data will be available in data.json

svg-perf-test's People

Contributors

mhartington avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

web-perf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.