-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Open
Labels
Milestone
Description
Hi
I am building an application that calculates the hash value of a file using xxhash.
https://github.com/DogFortune/F2Checker/blob/63f6402ab041db50363a2e37bb2ccd180d04f9e4/F2Checker/Models/AppContext.cs#L29
I know that xxhash is very fast. However, we are currently encountering a problem where the speed is not as fast as we would like.
hanging the hash algorithm to SHA256 improves speed.
These are the results measured in the release build. Measurements were taken on 14 GiB mp4 files.
xxhash128: 350MB/s
SHA256: 1.63GB/s
Please tell me why performance is not improving.
I am Japanese and not good at English, so I am sorry if I am wrong.
Configuration
- .NET 8
- .NET MAUI
- macOS Sonoma 14.5
- Apple M1 Pro