diff options
Diffstat (limited to 'internal/rosa/all_test.go')
| -rw-r--r-- | internal/rosa/all_test.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/rosa/all_test.go b/internal/rosa/all_test.go index 407dc178..f97ebbdf 100644 --- a/internal/rosa/all_test.go +++ b/internal/rosa/all_test.go @@ -19,6 +19,18 @@ func TestLoad(t *testing.T) { } } +func BenchmarkAll(b *testing.B) { + for b.Loop() { + for i := range rosa.PresetEnd { + rosa.Std.Load(rosa.PArtifact(i)) + } + + b.StopTimer() + rosa.DropCaches() + b.StartTimer() + } +} + func TestResolveName(t *testing.T) { t.Parallel() |
