Skip to content

Conversation

@jonathantneal
Copy link

@jonathantneal jonathantneal commented Oct 19, 2020

This PR adds two kinds of benchmarks to the project.

The first set of benchmarks test the performance of CSS-in-JS using various DOM and CSSOM methods.

The second set of benchmarks test the performance of React CSS-in-JS libraries performing common actions. The tested libraries are currently Stitches v0.0.2, Stitches v0.0.3-canary.4, Styled Components v5.2.0, and Emotion v10.0.27.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 19, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 39c84b0:

Sandbox Source
benchmark-stitches-vs-styled-components Configuration

@jonathantneal jonathantneal marked this pull request as ready for review October 21, 2020 03:40
@peduarte
Copy link

peduarte commented Oct 22, 2020

I was chatting to @hadihallak, and maybe instead of pushing to Codesandbox CI, we can set up Vercel.

Reasons:

  • Vercel will run the app in production mode. Codesanbox runs in dev mode
  • We should be able to use npm alias (npm:) so we can have multiple versions of Stitches in the same app (needs validating)
  • It will simplify the app structure, no need to have the styled-components folder

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants