Update eof_validation_test.go

This commit is contained in:
Christina 2025-01-27 16:27:54 +02:00 committed by GitHub
parent e2eadbb47f
commit ad47eed83a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -363,7 +363,7 @@ func BenchmarkEOFValidation(b *testing.B) {
} }
} }
// BenchmarkEOFValidation tries to benchmark the code validation for the CALLF/RETF operation. // BenchmarkEOFValidation2 tries to benchmark the code validation for the CALLF/RETF operation.
// For this we set up code that calls into 1024 code sections which // For this we set up code that calls into 1024 code sections which
// - contain calls to some other code sections. // - contain calls to some other code sections.
// We can't have all code sections calling each other, otherwise we would exceed 48KB. // We can't have all code sections calling each other, otherwise we would exceed 48KB.