jeme edited a comment on issue #297:
URL: https://github.com/apache/lucenenet/issues/297#issuecomment-693274279
I threw a very quick-n-dirty benchmark together just to get an early idea.
``` ini
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.18363.1016 (1909/November2018Update/19H2)
Intel Core i7-6700 CPU 3.40GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=5.0.100-preview.7.20366.15
[Host] : .NET Core 3.1.6 (CoreCLR 4.700.20.26901, CoreFX 4.700.20.31603), X64 RyuJIT
DefaultJob : .NET Core 3.1.6 (CoreCLR 4.700.20.26901, CoreFX 4.700.20.31603), X64 RyuJIT
```
| Method | Mean | Error | StdDev |
|--------------- |---------:|---------:|---------:|
| MathUtil_Acosh | 115.0 μs | 2.26 μs | 3.58 μs |
| Math_Acosh | 243.6 μs | 4.74 μs | 6.94 μs |
| MathUtil_Asinh | 111.5 μs | 1.55 μs | 1.45 μs |
| Math_Asinh | 306.2 μs | 3.28 μs | 2.91 μs |
| MathUtil_Log | 139.7 μs | 2.79 μs | 4.42 μs |
| Math_Log | 180.5 μs | 2.39 μs | 1.99 μs |
| MathUtil_Atanh | 649.9 μs | 10.32 μs | 8.06 μs |
| Math_Atanh | 519.9 μs | 10.33 μs | 11.48 μs |
There is quite a few things to sort out, like platformes etc. but just wanted to add the
early indications.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
|