A decision helper for performance optimization: calculates time savings, costs, ROI, and break-even points to determine if an optimization is worthwhile.
Inspired by xkcd #1205.
git clone https://github.com/d-led/iiwsit.git
cd iiwsit
npm install
npm run devVisit http://localhost:5173
Input your system's parameters:
- Request rate and duration
- Expected speed gain (%)
- Implementation and maintenance time
- Time horizon
Get a YES/NO/MAYBE recommendation based on:
- Net time benefit
- ROI calculation
- Break-even analysis
- Risk assessment
High-traffic API (1000 req/s, 500ms, 30% gain, 80hr work) → Strong YES ✅ Low-traffic job (10 req/hr, 2min, 50% gain, 200hr work) → Strong NO ❌
npm run dev # Start dev server
npm run build # Build for production
npm test # Run unit tests
npm run test:e2e # Run Cypress E2E tests
npm run prettier # Format codeTech stack: TypeScript, Vite, Tailwind CSS, daisyUI, Vitest, Cypress
Contributions welcome! Please:
- Write tests for new features
- Run
npm testandnpm run prettier - Open an issue for major changes first
Mozilla Public License 2.0 - Use freely, modifications to MPL files must remain MPL.
Made with ❤️ and inspired by xkcd #1205. Because not all optimizations are worth doing.



