Skip to content

Performance? #1

@emilycestmoi

Description

@emilycestmoi

First off, really like this tool. Thanks for putting it together.

My question concerns performance.

I am using Intervention Image with GD on a 250x 250 px image and am seeing the Palette::generate($image) method take 3 seconds for this single small image. This is on a recent i7 macbook running PHP 5.6 on MacOS. The quantize($swatches, 16) call within the PaletteGenerator->generate() method is where all the time is spent.

Is this expected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions