Skip to content

MPFR is ~2x slower than julia 1.1 #31759

@KristofferC

Description

@KristofferC

Using a commit with MPFR 4.0.2 but before the BinaryBuilder PR I get

julia> a = 5.0; b = big"5.0"
5.0

julia> @btime $a + $b;
  57.579 ns (2 allocations: 112 bytes)

while on #31727 I get

julia> @btime $a + $b;
  100.848 ns (2 allocations: 112 bytes)

My guess is thus that the BB built MPFR library is slower than the one we used to built locally. This is reported by Nanosoldier at #31727 (comment) for the 1.2 backport branch.

Metadata

Metadata

Assignees

Labels

bignumsBigInt and BigFloatexternal dependenciesInvolves LLVM, OpenBLAS, or other linked librariesperformanceMust go fasterregressionRegression in behavior compared to a previous version

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions