vamsikarnika commented on code in PR #13803:
URL: https://github.com/apache/hudi/pull/13803#discussion_r2309972764
##########
hudi-common/src/test/java/org/apache/hudi/common/model/TestHoodieLogFile.java:
##########
@@ -77,6 +84,90 @@ void createFromStringWithSuffix() {
assertFileGetters(pathWithSuffix, null, hoodieLogFile, -1, suffix);
}
+ @Test
+ void name() {
+ }
+
+ @Test
+ void testLogPatternMatch() {
Review Comment:
Used this test for micro-benchmarking previous and current regex patterns.
Below are the numbers after taking average of 100 runs, parsing 1M string in
each run.
Previous Regex -> Average time (find) = 1489 ms
New Regex -> - Average time (matches) = 1313 ms
Will remove this test later.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]