omus commented on PR #482:
URL: https://github.com/apache/arrow-julia/pull/482#issuecomment-2123406667
<details>
<summary>With the release of TimeZones.jl 1.16 I decide to re-run the
timings</summary>
Julia 1.9.4 with TimeZones 1.15:
```julia
(Arrow) pkg> st
Project Arrow v2.7.2
Status `~/.julia/dev/Arrow/Project.toml`
[31f734f8] ArrowTypes v2.3.0 `src/ArrowTypes`
[c3b6d118] BitIntegers v0.3.1
[5ba52731] CodecLz4 v0.4.3
[6b39b394] CodecZstd v0.8.2
[f0e56b4a] ConcurrentUtilities v2.4.1
[9a962f9c] DataAPI v1.16.0
[4e289a0a] EnumX v1.0.4
[e6f89c97] LoggingExtras v1.0.3
[2dfb63ee] PooledArrays v1.4.3
[91c51154] SentinelArrays v1.4.3
[bd369af6] Tables v1.11.1
⌃ [f269a46b] TimeZones v1.15.0
[3bb67fe8] TranscodingStreams v0.10.8
[ade2ca70] Dates
[a63ad114] Mmap
[cf7118a7] UUIDs
Info Packages marked with ⌃ have new versions available and may be
upgradable.
julia> @time @time_imports using Arrow
1.6 ms LoggingExtras
0.8 ms DataAPI
0.4 ms DataValueInterfaces
0.4 ms IteratorInterfaceExtensions
0.3 ms TableTraits
4.2 ms OrderedCollections
17.0 ms Tables
17.1 ms SentinelArrays
10.9 ms PooledArrays
7.7 ms Preferences
0.5 ms JLLWrappers
27.5 ms Lz4_jll 93.79% compilation time
1.4 ms TranscodingStreams
0.4 ms TranscodingStreams → TestExt
3.9 ms CodecLz4
0.8 ms Zstd_jll
2.6 ms CodecZstd
0.4 ms Scratch
0.3 ms PrecompileTools
16.6 ms Parsers
4.3 ms InlineStrings
0.4 ms TZJData
0.7 ms Compat
0.4 ms Compat → CompatLinearAlgebraExt
0.5 ms ExprTools
0.8 ms Mocking
253.5 ms TimeZones 55.54% compilation time (79% recompilation)
10.9 ms BitIntegers
1.8 ms ConcurrentUtilities
0.5 ms EnumX
2.8 ms ArrowTypes
152.1 ms Arrow
0.621405 seconds (1.35 M allocations: 83.477 MiB, 4.91% gc time, 31.84%
compilation time: 56% of which was recompilation)
```
Julia 1.9.4 and TimeZones 1.16:
```julia
(Arrow) pkg> st
Project Arrow v2.7.2
Status `~/.julia/dev/Arrow/Project.toml`
[31f734f8] ArrowTypes v2.3.0 `src/ArrowTypes`
[c3b6d118] BitIntegers v0.3.1
[5ba52731] CodecLz4 v0.4.3
[6b39b394] CodecZstd v0.8.2
[f0e56b4a] ConcurrentUtilities v2.4.1
[9a962f9c] DataAPI v1.16.0
[4e289a0a] EnumX v1.0.4
[e6f89c97] LoggingExtras v1.0.3
[2dfb63ee] PooledArrays v1.4.3
[91c51154] SentinelArrays v1.4.3
[bd369af6] Tables v1.11.1
[f269a46b] TimeZones v1.16.0
[3bb67fe8] TranscodingStreams v0.10.8
[ade2ca70] Dates
[a63ad114] Mmap
[cf7118a7] UUIDs
julia> @time @time_imports using Arrow
1.7 ms LoggingExtras
0.7 ms DataAPI
0.4 ms DataValueInterfaces
0.3 ms IteratorInterfaceExtensions
0.3 ms TableTraits
4.3 ms OrderedCollections
16.6 ms Tables
17.3 ms SentinelArrays
11.0 ms PooledArrays
7.4 ms Preferences
0.4 ms JLLWrappers
27.8 ms Lz4_jll 92.37% compilation time
1.4 ms TranscodingStreams
0.4 ms TranscodingStreams → TestExt
3.6 ms CodecLz4
0.8 ms Zstd_jll
2.7 ms CodecZstd
0.4 ms Scratch
0.3 ms PrecompileTools
16.2 ms Parsers
4.3 ms InlineStrings
0.5 ms TZJData
0.8 ms Compat
1.8 ms Compat → CompatLinearAlgebraExt
0.5 ms ExprTools
1.1 ms Mocking
28.9 ms TimeZones
25.9 ms BitIntegers
1.7 ms ConcurrentUtilities
0.6 ms EnumX
2.9 ms ArrowTypes
259.1 ms Arrow
0.523419 seconds (574.55 k allocations: 40.298 MiB, 2.85% gc time, 11.04%
compilation time)
```
</details>
The increase in import time for Arrow is most likely to is due to having
Arrow.jl code triggering the loading of time zone data.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]