Skip to content

Also test using gmp-d in bigint_benchmark#411

Merged
9il merged 1 commit intolibmir:masterfrom
nordlow:master
May 31, 2022
Merged

Also test using gmp-d in bigint_benchmark#411
9il merged 1 commit intolibmir:masterfrom
nordlow:master

Conversation

@nordlow
Copy link
Copy Markdown
Contributor

@nordlow nordlow commented May 31, 2022

Calling dub --build=release

gives

Running bigint_benchmark 
--------------------------------------------
mir speedup = 55.6%
std = 2 secs, 711 ms, 185 μs, and 4 hnsecs
mir = 1 sec, 741 ms, 984 μs, and 3 hnsecs
 ............... 64bit linux ............... 
--------------------------------------------
--------------------------------------------
gmp speedup = 1644.5%
std = 2 secs, 711 ms, 185 μs, and 4 hnsecs
gmp = 155 ms, 410 μs, and 9 hnsecs
 ............... 64bit linux ............... 
--------------------------------------------

, @9il! :)

gmp has 31 years of optimizations in it...

@9il 9il merged commit 3024b5c into libmir:master May 31, 2022
@9il
Copy link
Copy Markdown
Member

9il commented May 31, 2022

That is illegal speed :)

@jmh530
Copy link
Copy Markdown
Contributor

jmh530 commented May 31, 2022

@9il Might make for a good blog post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants