Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Introduction to Front End Performance Optimization Measuring Performance Google PageSpeed

Julian Betancourt
Julian Betancourt
11,466 Points

Analyze local development performance

What if my project is still being developed. How can I test the performance without publishing the website?

2 Answers

Have you looked at http://www.jamescryer.com/2014/06/12/grunt-pagespeed-and-ngrok-locally-testing/ ?

Also, you can push up a staging or dev instance of you project, e.g. staging.project-name.com or on heroku or something similar, and run the test there. If you dont want google and the bunch indexing your site in their results, than throw in a robots.txt file.

Nathan Heffley
Nathan Heffley
19,878 Points

I'm sure there are tools that allow you to do this in some way, but if you are developing locally then any tests you run aren't going to be very reliable. Requests and downloads will happen much, much faster than they will happen when the site is being hosted. Maybe you could get a site that you don't publish/announce anywhere and that you use for testing performance. That's what I do.