https://github.com/dbelyaeff/cogear-benchmark
Testing speed of Cogear.JS static pages generation
https://github.com/dbelyaeff/cogear-benchmark
Last synced: 3 months ago
JSON representation
Testing speed of Cogear.JS static pages generation
- Host: GitHub
- URL: https://github.com/dbelyaeff/cogear-benchmark
- Owner: dbelyaeff
- Created: 2018-08-22T13:32:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-22T13:37:09.000Z (almost 7 years ago)
- Last Synced: 2025-01-24T15:35:01.469Z (4 months ago)
- Language: CSS
- Size: 2.26 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cogear.JS benchmark
Benchmarking pages generation time.
# How to use
100 pages are pregenerated.
Simply run **Cogear.JS** in production to check built time.
```shell
> cogear prod
```To increase pages num use `./faker.js` as following:
```shell
> yarn fake [n]
# Where [n] is a num
> yarn fake 10000
```Then you can go to the `./src/pages/index.pug` and fix number of links at the index page.
Run **Cogear.JS** again.
# Benchmarks
On my iMac 2013 (Core i5, 2.9Ghz).
Pages count|Time (est.)
|------|------|
100|500ms
10000|6.5s# Performance
Of course it depends on webpack entries complexity, pages complexity and pages count.
This benchmark provide only basic pages and scripts for testing.