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

release-1.8: Backports for 1.8-rc4 #46075

Merged
merged 45 commits into from
Aug 7, 2022
Merged
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
08f12b9
fix convert call in Artifacts.jl (#46040)
KristofferC Jul 14, 2022
78ad6ff
Allow `BUILDKITE_BRANCH` to provide branch name (#46053)
staticfloat Jul 15, 2022
7674873
fixup time_imports news entry
IanButterworth Jul 16, 2022
c8c6cc7
[LibCURL_jll] Update to v7.84 (#45967)
giordano Jul 12, 2022
3dc152b
fix Libc.rand and seed problems (#44432)
vtjnash Apr 7, 2022
6a05297
give finalizers their own RNG state (#45212)
JeffBezanson Jul 14, 2022
6ba1d23
Update LLVM to include additional patches. (#46091)
maleadt Jul 19, 2022
2bb4aec
Unset NDEBUG in analyzers
haampie Jun 9, 2022
dcd915b
Don't segfault when running atexit before jl_threads_init
vchuravy Jun 20, 2022
47cd899
Explicitly test for a failing exit code, do not include signals
staticfloat Jun 20, 2022
9bb9625
Don't call `jl_errorf()` when we're early in bringup
staticfloat Jun 25, 2022
6d7539b
more friendly/useful error for stack overflow in type inference (#44971)
JeffBezanson Apr 15, 2022
d6e8e5d
mark two_mul as consistent (#46022)
oscardssmith Jul 15, 2022
ef18da7
Export jl_is_foreign_type
Jul 20, 2022
54a6806
[nghttp2_jll] Upgrade to v1.48.0 (#45980)
giordano Jul 17, 2022
9fa6b7f
fix #45825, BitArray methods assuming 1-indexing of AbstractArray (#4…
JeffBezanson Jul 18, 2022
bcac3c2
remove examples of time_imports nesting given it was a bug (#46072)
IanButterworth Jul 17, 2022
169567d
Fix fast path for `strides(::ReinterpretArray)` with dense parent. (#…
N5N3 Jul 20, 2022
bfc7e3e
bump Pkg version to latest 1.8
Jul 20, 2022
1549064
Specialize tuple setindex to avoid ntuple-related performance regress…
maleadt Jul 20, 2022
f3bc6bf
Use `max(1, Sys.CPU_THREADS)` BLAS threads for apple `aarch64`. (#46085)
chriselrod Jul 20, 2022
a382f32
Make gcd/lcm effect-free by using LazyString (#44935)
tkf Apr 12, 2022
8dc9f58
Fix return_type model when run in toplevel context (#44670)
Keno Mar 19, 2022
1110f2b
Merge pull request #45299 from JuliaLang/kf/rt_effect_free
Keno May 16, 2022
55eb09d
Merge pull request #45613 from JuliaLang/avi/concretemath
aviatesk Jun 11, 2022
1835d8f
test: allow new concrete-foldability tests to fail (#45670)
aviatesk Jun 15, 2022
2daf1fd
compiler: move effects-related test cases into dedicated file (#45992)
aviatesk Jul 12, 2022
1390613
Merge pull request #45993 from JuliaLang/avi/recursion-effects
aviatesk Jul 12, 2022
1645d1d
Merge pull request #46111 from JuliaLang/avi/correct-consistent
aviatesk Jul 25, 2022
a1937ab
effects: improve tri-state printing
aviatesk Jun 20, 2022
431a5e5
manual fixes, `@invoke` isn't exported on 1.8
aviatesk Jul 25, 2022
9b38226
inference: fix #46207, make sure we never form nested `Conditional` (…
aviatesk Jul 29, 2022
c02b4e1
Fix timev compilation time tracking and add tests (#46100)
IanButterworth Jul 20, 2022
20ef7d9
update Pkg branch & commit
IanButterworth Aug 1, 2022
a9bf474
Prefix Float16 intrinsics
vtjnash Jun 11, 2022
71d062c
Define aliases to FP16 crt in the OJIT
vchuravy Jun 11, 2022
7ff795c
Emit aliases into the system image
vchuravy Jun 12, 2022
4983135
Merge pull request #46110 from JuliaLang/vc/fp16_bb
vchuravy Aug 2, 2022
4b5ea08
improve `cat` inferrability (#45028)
aviatesk Apr 25, 2022
5cd8444
`copyto!` fix for `BitArray`/`AbstractArray`, fixes #25968 (#46161)
N5N3 Jul 25, 2022
2415a14
dump: ensure we generate the whole backedge graph (#46171)
vtjnash Jul 30, 2022
4fa7980
Fix rem2pi for NaN inputs, fixes #32888. (#36420)
mgautam98 Jul 24, 2022
87d89f7
fix rem2pi for non-finite arguments (#46163)
oscardssmith Jul 25, 2022
3e4646d
[LinearAlgebra] Support more env variables to set OpenBLAS threads (#…
giordano Jul 21, 2022
50bbad7
Lazily initialize Profile buffer (#46239)
IanButterworth Aug 6, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove examples of time_imports nesting given it was a bug (#46072)
(cherry picked from commit 29586ef)
IanButterworth authored and KristofferC committed Jul 20, 2022
commit bcac3c28a231b65216b6ecc8aaf20399b4ba8c3b
48 changes: 20 additions & 28 deletions stdlib/InteractiveUtils/src/macros.jl
Original file line number Diff line number Diff line change
@@ -356,39 +356,31 @@ See also: [`code_native`](@ref), [`@code_llvm`](@ref), [`@code_typed`](@ref) and
A macro to execute an expression and produce a report of any time spent importing packages and their
dependencies. Any compilation time will be reported as a percentage, and how much of which was recompilation, if any.

If a package's dependencies have already been imported either globally or by another dependency they will
not appear under that package and the package will accurately report a faster load time than if it were to
be loaded in isolation.

!!! compat "Julia 1.9"
Reporting of any compilation and recompilation time was added in Julia 1.9
!!! note
During the load process a package sequentially imports all of its dependencies, not just its direct dependencies.

```julia-repl
julia> @time_imports using CSV
0.4 ms ┌ IteratorInterfaceExtensions
11.1 ms ┌ TableTraits 84.88% compilation time
145.4 ms ┌ SentinelArrays 66.73% compilation time
42.3 ms ┌ Parsers 19.66% compilation time
4.1 ms ┌ Compat
8.2 ms ┌ OrderedCollections
1.4 ms ┌ Zlib_jll
2.3 ms ┌ TranscodingStreams
6.1 ms ┌ CodecZlib
0.3 ms ┌ DataValueInterfaces
15.2 ms ┌ FilePathsBase 30.06% compilation time
9.3 ms ┌ InlineStrings
1.5 ms ┌ DataAPI
31.4 ms ┌ WeakRefStrings
14.8 ms ┌ Tables
24.2 ms ┌ PooledArrays
2002.4 ms CSV 83.49% compilation time
50.7 ms Parsers 17.52% compilation time
0.2 ms DataValueInterfaces
1.6 ms DataAPI
0.1 ms IteratorInterfaceExtensions
0.1 ms TableTraits
17.5 ms Tables
26.8 ms PooledArrays
193.7 ms SentinelArrays 75.12% compilation time
8.6 ms InlineStrings
20.3 ms WeakRefStrings
2.0 ms TranscodingStreams
1.4 ms Zlib_jll
1.8 ms CodecZlib
0.8 ms Compat
13.1 ms FilePathsBase 28.39% compilation time
1681.2 ms CSV 92.40% compilation time
```

!!! note
During the load process a package sequentially imports where necessary all of its dependencies, not just
its direct dependencies. That is also true for the dependencies themselves so nested importing will likely
occur, but not always. Therefore the nesting shown in this output report is not equivalent to the dependency
tree, but does indicate where import time has accumulated.
!!! compat "Julia 1.8"
This macro requires at least Julia 1.8

"""
:@time_imports