Skip to content

Import latency issue #324

Closed
Closed
@Moelf

Description

@Moelf
julia> @time_imports using UnicodePlots
      0.2 ms  SnoopPrecompile
      3.1 ms  StaticArraysCore
    795.5 ms  StaticArrays
     69.3 ms  FixedPointNumbers
     77.7 ms  ColorTypes 9.12% compilation time
     48.2 ms  Crayons
      0.8 ms  ConstructionBase
    418.2 ms  Unitful
      1.7 ms  DataAPI
      0.7 ms  Compat
      8.0 ms  OrderedCollections
     83.6 ms  DataStructures
      0.5 ms  SortingAlgorithms
      9.8 ms  Missings
      3.8 ms  DocStringExtensions 75.18% compilation time
     89.1 ms  ChainRulesCore
     14.1 ms  ChangesOfVariables
      1.2 ms  InverseFunctions
      6.1 ms  IrrationalConstants
      0.8 ms  LogExpFunctions
      0.3 ms  StatsAPI
     24.8 ms  StatsBase
    126.2 ms  MarchingCubes
      0.2 ms  Reexport
    380.0 ms  Colors
      0.3 ms  OpenLibm_jll
     22.8 ms  Preferences
      0.4 ms  JLLWrappers
      0.7 ms  CompilerSupportLibraries_jll
      3.8 ms  OpenSpecFun_jll 86.80% compilation time
     17.3 ms  SpecialFunctions
      0.3 ms  TensorCore
    170.0 ms  ColorVectorSpace 4.10% compilation time
     16.2 ms  ColorSchemes
      0.3 ms  Requires
      0.3 ms  NaNMath
      1.5 ms  Contour
    333.9 ms  FileIO 3.41% compilation time (13% recompilation)
      0.6 ms  Bzip2_jll
      0.1 ms  Zlib_jll
      0.3 ms  FreeType2_jll
      4.8 ms  CEnum
      6.7 ms  FreeType
   1801.4 ms  UnicodePlots 2.79% compilation time

what's causing the 1.8s just by UnicodePlots?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions