https://github.com/atomicojs/perf
https://github.com/atomicojs/perf
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/atomicojs/perf
- Owner: atomicojs
- Created: 2022-08-08T18:05:26.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T03:41:55.000Z (almost 2 years ago)
- Last Synced: 2025-06-08T18:18:54.796Z (about 1 year ago)
- Language: TypeScript
- Size: 176 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# performance comparison
Atomico has a size as a module of 4kB but when packaged its size is less than 3kB (GZIP).
We carry out a comparison using the webcomponent counter existing in [webcomponents.dev](https://webcomponents.dev/) of Atomico, Lit, Preact and React as a base.
component created with Atomico will in turn be able to:
1. Size of the JS (Library + Component) sent to the browser
2. Render time of 1000 components
3. Lines of code written to solve the webcomponent.
## scripts
```bash
## step 1
npm i
## step 2
npm run build
## step 3
npm run perf
```
the results of this benchmark are being used for the [atomicojs.dev](https://atomicojs.dev) site