Testing speed of Cogear.JS static pages generation
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
themes/default
.gitignore
README.md
config.yaml
fake.js
package.json
yarn.lock

README.md

Cogear.JS benchmark

Benchmarking pages generation time.

How to use

100 pages are pregenerated.

Simply run Cogear.JS in production to check built time.

> cogear prod

To increase pages num use ./faker.js as following:

> 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.