Skip to content
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

10x slowdown for creating DArray since 0.4 #119

Closed
andreasnoack opened this issue Dec 30, 2016 · 1 comment
Closed

10x slowdown for creating DArray since 0.4 #119

andreasnoack opened this issue Dec 30, 2016 · 1 comment

Comments

@andreasnoack
Copy link
Member

I checked out version 0.2.0 of the package to make it more comparable. Using four processors on my laptop. This is probably an issue in base but will keep an issue here until we have isolated the issue in base since it has quite big impact on the usability of this package.

cc: @amitmurthy

Julia 0.4

julia> @time DArray(I -> Array{Float64}(map(length,I)), (1000,1000));
  0.005953 seconds (1.79 k allocations: 151.328 KB)

julia> @time DArray(I -> Array{Float64}(map(length,I)), (1000,1000));
  0.005756 seconds (1.68 k allocations: 144.516 KB)

Julia 0.5

julia> @time DArray(I -> Array{Float64}(map(length,I)), (1000,1000));
  0.059640 seconds (17.54 k allocations: 792.458 KB)

julia> @time DArray(I -> Array{Float64}(map(length,I)), (1000,1000));
  0.053510 seconds (17.09 k allocations: 770.286 KB)
@andreasnoack
Copy link
Member Author

See explanation in JuliaLang/julia#19838

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

No branches or pull requests

1 participant