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

readdlm speed regression #29170

Closed
alexmorley opened this issue Sep 13, 2018 · 2 comments
Closed

readdlm speed regression #29170

alexmorley opened this issue Sep 13, 2018 · 2 comments

Comments

@alexmorley
Copy link
Contributor

yes 1234567 | head -1000000 > test.txt
julia -e "versioninfo()"
julia test.jl
juliav7 -e "versioninfo()"
juliav7 test.jl

Gives

julia version 0.6.0
0.823502 seconds (286.43 k allocations: 31.633 MiB)
1.165942 seconds (3.09 M allocations: 104.117 MiB, 48.31% gc time)
julia version 0.7.0
6.022019 seconds (34.26 M allocations: 859.682 MiB, 4.85% gc time)
5.411997 seconds (35.93 M allocations: 875.413 MiB, 4.22% gc time)

where test.jl is

if VERSION >= v"0.7.0"
    using DelimitedFiles
end
@time readdlm("test.txt",' ', Int, '\n',dims=(1000000,1))
@time readdlm("test.txt")

Version Information Below:

Julia Version 0.6.0
Commit 9036443 (2017-06-19 13:05 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Xeon(R) CPU E7-8860 v4 @ 2.20GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, broadwell)

Julia Version 0.7.0
Commit a4cb80f (2018-08-08 06:46 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Xeon(R) CPU E7-8860 v4 @ 2.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.0 (ORCJIT, broadwell)

@JeffBezanson
Copy link
Member

Duplicate of #29036?

@alexmorley
Copy link
Contributor Author

Yes, probably! Sorry not sure I didn't hit that on my search. Thanks.

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

2 participants