We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent accf557 commit d7b19aaCopy full SHA for d7b19aa
Makefile
@@ -6,4 +6,4 @@ copy: build
6
test:
7
go test ./...
8
benchmark:
9
- go test -benchmem -run=^$$ -bench ^BenchmarkGetTopN$$ github.com/linuxsuren/yaml-readme/function
+ go test -benchmem -run=^$$ -bench ^*$$ github.com/linuxsuren/yaml-readme/function
function/github_test.go
@@ -418,3 +418,9 @@ func BenchmarkGetTopN(b *testing.B) {
418
getTopN(items, 3)
419
}
420
421
+
422
+func BenchmarkGitHubEmojiLink(b *testing.B) {
423
+ for i := 0; i < b.N; i++ {
424
+ GitHubEmojiLink("linuxsuren")
425
+ }
426
+}
0 commit comments