Generate Hexo stub posts for memory and performance tuning.
git clone https://github.com/leesei/hexo-genstubs
cd hexo-genstubs
npm install
genstubs.js [options]
genstubs.js -N 1000 -P 10 # Generate 1000 posts, with 10 paragraphs each
genstubs.js -N 1000 -P 10 -t 5 -c 1 # same, with tags and categories
genstubs.js --help # see help
Posts will be generated in ./source/_posts
, copy or symlink to a Hexo site folder and run hexo generate
for testing.
Run npm run clean
to clean md
s in ./source/_posts
.