derreisende77 commented on issue #13959:
URL: https://github.com/apache/lucene/issues/13959#issuecomment-2438907870

   @benwtrent I have JProfiler but I am not really experienced in using it - or 
profiling at all.
   I made two runs on macOS and made screenshots from the hotspot page.
   
   JDK23:
   
![jdk23](https://github.com/user-attachments/assets/d2753b47-1f68-49c8-9455-daf761956d96)
   
   JDK22:
   
![jdk22](https://github.com/user-attachments/assets/6292f639-9550-4e46-8e05-c13ac688f21f)
   
   The highlighted line in JDK22 image marks the function from where I posted 
the code snippet at the beginning. 
   The `StoredFields.document` ine above corresponds to the `var d = 
storedFields.document(docId, INTEREST_SET);` line.
   
   What I have seen during the profile run:
   - `ArrayUtil.growExact` takes a lot more time on JDK23 than on JDK 22.
   - `UnicodeUtil.UTF16toUTF8` calls were created during the index creation 
phase and take almost the same time on JDK 22 and 23.
   
   HTH


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to