pjfanning commented on issue #2321:
URL: https://github.com/apache/pekko/issues/2321#issuecomment-3418668422

   I ran the new benchmarks from #2325 against the main branch, PR2324 and 
PR2323 code.
   So far, PR2323 helps a little but PR2324 has poor performance - possibly a 
bug in my code that damages the performance.
   
   
   ```
   indexOfSlice
   
   Scala 2.13 main branch (Java 17.0.16)
   [info] Benchmark                                            Mode  Cnt        
 Score         Error  Units
   [info] ByteString_indexOfSlice_Benchmark.bs_indexOfSlice   thrpt    3  
32742448.312 ± 7405884.505  ops/s
   [info] ByteString_indexOfSlice_Benchmark.bss_indexOfSlice  thrpt    3   
3944861.418 ± 1012500.206  ops/s
   
   
   Scala 2.13 full 2 way impl (Java 17.0.16)
   [info] Benchmark                                            Mode  Cnt        
Score         Error  Units
   [info] ByteString_indexOfSlice_Benchmark.bs_indexOfSlice   thrpt    3  
3243337.351 ± 1006365.481  ops/s
   [info] ByteString_indexOfSlice_Benchmark.bss_indexOfSlice  thrpt    3  
3045235.141 ± 5055886.316  ops/s
   
   
   Scala 2.13 with just getLong changes (Java 17.0.16)
   [info] Benchmark                                            Mode  Cnt        
 Score         Error  Units
   [info] ByteString_indexOfSlice_Benchmark.bs_indexOfSlice   thrpt    3  
35207523.319 ± 9632183.164  ops/s
   [info] ByteString_indexOfSlice_Benchmark.bss_indexOfSlice  thrpt    3   
3583970.019 ±   34365.425  ops/s
   ```


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to