diff options
Diffstat (limited to 'x509roots/fallback/fallback_test.go')
| -rw-r--r-- | x509roots/fallback/fallback_test.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x509roots/fallback/fallback_test.go b/x509roots/fallback/fallback_test.go new file mode 100644 index 0000000..e380046 --- /dev/null +++ b/x509roots/fallback/fallback_test.go @@ -0,0 +1,11 @@ +package fallback + +import "testing" + +// BenchmarkInitTime benchmarks the time it takes to parse all certificates +// in this bundle, it corresponds to the init time of this package. +func BenchmarkInitTime(b *testing.B) { + for range b.N { + newFallbackCertPool() + } +} |
