Skip to content

~180% performance overhead vs react-native #306

@affectful

Description

@affectful

Describe the issue

On android in production I'm getting these results rendering a table. On web it's really fast compared to other options but on react-native it's the opposite story.

Platform: android, Version: 35, Env: production
30 runs of each table variant at size 100 x 12.

Variant Avg (ms) Relative to RN
react-strict-dom 344.30 286%
react-native 120.44 100%
tamagui 349.05 290%
emotion 177.37 147%
styled-components 165.55 137%
rn-css 403.14 335%

Expected behavior

Performance without too much overhead

Steps to reproduce

https://github.com/affectful/bench-repro

yarn android:release

or

yarn ios

Test case

https://github.com/affectful/bench-repro

Additional comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions