-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Benchmarks #21
Comments
Hi, https://github.com/MikeLankamp/fpm/blob/master/docs/performance.md (linked from the README) should contain what you need. Code using FPM may be vectorizable depending on its use and the compiler; I can't make blanket statement. Does this answer your questions? |
Yep, just looking for an fixed <48,16> or fixed<32,16> and its performance. But I am not sure if the library supports this. Is it supported? I saw the closed issue but this is unclear whether or not it is supported now. |
@MikeLankamp this one #5 (is this issue with the support of fixed<48,16> is abandoned?) |
@NikitaMishin As mentioned in issue #5, this library already supports fixed<48, 16>. I can confirm as just started using fixed<32, 32> today On topic: I'd also like +1 for benchmarks using larger type size. In fact, I'd love a benchmark for |
In case anyone is looking for some quick numbers, I did a quick test comparing standard fixed_16_16 vs fixed<48, 16> with int64_t and boost's int128_t in the context of my (very early phase) game.
That's about a 10x increase in time per frame update from switching to Edit: |
Do you have benchmarks for measuring the performance of double/float against fpm? Or plan to add this.
P.S is the fpm can be automatically vectorized by the compilers
The text was updated successfully, but these errors were encountered: