dailyrandomphoto / hexo-huge-site-test

Test hexo performance for huge site.
1 stars 0 forks source link

hexo huge site generation performance #1

Open dailyrandomphoto opened 4 years ago

dailyrandomphoto commented 4 years ago

Performance Tests

Goal

Common Test Environment

Test Result 1

Goal:

versions max
old

space
_size
concur
rency
result cause log branch time of loading files time of generating files time of saving database
hexo: 3.9.0
warehouse: 2.2.0
1024 N/A OOM on Rendering post (node 10), OOM on Rendering HTML (node 8, 12) #24 hexo-3.9.0-site1-max_old_space_size-1024
hexo: 3.9.0
warehouse: 2.2.0
2048 N/A #25 hexo-3.9.0-site1-max_old_space_size-2048 1.37 min 3.43 min 4 s
hexo: hexojs/hexo(4.0.0) 2019.10.10
warehouse: 3.0.0
1024 1 #12 main-site1-max_old_space_size-1024 52 s 1.38 min 6 s
hexo: hexojs/hexo(4.0.0) 2019.10.12
warehouse: 3.0.1
1024 1 OOM on save database (Node 8, 10) #21 main-site1-max_old_space_size-1024 49 s 1.28 min
hexo: hexojs/hexo(4.0.0) 2019.10.17
warehouse: 3.0.1
hexo-huge-site-plugin
1024 1 #28 main-site1-max_old_space_size-1024-use-hhs-plugin 52 s 1.43 min 3 s

Test Result 2

Goal:

hexo version max
old

space
_size
concur
rency
result cause log branch time of loading files time of generating files time of saving database
hexo: hexojs/hexo(4.0.0) 2019.10.10
warehouse: 3.0.0
1024 1 OOM on Rendering post (Node 10, 12) #17 main-site2-max_old_space_size-1024
hexo: hexojs/hexo(4.0.0) 2019.10.10
warehouse: 3.0.0
2048 1 #18 main-site2-max_old_space_size-2048 2.32 min 5.45 min 13 s
hexo: hexojs/hexo(4.0.0) 2019.10.12
warehouse: 3.0.1
2048 1 OOM on save database (Node 8, 10) #23 main-site2-max_old_space_size-2048 3.12 min 6.17 min
hexo: dailyrandomphoto/hexo#limit-rendering-concurrency
warehouse: 3.0.0
1024 1 #19 hexo-limit-rendering-concurrency-site2-max_old_space_size-1024 2.6 min 5.27 min 13 s
hexo: dailyrandomphoto/hexo#limit-rendering-concurrency
warehouse: 3.0.1
1024 1 OOM on save database #27 hexo-limit-rendering-concurrency-site2-max_old_space_size-1024 2 min 4.43 min
hexo: dailyrandomphoto/hexo#limit-rendering-concurrency
warehouse: 3.0.1
hexo-huge-site-plugin
1024 1 #36 hexo-limit-rendering-concurrency-site2-max_old_space_size-1024-use-hhs-plugin 2.22 min 5.38 min 6 s
hexo: hexojs/hexo(4.0.0) 2019.10.17
warehouse: 3.0.1
hexo-huge-site-plugin
1024 1 #38 main-site2-max_old_space_size-1024-use-hhs-plugin 2.65 min 5.25 min 6 s

Test Result 3

Goal:

hexo version max
old

space
_size
concur
rency
result cause log branch time of loading files time of generating files time of saving database
hexo: dailyrandomphoto/hexo#limit-rendering-concurrency
warehouse: 3.0.1
hexo-huge-site-plugin
1024 1 #34 hexo-limit-rendering-concurrency-site3-max_old_space_size-1024-use-hhs-plugin 4.42 min 13 min 13 s
hexo: hexojs/hexo(4.0.0) 2019.10.17
warehouse: 3.0.1
hexo-huge-site-plugin
1024 1 #39 main-site3-max_old_space_size-1024-use-hhs-plugin 5.15 min 14 min 14 s

Test Result 4

Goal:

hexo version max
old

space
_size
concur
rency
result cause log branch time of loading files time of generating files time of saving database
hexo: hexojs/hexo(4.0.0) 2019.10.17
warehouse: 3.0.1
hexo-huge-site-plugin
1024 1 OOM on Rendering HTML #43 main-site4-max_old_space_size-1024-use-hhs-plugin 9.05 min
dailyrandomphoto commented 4 years ago

Tips to Improve Hexo Generation Performance

https://github.com/dailyrandomphoto/hexo-huge-site-plugin/issues/1