{
  "id": 20465900,
  "title": "plain 0.5.0 against forge 1.9.0 on PRBMath, Solady and Morpho Blue: what ran and how long it took",
  "url": "https://urgent.news/2026/11/17/plain-0-5-0-against-forge-1-9-0-on-prbmath-solady-and-morpho-blue",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-17T17:30:16.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/backmeupplz/plain-050-against-forge-190-on-prbmath-solady-and-morpho-blue-what-ran-and-how-long-it-took-52ab"
  },
  "original_language": "en",
  "account": "On November 17, 2026, a report was made comparing the performance of plain 0.5.0 and Foundry's forge 1.9.0 on three Solidity projects: PRBMath, Solady, and Morpho Blue. The experiments were conducted on a 12-core machine with two CPUs running each tool. Both plain and forge used the same Solc versions before the timed runs.\n\nIn the case of PRBMath, a fixed-point math library with 408 tests, both tools compiled the same number of files and completed the suites in similar times. The cold run, where no changes were made, took 43.3 seconds for forge and 40.8 seconds for plain. However, when rerun, plain completed in 0.2 seconds, while forge took 3.2 seconds, indicating plain's efficiency in reusing results.\n\nSolady, a library of gas-optimized contracts, had 208 files compiled with forge, which took 151.3 seconds for the cold run and 97.6 seconds for the rerun. For plain, the configuration line in foundry.toml was changed, causing the compilation to fail after 95.5 seconds. After adjusting the evm_version, plain completed the cold run in 0.29 seconds, while forge took 47.2 seconds for the rerun.\n\nMorpho Blue, a lending protocol compiled with via_ir and an optimizer_runs setting, faced a limitation with plain, which refused to compile due to the compilation_restrictions. The error message explicitly stated that plain does not support the evm_version yet. Therefore, plain did not proceed with the compilation or testing, unlike forge, which took 14 minutes and 47 seconds to complete the cold run.",
  "summary": "I ran plain 0.5.0 and Foundry's forge 1.9.0 on three Solidity projects I hadn't tried before, on 2026-11-17: PRBMath, Solady and Morpho Blue. PRBMath passes all 408 of its tests under plain with the same compile time as forge, and an unchanged rerun takes 0.2 seconds where forge needs 3.2. Solady runs once foundry.toml gets one line changed, and then reruns in 0.29 seconds where forge needs 47.…",
  "key_points": [
    "Plain 0.5.0 compiled PRBMath in 0.2 seconds, forge took 3.2 seconds",
    "Solady compilation failed for plain due to evmversion limitation",
    "Morpho Blue refused compilation for plain due to compilationrestrictions"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}