Skip to content

1.8.5 -> 1.9 regression in number of allocations from getproperty #49697

Closed
@BioTurboNick

Description

@BioTurboNick

The execution time is similar for this small example, but there are 10x more allocations on 1.9-rc3.

using BenchmarkTools
using Plots
const xx = randn(20, 3000)
@btime plot(xx; color = :blue, label = nothing);

# 1.8.5
# 1.214 s (392640 allocations: 31.88 MiB)

# 1.9-rc3
# 1.166 s (3964617 allocations: 86.43 MiB)

From JuliaPlots/Plots.jl#4742

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions