Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot reload support #7

Merged
merged 18 commits into from
Nov 27, 2019
Prev Previous commit
Next Next commit
fix data race
  • Loading branch information
ktr0731 committed Nov 25, 2019
commit ee210c27b285fb1ad549a2f1a057fe1b52d9d67f
3 changes: 1 addition & 2 deletions fuzzyfinder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,10 @@ func TestFindMulti(t *testing.T) {
}

func BenchmarkFind(b *testing.B) {
f, term := fuzzyfinder.NewWithMockedTerminal()

b.ReportAllocs()
b.ResetTimer()
for i := 0; i < b.N; i++ {
f, term := fuzzyfinder.NewWithMockedTerminal()
term.SetEvents(append(runes("adrele!!"), key(termbox.KeyEsc))...)
f.Find(
tracks,
Expand Down