Skip to content

Commit

Permalink
Add WordPress benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
duffn committed Apr 7, 2020
1 parent e75ece4 commit 6890863
Showing 1 changed file with 104 additions and 8 deletions.
112 changes: 104 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ jobs:
- run-benchmark:
working_directory: benchmarks/source-contentful
NUM_PAGES: "512"
BENCHMARK_CONTENT_SOURCE: MDX
BENCHMARK_CONTENT_SOURCE: CONTENTFUL
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-contentful
BENCHMARK_SITE_TYPE: BLOG

Expand All @@ -638,7 +638,7 @@ jobs:
- run-benchmark:
working_directory: benchmarks/source-contentful
NUM_PAGES: "4096"
BENCHMARK_CONTENT_SOURCE: MDX
BENCHMARK_CONTENT_SOURCE: CONTENTFUL
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-contentful
BENCHMARK_SITE_TYPE: BLOG

Expand All @@ -649,7 +649,7 @@ jobs:
- run-benchmark:
working_directory: benchmarks/source-contentful
NUM_PAGES: "8192"
BENCHMARK_CONTENT_SOURCE: MDX
BENCHMARK_CONTENT_SOURCE: CONTENTFUL
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-contentful
BENCHMARK_SITE_TYPE: BLOG

Expand All @@ -660,7 +660,7 @@ jobs:
- run-benchmark:
working_directory: benchmarks/source-contentful
NUM_PAGES: "32768"
BENCHMARK_CONTENT_SOURCE: MDX
BENCHMARK_CONTENT_SOURCE: CONTENTFUL
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-contentful
BENCHMARK_SITE_TYPE: BLOG

Expand All @@ -671,7 +671,7 @@ jobs:
- run-benchmark:
working_directory: benchmarks/source-datocms
NUM_PAGES: "512"
BENCHMARK_CONTENT_SOURCE: MDX
BENCHMARK_CONTENT_SOURCE: DATOCMS
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-datocms
BENCHMARK_SITE_TYPE: BLOG

Expand All @@ -682,7 +682,7 @@ jobs:
- run-benchmark:
working_directory: benchmarks/source-datocms
NUM_PAGES: "4096"
BENCHMARK_CONTENT_SOURCE: MDX
BENCHMARK_CONTENT_SOURCE: DATOCMS
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-datocms
BENCHMARK_SITE_TYPE: BLOG

Expand All @@ -693,7 +693,7 @@ jobs:
- run-benchmark:
working_directory: benchmarks/source-datocms
NUM_PAGES: "8192"
BENCHMARK_CONTENT_SOURCE: MDX
BENCHMARK_CONTENT_SOURCE: DATOCMS
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-datocms
BENCHMARK_SITE_TYPE: BLOG

Expand All @@ -704,10 +704,98 @@ jobs:
- run-benchmark:
working_directory: benchmarks/source-datocms
NUM_PAGES: "32768"
BENCHMARK_CONTENT_SOURCE: MDX
BENCHMARK_CONTENT_SOURCE: DATOCMS
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-datocms
BENCHMARK_SITE_TYPE: BLOG

benchmark_drupal_512:
docker:
- image: "circleci/node:12"
steps:
- run-benchmark:
working_directory: benchmarks/source-drupal
NUM_PAGES: "512"
BENCHMARK_CONTENT_SOURCE: DRUPAL
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-drupal
BENCHMARK_SITE_TYPE: BLOG

benchmark_drupal_4096:
docker:
- image: "circleci/node:12"
steps:
- run-benchmark:
working_directory: benchmarks/source-drupal
NUM_PAGES: "4096"
BENCHMARK_CONTENT_SOURCE: DRUPAL
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-drupal
BENCHMARK_SITE_TYPE: BLOG

benchmark_drupal_8192:
docker:
- image: "circleci/node:12"
steps:
- run-benchmark:
working_directory: benchmarks/source-drupal
NUM_PAGES: "8192"
BENCHMARK_CONTENT_SOURCE: DRUPAL
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-drupal
BENCHMARK_SITE_TYPE: BLOG

benchmark_drupal_32768:
docker:
- image: "circleci/node:12"
steps:
- run-benchmark:
working_directory: benchmarks/source-drupal
NUM_PAGES: "32768"
BENCHMARK_CONTENT_SOURCE: DRUPAL
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-drupal
BENCHMARK_SITE_TYPE: BLOG

benchmark_wordpress_512:
docker:
- image: "circleci/node:12"
steps:
- run-benchmark:
working_directory: benchmarks/source-wordpress
NUM_PAGES: "512"
BENCHMARK_CONTENT_SOURCE: WORDPRESS
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-wordpress
BENCHMARK_SITE_TYPE: BLOG

benchmark_wordpress_4096:
docker:
- image: "circleci/node:12"
steps:
- run-benchmark:
working_directory: benchmarks/source-wordpress
NUM_PAGES: "4096"
BENCHMARK_CONTENT_SOURCE: WORDPRESS
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-wordpress
BENCHMARK_SITE_TYPE: BLOG

benchmark_wordpress_8192:
docker:
- image: "circleci/node:12"
steps:
- run-benchmark:
working_directory: benchmarks/source-wordpress
NUM_PAGES: "8192"
BENCHMARK_CONTENT_SOURCE: WORDPRESS
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-wordpress
BENCHMARK_SITE_TYPE: BLOG

benchmark_wordpress_32768:
docker:
- image: "circleci/node:12"
steps:
- run-benchmark:
working_directory: benchmarks/source-wordpress
NUM_PAGES: "32768"
BENCHMARK_CONTENT_SOURCE: WORDPRESS
BENCHMARK_REPO_NAME: gatsbyjs/gatsby/benchmarks/source-wordpress
BENCHMARK_SITE_TYPE: BLOG

workflows:
version: 2

Expand Down Expand Up @@ -737,6 +825,14 @@ workflows:
- benchmark_datocms_4096
- benchmark_datocms_8192
- benchmark_datocms_32768
- benchmark_drupal_512
- benchmark_drupal_4096
- benchmark_drupal_8192
- benchmark_drupal_32768
- benchmark_wordpress_512
- benchmark_wordpress_4096
- benchmark_wordpress_8192
- benchmark_wordpress_32768
triggers:
- schedule:
cron: 22 16 * * *
Expand Down

0 comments on commit 6890863

Please sign in to comment.