commit | c427ad74c6d7a814201695e9ffde0c5d400a7674 | [log] [tgz] |
---|---|---|
author | Tonis Tiigi <tonistiigi@gmail.com> | Thu Apr 07 10:39:59 2016 -0700 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Fri Jan 13 21:57:39 2017 +0000 |
tree | 262c440c1b31431f68463296485820686915d08c | |
parent | 2497afe528999a59ebf56c8b8fb6191e4dcde594 [diff] |
trace: initialize templates lazily Parsing the templates can take a significant amount of time(30-35ms) so it should not be done on the init phase. Change-Id: I8f258b8028510e698a97b55faeac0d28a61b7b22 Reviewed-on: https://go-review.googlesource.com/21654 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>