turboMaker is a high-performance, multithreaded document generator for MongoDB that operates through a CLI. Version 1.0.64 focuses on speed, generating 1 million documents in approximately 7 seconds on typical hardware. It uses worker_threads, SharedArrayBuffer, and Atomics for parallel inserts across all CPU cores. Key differentiators include support for custom data schemas via a generatingData function, precise createdAt/updatedAt handling, batch inserts, and integration with superMaker for realistic random data. It is intended for stress testing MongoDB, creating large collections, and performance benchmarking. The package is maintained and released regularly.
npm install turbo-makerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal configuration to generate 1 million user documents using turboMaker with a custom data schema.
Consider increasing batchSize or reducing threadCount to manage I/O load.
Use Node.js >=12. If using Node.js 10 or lower, upgrade.
Use npx turbo-maker or a script in package.json to run it from the command line.
Rename the configuration file to 'turbo-maker.config.js' and ensure it is in the root directory of your project.
Set threadCount to a specific number (e.g., half of available threads) to avoid overwhelming the system.
Run 'npm install super-maker' in your project directory.
Verify the 'uri' in turbo-maker.config.js and ensure MongoDB is accessible.
Set threadCount to a number >=1 or the string 'max'.