<commit_before># Frontend Performance Training

This repo contains slides and materials to help you learn about frontend performance. From basic principles to workflow automation, you and your team can learn how to audit sites, fix problems, and stick to a performance budget throughout the life of a project.

## Learning Objectives

- **Create a foundation of knowledge** which allows you to optimize an existing site.
- **Confidently build a performant site** from scratch while balancing other priorities like feature backlogs and deadlines.
- **Use automated workflow tools** to check every change you make to a site, ensuring that major changes in performance do not go unnoticed during the development cycle.

## History

* [DrupalCon LA 2015](https://events.drupal.org/losangeles2015/training/frontend-performance-training)<commit_msg>:book: add installation instructions<commit_after># Frontend Performance Training

This repo contains slides and materials to help you learn about frontend performance. From basic principles to workflow automation, you and your team can learn how to audit sites, fix problems, and stick to a performance budget throughout the life of a project.

## Learning Objectives

- **Create a foundation of knowledge** which allows you to optimize an existing site.
- **Confidently build a performant site** from scratch while balancing other priorities like feature backlogs and deadlines.
- **Use automated workflow tools** to check every change you make to a site, ensuring that major changes in performance do not go unnoticed during the development cycle.

## History

* [DrupalCon LA 2015](https://events.drupal.org/losangeles2015/training/frontend-performance-training)

# Installation

This repo uses Ruby and npm to power a Jekyll site. Assuming you already have [Homebrew](http://brew.sh/), the following commands will install the whole training kit for you (run them at the root of the repo):

```
# update homebrew
brew update

# install node.js
brew install node

# install rbenv
brew install rbenv
brew install ruby-build

# install ruby
rbenv install 2.0.0-p451

# install the rest of the tools
npm install
```
{'fraction_non_alphanumeric': 0.05885078776645042, 'fraction_numerical': 0.010194624652455977, 'mean_word_length': 4.88283378746594, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2780223', 'n_tokens_mistral': 545, 'n_tokens_neox': 501, 'n_words': 286}