<commit_before><commit_msg>adding page for profiling screencast<commit_after>+++
date = "2015-11-22T12:50:10-08:00"
title = "Profiling Go Programs"
type = "screencast"

+++

_Episode 8_

We explain why you should profile your programs, how to do it, and (briefly) how you can improve your code based on your profile results.
<!--more-->

_note: Change the last path element (after `/embed`) to be the new YouTube video ID_

<iframe
  class="ytplayer"
  type="text/html"
  width="640"
  height="390"
  src="http://www.youtube.com/embed/QvWUCYwmExE?autoplay=0&origin=http://example.com"
  frameborder="0"
></iframe>

Check out the example code [on Github](https://github.com/arschles/go-in-5-minutes/tree/master/episode8).

{'fraction_non_alphanumeric': 0.14008321775312066, 'fraction_numerical': 0.04022191400832178, 'mean_word_length': 4.73015873015873, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '361921', 'n_tokens_mistral': 275, 'n_tokens_neox': 249, 'n_words': 71}