Skip to content

Helps to reorder packages, saves almost two sec. #43

@PallHaraldsson

Description

@PallHaraldsson

I'm not sure it's known, but it seems reordering files, matters a lot (but end-result should be the same?):

$ julia -q -O0
julia> @time using CSVFiles, ExcelFiles, StatFiles, ParquetFiles, DataFrames, VegaLite
  7.033658 seconds (14.33 M allocations: 857.918 MiB, 5.21% gc time)


$ julia -q -O0
julia> @time using VegaLite, DataFrames, ParquetFiles, StatFiles, ExcelFiles, CSVFiles
  8.916748 seconds (18.03 M allocations: 1.045 GiB, 5.08% gc time)

$ julia -q -O0
julia> @time using VegaLite, DataFrames, ParquetFiles, StatFiles, ExcelFiles, CSVFiles
  8.845061 seconds (18.03 M allocations: 1.045 GiB, 5.09% gc time)

$ julia -q -O0
julia> @time using VegaLite, DataFrames, ParquetFiles, StatFiles, ExcelFiles, CSVFiles
  8.816272 seconds (18.03 M allocations: 1.045 GiB, 5.07% gc time)

l$ julia -q -O0
julia> @time using VegaLite, DataFrames, ParquetFiles, StatFiles, ExcelFiles, CSVFiles
  9.025282 seconds (18.03 M allocations: 1.045 GiB, 4.99% gc time)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions