Android Gradle performance auditor and auto-fixer that scans projects for common build misconfigurations (e.g., disabled configuration cache, parallel execution, or low JVM heap) and applies safe, revertible edits. Version 1.0.4 is the latest stable release; the project follows a monthly release cadence with conservative fixes, transparent diffs via --dry-run, and timestamped backups. Unlike generic Gradle optimization guides, droidperf provides automated audit-to-fix workflows, machine-readable JSON output for CI, and rule-specific enable/disable configuration.
npm install droidperfVerified import paths — ran on the pinned version, not inferred.
Shows programmatic audit and fix workflow with dry-run support, using ESM imports and async/await.
Update imports to ESM style: `import droidperf from 'droidperf'` or `import { runAudit } from 'droidperf'`.Use `import` syntax or enable ESM in your project (e.g., `"type": "module"` in package.json).
Upgrade Node.js to 18 or later.
Use `--json` alone for machine-readable output; run separately from normal audit/fix.
Manual changes may be needed for settings in build.gradle; droidperf only handles gradle.properties settings.
Use `import droidperf from 'droidperf'` and ensure Node.js >=18.
Verify the project path points to an Android project root (where gradle.properties resides).
Install via `npm install droidperf --save-dev` and ensure node_modules is present.
Use `import droidperf from 'droidperf'` or switch to named imports like `import { runAudit } from 'droidperf'`.No dependency data recorded yet.