Skip to content

Rayon parallelization? #32

Open
Open
@HerringtonDarkholme

Description

@HerringtonDarkholme

The experimentation shows that rayon has at least 100us overhead for thread pool initialization.
However, most template can be compiled within 100us. The parallelization, at least in practice, does not pay off.

The example is the most complicated SFC in element-plus, el-table.vue. The compilation takes about 100us without thread pool.

But after the thread pool is introduced the compilation time comes to 200us+.

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