{"repo":"cachewerk/k6","free":true,"listed":false,"github":"https://github.com/cachewerk/k6","clone":"git clone https://github.com/cachewerk/k6.git","description":"k6 load tests for WordPress and WooCommerce.","language":"JavaScript","stars":35,"topics":["k6","wordpress","woocommerce"],"license":"MIT","category":"ecommerce","readme_excerpt":"k6 Scripts to benchmark Object Cache Pro and Relay against various plugins. Setup Make sure k6 is installed. All tests can be run locally using k6 run or in the cloud using k6 cloud . Metrics When Object Cache Pro is installed, custom metrics for WordPress, Redis and Relay are automatically collected. For other plugins, use the k6-metrics.php as a must-use plugin to capture more metrics. Tests k6-wp.js Fetches all WordPress sitemaps and iterates through URLs sequentially for reproducible runs. Variable Required Description --- --- --- SITEMAP URL No Custom sitemap URL (default: {SITE URL}/wp-sitemap.xml ). PROFILE No Named benchmark profile (see Profiles). Omit to use the site's default configuration. Environment variables Variable Required Description --- --- --- SITE URL Yes Base URL of the site, without trailing slash BYPASS CACHE No When set, sends cookies that bypass full-page caches PROJECT ID No k6 Cloud project ID K6 SECRET No Secret token for the reset endpoint. When set, setup() flushes the object cache, transients, and WooCommerce sessions before the run. Must match K6 SECRET in wp-config-benchmark.php . Profiles Profiles select which object cache drop-in and client to use for a run, applied via HTTP request headers. Omitting PROFILE uses the site's PHP configuration unchanged. Available profiles Base Profile Drop-in Client --- --- --- none WordPress built-in memory cache — ocp-relay Object Cache Pro Relay ocp-phpredis Object Cache Pro PhpRedis roc-phpredis Redis O","default_branch":null,"files":null,"tree":[],"storefront":"/r/cachewerk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cachewerk/k6/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}