Skip to content

Latency regression in Plots on master vs 1.7 #41914

Closed
@KristofferC

Description

@KristofferC

1.7:

julia> @time using Plots
  2.311376 seconds (7.10 M allocations: 490.159 MiB, 2.82% gc time, 0.35% compilation time)

julia> @time (p = plot(rand(2,2)); display(p));
  6.417196 seconds (18.23 M allocations: 959.720 MiB, 3.93% gc time, 17.02% compilation time)

master:

julia> @time using Plots
  3.946437 seconds (9.13 M allocations: 622.219 MiB, 4.27% gc time, 1.18% compilation time)

julia> @time (p = plot(rand(2,2)); display(p));
  8.140353 seconds (18.87 M allocations: 1001.987 MiB, 1.61% gc time, 17.00% compilation time)

I haven't looked deeply into it yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    latencyLatencyregressionRegression in behavior compared to a previous version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions