This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Optimizer Settings Comparator

Developer Tools · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryDeveloper Tools
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

Optimizer Settings Comparator helps you evaluate different Solidity compiler optimizer configurations to find the best balance between gas cost and compilation performance. You define multiple optimizer configurations—each with a name, runs value, enabled state, estimated gas cost, and optional notes. The tool compares each configuration against a reference, showing differences in runs, gas cost savings or increases, and percentage changes. Results include a summary dashboard, individual configuration cards with status labels (Reference, Better, Worse, Same), and a detailed report. This is essential for developers optimizing contract deployment costs, teams evaluating trade-offs between compilation time and gas efficiency, or anyone who wants to empirically compare optimizer settings before deployment.

HOW TO USE

Define optimizer configurations—one per line—in the format "name | runs | enabled | gasCost | notes". For example: "Default | 200 | true | 150000 | Standard optimizer" or "Optimized | 1000 | true | 135000 | High runs for gas optimization". The runs value is the number of optimizer runs, enabled is true or false, gasCost is the estimated deployment gas cost (the lower the better), and notes are optional. Enter a reference configuration name to compare against. Click "Compare Settings." The tool displays a comparison table showing each configuration's runs, enabled state, gas cost, and difference from the reference. The best gas cost configuration is highlighted, and a summary report is generated. Use the "Copy Report" button to export the comparison.

THE REAL MECHANISM

The tool uses a pure JavaScript data processing engine that operates entirely client-side. It parses each configuration line by splitting on the pipe character to extract name, runs, enabled, gasCost, and notes. The runs and gasCost values are parsed as integers, and enabled is parsed as a boolean. For each configuration, the tool calculates the difference from the reference configuration in runs and gas cost, and computes the percentage change in gas cost. Configurations are compared based on gas cost savings (lower is better). The tool generates a formatted comparison report as a Markdown document with a table of all configurations, difference from reference, and recommendations for the lowest gas cost and highest optimization. All processing is done in the browser—no data is sent to external servers.

WHAT IT CANNOT SEE

This tool cannot automatically determine optimal optimizer settings for a specific contract—you must provide the configurations and gas estimates yourself. It cannot generate comparisons for non-EVM compilers or non-Solidity languages. It cannot validate the accuracy of gas estimates—it relies on your input. It cannot detect if optimizer settings affect contract security—you must evaluate that separately. It cannot generate comparisons for non-Solidity compilers. The tool does not compile contracts or measure gas costs directly—it compares the data you provide.

PLEASE NOTE

Optimizer Settings Comparator works for any EVM-related compiler optimization analysis and does not require a blockchain connection to function, though the network selector is provided for context. It is a planning and comparison tool for developers, not an execution tool. It reads data only and does not send any information to external servers. The tool is free to use and does not require authentication. For best results, obtain gas cost estimates from actual contract compilation and deployment tests.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.