Download the PHP package simplemage/module-indexer-benchmark without Composer

On this page you can find all versions of the php package simplemage/module-indexer-benchmark. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-indexer-benchmark

SimpleMage - Indexer Benchmark & Verification Harness

Dev-only companion module for SimpleMage_CategoryProductIndexer. It measures the before/after performance of the catalog_category_product indexer on YOUR database and proves the index output is byte-for-byte identical to core Magento - every row, every column, every store view, MD5-compared.

⚠️ Staging / development environments only. This module resets indexer state, flushes caches and dumps index tables. Never install it on production. Nothing ever leaves your server - all results are local files under var/simplemage-bench/.

Requirements

Beta test - 5 steps

That's it. Step 3's -d core already prints the MD5 verdict (Snapshots MATCH / DIFFER); step 4 adds the side-by-side metric table. Please send us the full console output of step 4 (and step 3 if it reported DIFFER).

🔒 Do not change the catalog between step 1 and step 3 (disable cron) - any product/category change in between produces a false DIFFER.

Optional: partial-reindex benchmark

Partial (MView) reindex is the production hot path - worth measuring too. The same seed guarantees baseline and candidate use the identical ID sample:

Commands

Command Purpose
simplemage:bench:run -i <indexer> -m baseline\|candidate [-l label] [--skip-reset] Full reindex with metric collection (wall clock, peak memory, SQL query count/time, slow queries, lock waits, tmp disk tables)
simplemage:bench:snapshot -i <indexer> -l <label> [-d <other-label>] Deterministic full-content dump of the live index tables; with -d, saves AND diffs against an earlier label (MD5 + line diff)
simplemage:bench:compare -i <indexer> [-l label] [--snapshot-baseline=A --snapshot-candidate=B] [--strict] [--threshold=10] Baseline vs candidate metric table, regression flags, optional snapshot verdict
simplemage:bench:run-partial -i <indexer> -c <n> -m <mode> [--seed 42] [--ids 1,2,3] Partial reindex (reindexList) benchmark on a deterministic ID sample

How the correctness check works

simplemage:bench:snapshot dumps *every row of every `catalog_category_product_index_storetable** (the live, post-switch tables - excluding_replica/_tmp/_outdated) in canonical order with all columns serialised per line, then compares files via streaming MD5. AMATCH` means the SimpleMage indexer produced literally identical data to core on your catalog. No sampling, no aggregation limits, table-prefix aware.

License

MIT - see LICENSE.


All versions of module-indexer-benchmark with dependencies

PHP Build Version
Package Version
Requires php Version ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0
magento/framework Version >=103.0.6
magento/module-indexer Version >=100.4.6
magento/module-catalog Version >=104.0.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package simplemage/module-indexer-benchmark contains the following files

Loading the files please wait ...