{"id":17293281,"url":"https://github.com/brunolemos/react-native-css-in-js-benchmarks","last_synced_at":"2025-04-14T11:24:02.042Z","repository":{"id":80012538,"uuid":"111053595","full_name":"brunolemos/react-native-css-in-js-benchmarks","owner":"brunolemos","description":"CSS in JS Benchmarks for React Native","archived":false,"fork":false,"pushed_at":"2020-11-03T21:36:21.000Z","size":437,"stargazers_count":47,"open_issues_count":2,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-13T09:54:50.563Z","etag":null,"topics":["benchmark","css-in-js","fela","glamorous","react-native","styled-components"],"latest_commit_sha":null,"homepage":"https://github.com/brunolemos/react-native-css-in-js-benchmarks/blob/master/RESULTS.md","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brunolemos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-17T03:35:49.000Z","updated_at":"2024-03-08T10:53:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"cda353a5-f8c1-4c82-9c9b-d3bc012cb306","html_url":"https://github.com/brunolemos/react-native-css-in-js-benchmarks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunolemos%2Freact-native-css-in-js-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunolemos%2Freact-native-css-in-js-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunolemos%2Freact-native-css-in-js-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunolemos%2Freact-native-css-in-js-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brunolemos","download_url":"https://codeload.github.com/brunolemos/react-native-css-in-js-benchmarks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248869646,"owners_count":21174907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["benchmark","css-in-js","fela","glamorous","react-native","styled-components"],"created_at":"2024-10-15T10:47:21.881Z","updated_at":"2025-04-14T11:24:02.026Z","avatar_url":"https://github.com/brunolemos.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# CSS in JS Benchmarks\n## for React Native\n\n\n### Results\n\nSee [RESULTS.md](RESULTS.md) for the benchmark results.\n\n\n### Technique\n\n- Big table with random data and dynamic background color opacity\n- Multiple implementations for each lib with small variations, e.g. using inline styles or not\n- Multiple rerenders are executed per test and the result is their average render time\n\n\u003cimg alt=\"React Native running CSS in JS benchmarks on iOS simulator\" src=\"https://user-images.githubusercontent.com/619186/33778451-cb70f6dc-dc2f-11e7-91b0-ebc78ea2644a.gif\" height=\"600\" /\u003e\n\n### Libs\n\n- [fela-native](https://github.com/rofrischmann/fela/tree/master/packages/fela-native)\n- [glamorous-native](https://github.com/robinpowered/glamorous-native)\n- [react-native](https://github.com/facebook/react-native)\n- [styled-components](https://github.com/styled-components/styled-components)\n\nKnow any other? Please open an [issue](https://github.com/brunolemos/react-native-css-in-js-benchmarks/issues) or, preferrably, a [pull request](https://github.com/brunolemos/react-native-css-in-js-benchmarks/pulls) :)\n\n\n### Inspiration\n\nThe idea and some code pieces are heavily inspired by [A-gambit/CSS-IN-JS-Benchmarks](https://github.com/A-gambit/CSS-IN-JS-Benchmarks), which benchmarks were made for React Web.\n\n### How to run\n\n- Run `git clone git@github.com:brunolemos/react-native-css-in-js-benchmarks.git`\n- Run `yarn` or `npm install`\n\n#### Manually\n- Run `react-native run-ios`\n- Use the app as usual\n\n#### Automatically\n- Run `brew tap wix/brew`\n- Run `brew install applesimutils`\n- Start the iPhone X Simulator\n- Run `npm run test:e2e:build`\n- Run `npm run test:e2e`\n\n[Detox](https://github.com/wix/detox) will run all benchmarks and show the results at the end.\n\n### Author\n\nBruno Lemos (follow [@brunolemos](https://twitter.com/brunolemos) on twitter)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunolemos%2Freact-native-css-in-js-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrunolemos%2Freact-native-css-in-js-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunolemos%2Freact-native-css-in-js-benchmarks/lists"}