Update all content; add categories and move Tech, Games, Music to category taxonomy; add location taxonomy

This commit is contained in:
Eryn Wells 2022-10-12 10:55:50 -07:00
parent 413a49067a
commit ba73889720
11 changed files with 56 additions and 26 deletions

View file

@ -3,7 +3,8 @@ title: "Profiling ZSH"
date: 2022-01-23T11:35:38-08:00
description: In which I learn about how to profile my ZSH init files.
draft: false
tags: ["Tech", "ZSH"]
categories: ["Tech"]
tags: ["ZSH", "Dotfiles"]
---
I've been hacking on my [dotfiles][dotfiles] a lot lately. One of the things
@ -13,9 +14,11 @@ undertook the same project.
TIL, ZSH has a profiler built in. You can start it by calling the following.
{{< figures/code >}}
```zsh
zmodload zsh/zprof
```
{{< /figures/code >}}
Then, once you're done, you call `zprof` to get a report that tells you where
ZSH is spending most of its time. I put the line above at the top of my