1234567891011121314 |
- package door
- import "testing"
- func BenchmarkSpinRite(b *testing.B) {
- Unicode = true
- var spin SpinRiteMsg = SpinRiteMsgInit(15, 5,
- ColorText("RED ON GREEN"),
- []string{"RED", "GREEN", "SOFTWARE"})
- for i := 0; i < b.N; i++ {
- spin.Output()
- }
- }
|