Skip to content

Could we use -O2 intead -Oz for binaryen wasm target? #4359

@MaxGraey

Description

@MaxGraey

Currently it uses -Oz. In binaryen.js (wasm) repo it produces approximately 3.8 Mb bundle. We decided to switch binaryen from asm.js target to wasm target and were surprised to find that the performance increased only slightly (less than 15%). Perhaps the reason is that -Oz optimisation is being used

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions