Code Monkey home page Code Monkey logo

argtools.jl's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

argtools.jl's Issues

Why is this package so slow to load?

This simple package seems to be much slower to load than other, even much larger, packages. Why?

Base  ───────────── 30.043084 seconds
Artifacts  ────────  4.938013 seconds
ArgTools  ─────────  1.317401 seconds
Base64  ───────────  0.148528 seconds
CRC32c  ───────────  0.009086 seconds
FileWatching  ─────  0.107966 seconds
Libdl  ────────────  0.001603 seconds
Logging  ──────────  0.033821 seconds
Mmap  ─────────────  0.088801 seconds
NetworkOptions  ───  0.060583 seconds
SHA  ──────────────  0.200390 seconds
Serialization  ────  0.371041 seconds
Sockets  ──────────  0.317140 seconds
Unicode  ──────────  0.007902 seconds
DelimitedFiles  ───  0.112567 seconds
LinearAlgebra  ────  8.648851 seconds
Markdown  ─────────  1.130682 seconds
Printf  ───────────  0.335112 seconds
Random  ───────────  0.557284 seconds
Tar  ──────────────  0.279798 seconds
Dates  ────────────  2.242303 seconds
Distributed  ──────  0.882544 seconds
Future  ───────────  0.005197 seconds
InteractiveUtils  ─  0.678738 seconds
LibGit2  ──────────  1.414640 seconds
Profile  ──────────  0.288898 seconds
SparseArrays  ─────  3.496460 seconds
UUIDs  ────────────  0.014796 seconds
REPL  ─────────────  5.098323 seconds
SharedArrays  ─────  0.171370 seconds
Statistics  ───────  0.184671 seconds
SuiteSparse  ──────  0.764763 seconds
TOML  ─────────────  0.073216 seconds
Test  ─────────────  0.273135 seconds
LibCURL  ──────────  0.497091 seconds
Downloads  ────────  0.493226 seconds
Pkg  ──────────────  5.225217 seconds
LazyArtifacts  ────  0.001872 seconds
Stdlibs total  ──── 40.490041 seconds
Sysimage built. Summary:
Total ───────  70.535501 seconds 
Base: ───────  30.043084 seconds 42.5929%
Stdlibs: ────  40.490041 seconds 57.4038%

arg_readers Process tests broken on windows

When run properly (for example, JuliaLang/julia#39544) the tests on Windows fail, as they neglect to properly drain the process output pipe, as is mandatory for correct and successful operation on all operating systems (though this condition is currently only tested for and enforced on Windows, unless we merge JuliaLang/julia#39574).

An example test failure may either look like the following, or simply will deadlock the process until CI time expires:

Error in testset Tar:
Error During Test at C:\buildbot\worker-tabularasa\tester_win64\build\share\julia\stdlib\v1.7\Tar\test\runtests.jl:492
  Got exception outside of a @test
  failed process: Process(`cat 'C:\Windows\TEMP\jl_9FC0.tmp'`, ProcessExited(1)) [1]
  
  Stacktrace:
    [1] pipeline_error
      @ .\process.jl:526 [inlined]
    [2] open(::Main.Test30Main_Tar.var"#118#136", ::Cmd; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ Base .\process.jl:401
    [3] open
      @ .\process.jl:392 [inlined]
    [4] #10
      @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\ArgTools\src\ArgTools.jl:187 [inlined]
    [5] (::Main.Test30Main_Tar.var"#114#132"{String})(tar::ArgTools.var"#10#20"{String})
      @ Main.Test30Main_Tar C:\buildbot\worker-tabularasa\tester_win64\build\share\julia\stdlib\v1.7\Tar\test\runtests.jl:512
    [6] arg_readers(body::Main.Test30Main_Tar.var"#114#132"{String}, path::String, type::Type)
      @ ArgTools C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\ArgTools\src\ArgTools.jl:230
    [7] arg_readers(body::Function, path::String)
      @ ArgTools C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\ArgTools\src\ArgTools.jl:228
    [8] macro expansion
      @ C:\buildbot\worker-tabularasa\tester_win64\build\share\julia\stdlib\v1.7\Tar\test\runtests.jl:493 [inlined]
    [9] macro expansion
      @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\Test\src\Test.jl:1152 [inlined]
   [10] macro expansion
      @ C:\buildbot\worker-tabularasa\tester_win64\build\share\julia\stdlib\v1.7\Tar\test\runtests.jl:493 [inlined]
   [11] macro expansion
      @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\Test\src\Test.jl:1152 [inlined]
   [12] top-level scope
      @ C:\buildbot\worker-tabularasa\tester_win64\build\share\julia\stdlib\v1.7\Tar\test\runtests.jl:485
   [13] include
      @ .\Base.jl:386 [inlined]
   [14] macro expansion
      @ C:\buildbot\worker-tabularasa\tester_win64\build\share\julia\test\testdefs.jl:24 [inlined]
   [15] macro expansion
      @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\Test\src\Test.jl:1152 [inlined]
   [16] macro expansion
      @ C:\buildbot\worker-tabularasa\tester_win64\build\share\julia\test\testdefs.jl:23 [inlined]
   [17] macro expansion
      @ .\timing.jl:356 [inlined]
   [18] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main C:\buildbot\worker-tabularasa\tester_win64\build\share\julia\test\testdefs.jl:21
   [19] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\Distributed\src\process_messages.jl:278
   [20] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\Distributed\src\process_messages.jl:63
   [21] macro expansion
      @ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\Distributed\src\process_messages.jl:278 [inlined]
   [22] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed .\task.jl:406

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.