claude code review changes
This commit is contained in:
@@ -306,10 +306,8 @@ func BenchmarkRouterSimple(b *testing.B) {
|
||||
source := rand.NewSource(time.Now().UnixNano())
|
||||
r := rand.New(source)
|
||||
|
||||
// Generate a random integer between 0 and 99 (inclusive)
|
||||
rn := r.Intn(10000)
|
||||
|
||||
for b.Loop() {
|
||||
rn := r.Intn(10000)
|
||||
req, _ := http.NewRequest(http.MethodGet, "/"+strconv.Itoa(rn), nil)
|
||||
w := httptest.NewRecorder()
|
||||
m.ServeHTTP(w, req)
|
||||
|
||||
Reference in New Issue
Block a user