You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
420 B
17 lines
420 B
package migrations
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func BenchmarkGetIssueIndexFromHTMLURLAlt(b *testing.B) {
|
|
for i := 0; i <= b.N; i++ {
|
|
getIssueIndexFromHTMLURLAlt("https://github.com/octocat/Hello-World/issues/1347#issuecomment-1")
|
|
}
|
|
}
|
|
|
|
func BenchmarkGetIssueIndexFromHTMLURL(b *testing.B) {
|
|
for i := 0; i <= b.N; i++ {
|
|
getIssueIndexFromHTMLURL("https://github.com/octocat/Hello-World/issues/1347#issuecomment-1")
|
|
}
|
|
}
|
|
|