Giter Club home page Giter Club logo

speedy.js's Introduction

Welcome to speedy.js, a minimalist script (less than 3 KB) that renders page timings at the top of the page.

Here is a basic example :

demo

Live demo available [here] (http://cybermaxs.github.io/speedy.js/) (content doesn't matter, it is automatically generated by Github)

[Performance is a feature] (http://blog.codinghorror.com/performance-is-a-feature/) and everybody in your company should be educated and involved in this topic. This script will allow everybody to have a quick overview of the timings. It's definitely a good idea idea to use it during dev/staging environements.

Tip : you may find it also very useful for mobile web dev as Navigation Timing API is supported by most of browsers.

#How to install You can download the dist version included in this repo or use bower to install this component.

>bower install speedy.js

In the current version, speedy.js is not intrusive : You just have to include it somewhere in you page. speedy.js will wait for the load event or run immediatly if the document is already fully loaded.

<script src="PATHTOSPEEDY/speedy.min.js"></script>

Important Note : this script has no prerequisites and don't download external resources.

#Can I use ... ? Navigation timing is not currently supported by all browsers. You can check requirements [here] (http://caniuse.com/#feat=nav-timing)

Here are the main results :

  • Internet Explorer 9
  • Firefox 7
  • Chrome 6
  • Safari 8
  • Opera 15
  • iOS Safari 8
  • Android browser 4
  • Opera Mobile 22
  • Blackberry 10

#More info

Acknowledgements

speedy.js's People

Contributors

cybermaxs avatar

Stargazers

P.N. Maskov avatar  avatar

Watchers

Pritesh avatar James Cloos avatar  avatar

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.