Skip to content

Multiprocessing is slow #6

@danuker

Description

@danuker

Multiprocessing is very slow, compared to evolving one generation.

One 50-individual generation evolves in around 10ms, whereas starting a new process is 100-200 ms.

Still, in benchmarks, small generations with frequent feedback are what work best.

There is no obvious way to parallelize, because the GIL would block the CPU-intensive threads.

Think about what can be done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    highhigh priority

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions