Skip to content
Displays HTML5 Navigation Timings at the top of the page
JavaScript
Find file
Latest commit 11c688d @Cybermaxs Update README.md
Failed to load latest commit information.
dist
examples
src
.gitignore Add todomvc + rename
LICENSE
README.md Update README.md
bower.json bump to 0.0.2
gulpfile.js Add min version
package.json bump to 0.0.2

README.md

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 (content doesn't matter, it is automatically generated by Github)

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

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

Something went wrong with that request. Please try again.