forked from adobe/brackets
-
Notifications
You must be signed in to change notification settings - Fork 279
Performance Tests Procedure
peterflynn edited this page Mar 5, 2013
·
19 revisions
Sprint DoD has a task for logging performance tests results. We have a small set of performance tests that run within the unit test window. Eventually these tests will be automated. For now, here are the instructions for logging the sprint performance results:
- Confirm you have edit access to Brackets Performance Tests (Google Spreadsheet). If not, ask @jasonsanjose.
- Get the performance laptop (get key from @pflynn's desk)
- Uninstall any existing Brackets, and install the new Brackets build
- Sync the brackets repo on the machine to match the SHA of the installed build (look for the version field in \www\package.json)
- Don't forget to run
git submodule update
too - Note: You may need to open the SSH tunnel to access GitHub
- Don't forget to run
- Run
tools/setup_for_hacking.sh
, passing it the Brackets .app folder - Delete the Cache Folder:
rm -r ~/Library/Application\ Support/Brackets/cef_data/
- Reboot the computer (wait for other apps like the browser to finish auto-restoring)
- Launch Brackets
- Debug > Show Performance Data
- Log "Application Startup" time under "Startup > Cold Startup (first run, no prefs)"
- Debug > Run Tests, Performance, All
- Log "Performance Tests File open performance" under "Cold - Performance Tests File open performance"
- Log the first set of "JavaScript Inline Editor Creation" results under "Cold - JSQuickEdit Performance site should open inline editors."
- Log the last set of "JavaScript Inline Editor Creation" results under "Warm - JSQuickEdit Performance suite should open inline editors."
- Exit and restart Brackets
- Debug > Show Performance Data
- Log "Application Startup" time under "Startup > Warm Startup"
- Debug > Run Tests, Performance, Performance Tests
- Log "Performance Tests File open performance" under "Warm - Performance Tests File open performance"
- Go through each chart tab in the spreadsheet, click Advanced Edit, click the Start tab, and adjust each data range to add your new column (i.e. increment the letter after each ":").