paulirwin commented on issue #933:
URL: https://github.com/apache/lucenenet/issues/933#issuecomment-2016528219

   @AddictedCS Thank you for the report. I can reproduce a significant 
discrepancy on a M1 Pro MacBook Pro with beta 16:
   
   ```
   BenchmarkDotNet v0.13.12, macOS Sonoma 14.3.1 (23D60) [Darwin 23.3.0]
   Apple M1 Pro, 1 CPU, 8 logical and 8 physical cores
   .NET SDK 8.0.202
     [Host]   : .NET 7.0.10 (7.0.1023.36312), Arm64 RyuJIT AdvSIMD
     .NET 7.0 : .NET 7.0.10 (7.0.1023.36312), Arm64 RyuJIT AdvSIMD
     .NET 8.0 : .NET 8.0.3 (8.0.324.11423), Arm64 RyuJIT AdvSIMD
   
   Server=True  
   
   | Method                  | Job      | Runtime  | N   | Mean       | Error   
  | StdDev    | Ratio | RatioSD |
   |------------------------ |--------- |--------- |---- 
|-----------:|----------:|----------:|------:|--------:|
   | IndexDocumentsBenchmark | .NET 7.0 | .NET 7.0 | 100 |   329.3 ms |   3.78 
ms |   3.35 ms |  1.00 |    0.00 |
   | IndexDocumentsBenchmark | .NET 8.0 | .NET 8.0 | 100 | 9,685.6 ms | 191.91 
ms | 534.98 ms | 29.77 |    2.12 |
   ```
   
   For me, the ratio is ~30x, not 12,000x, but that's still unacceptable.
   
   I tried it against master with similar results (note: I dropped N to 25 just 
to speed up the test run, but similar ratio):
   
   ```
   BenchmarkDotNet v0.13.12, macOS Sonoma 14.3.1 (23D60) [Darwin 23.3.0]
   Apple M1 Pro, 1 CPU, 8 logical and 8 physical cores
   .NET SDK 8.0.202
     [Host]   : .NET 7.0.10 (7.0.1023.36312), Arm64 RyuJIT AdvSIMD
     .NET 7.0 : .NET 7.0.10 (7.0.1023.36312), Arm64 RyuJIT AdvSIMD
     .NET 8.0 : .NET 8.0.3 (8.0.324.11423), Arm64 RyuJIT AdvSIMD
   
   Server=True  
   
   | Method                  | Job      | Runtime  | N  | Mean        | Error   
  | StdDev     | Ratio | RatioSD |
   |------------------------ |--------- |--------- |--- 
|------------:|----------:|-----------:|------:|--------:|
   | IndexDocumentsBenchmark | .NET 7.0 | .NET 7.0 | 25 |    62.54 ms |  1.192 
ms |   1.464 ms |  1.00 |    0.00 |
   | IndexDocumentsBenchmark | .NET 8.0 | .NET 8.0 | 25 | 2,276.04 ms | 89.073 
ms | 262.632 ms | 32.70 |    2.25 |
   ```
   
   I'll dig into this on my end as well and will update here if I find anything.


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

Reply via email to