CodSpeed reports that a benchmark measured no execution time when it detects
no execution of the code under test. The compiler likely removed that code,
since nothing in the benchmark uses its result.Keep the compiler from optimizing the benchmark away, then run it again:
Rust
C++
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CodSpeed Docs","description":"Documentation for CodSpeed, the continuous performance testing and optimization platform.","colors":{"primary":"#FC6E39","light":"#FB905C","dark":"#FC6E39"},"logo":{"light":"https://mintcdn.com/codspeed/SEPN15HtEhsaoVwO/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=SEPN15HtEhsaoVwO\u0026q=85\u0026s=18d4dcb12a5617282de2da263e0db993","dark":"https://mintcdn.com/codspeed/SEPN15HtEhsaoVwO/assets/logo/dark.svg?fit=max\u0026auto=format\u0026n=SEPN15HtEhsaoVwO\u0026q=85\u0026s=7c53ba3b03b0620420bb5d1f4ea3c0cd","href":"https://codspeed.io"},"favicon":"https://mintcdn.com/codspeed/SEPN15HtEhsaoVwO/assets/favicon.svg?fit=max\u0026auto=format\u0026n=SEPN15HtEhsaoVwO\u0026q=85\u0026s=0cc9ab603558dbcd3c162f55cd0af677","appearance":{"default":"dark","strict":true},"background":{"decoration":"gradient","color":{"dark":"#09090B"}},"navbar":{"links":[{"icon":"github","href":"https://github.com/CodSpeedHQ/codspeed","label":"GitHub"}],"primary":{"type":"button","label":"Get Started","href":"https://app.codspeed.io/login?flow=get-started"}},"footer":{"socials":{"github":"https://github.com/CodSpeedHQ/codspeed","discord":"https://codspeed.io/discord","linkedin":"https://linkedin.com/company/codspeed","x":"https://x.com/codspeedhq","bluesky":"https://bsky.app/profile/codspeed.io"},"links":[{"header":"Resources","items":[{"label":"Docs","href":"https://codspeed.io/docs"},{"label":"Home","href":"https://codspeed.io/"},{"label":"Blog","href":"https://codspeed.io/blog"},{"label":"GitHub","href":"https://github.com/CodSpeedHQ/codspeed"},{"label":"Changelog","href":"https://codspeed.io/changelog"},{"label":"Status","href":"https://status.codspeed.io"}]},{"header":"Getting Started","items":[{"label":"Sample Project","href":"https://app.codspeed.io/pydantic/pydantic-core"},{"label":"Explore repositories","href":"https://codspeed.io/explore"},{"label":"Support","href":"mailto:contact@codspeed.io"}]},{"header":"About","items":[{"label":"Careers","href":"https://careers.codspeed.io"},{"label":"Twitter","href":"https://x.com/CodSpeedHQ"},{"label":"Discord","href":"https://codspeed.io/discord"},{"label":"Contact Us","href":"mailto:contact@codspeed.io"},{"label":"Terms","href":"https://codspeed.io/terms"},{"label":"Privacy Policy","href":"https://codspeed.io/privacy"}]}]},"seo":{"metatags":{"canonical":"https://codspeed.io/docs","twitter:card":"summary_large_image","twitter:site":"@codspeedhq","twitter:domain":"codspeed.io"},"indexing":"all"},"fonts":{"family":"Inter"},"styling":{"eyebrows":"breadcrumbs","latex":true},"integrations":{"gtm":{"tagId":"GTM-N2XNSNB7"},"hotjar":{"hjid":"3931281","hjsv":"6"}},"banner":{"content":"With the new **MCP Server** and **Agent Skills**, your AI assistant can now investigate regressions and optimize your code. [See what's new](https://codspeed.io/changelog).","dismissible":true},"contextual":{"options":["copy","chatgpt","claude"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.gg/MxpaCfKSqF"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"codspeed","hasAudioNarration":false,"actualSubdomain":"codspeed","customDomains":["codspeed.io"],"gitSource":{"type":"github","owner":"codspeedhq","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af4d5e48a98bcffeb6b67e9","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Documentation","count":61},{"language":"default","tag":"Get Started","count":20},{"language":"default","tag":"Creating Benchmarks","count":17},{"language":"default","tag":"Integrations","count":14},{"language":"default","tag":"Instruments","count":11},{"language":"default","tag":"Explore Features","count":10},{"language":"default","tag":"Guides","count":10},{"language":"default","tag":"CI Environments","count":10},{"language":"default","tag":"API References","count":8},{"language":"default","tag":"Node.js","count":7}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":false,"deflection":{"enabled":true,"email":"support@codspeed.io","showHelpButton":true}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#topbar-cta-button>a>span{background-color:unset;background-image:linear-gradient(\n rgb(252, 110, 57) -16.25%,\n rgb(217, 57, 14) 67.5%\n )}footer a.text-gray-500{display:none}footer>div{gap:0!important}footer>div>div:nth-child(n+2){display:none}.chat-assistant-floating-input{display:none!important}@font-face{font-family:\"Fira Code\";src:url(https://codspeed.io/docs/fonts/FiraCode-VariableFont_wght.ttf)\n format(\"truetype\")}code{font-family:\"Fira Code\", monospace}#banner{background-color:#fc6e39!important;color:#09090b!important}#banner *{color:#09090b!important}#banner a{font-weight:700!important;text-decoration:underline!important}#\\/benchmarks\\/cpp>a>img{background-color:unset}"}],"page":{"pagePath":"troubleshooting","slug":"/troubleshooting","pageMetadata":{"title":"Troubleshooting","description":"Understand the warnings CodSpeed reports on your benchmarks, and fix them","icon":"bug","href":"/troubleshooting"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Understand the warnings CodSpeed reports on your benchmarks, and fix them\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Card,Columns,Heading}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!Columns)_missingMdxReference(`Columns`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`optimized-out-benchmarks`,children:`Optimized-out benchmarks`}),`\n`,_jsxs(_components.p,{children:[`CodSpeed reports that a benchmark `,_jsx(_components.strong,{children:`measured no execution time`}),` when it detects\nno execution of the code under test. The compiler likely removed that code,\nsince nothing in the benchmark uses its result.`]}),`\n`,_jsx(_components.p,{children:`Keep the compiler from optimizing the benchmark away, then run it again:`}),`\n`,_jsxs(Columns,{cols:2,children:[_jsx(Card,{title:`Rust`,icon:`rust`,href:`/benchmarks/rust#preventing-compiler-optimizations`,horizontal:true}),_jsx(Card,{title:`C++`,icon:`https://mintcdn.com/codspeed/GDLcp8Ny8u4pFbNX/assets/icons/cpp.svg?fit=max\u0026auto=format\u0026n=GDLcp8Ny8u4pFbNX\u0026q=85\u0026s=420e72f7613b61e7f1961ccdd2e4b9bb`,href:`/benchmarks/cpp#preventing-compiler-optimizations`,horizontal:true,\"data-og-width\":`31`,width:`31`,\"data-og-height\":`31`,height:`31`,\"data-path\":`assets/icons/cpp.svg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/codspeed/GDLcp8Ny8u4pFbNX/assets/icons/cpp.svg?w=280\u0026fit=max\u0026auto=format\u0026n=GDLcp8Ny8u4pFbNX\u0026q=85\u0026s=d375a82a3bb8d4f97e4c99a5468ce3ac 280w, https://mintcdn.com/codspeed/GDLcp8Ny8u4pFbNX/assets/icons/cpp.svg?w=560\u0026fit=max\u0026auto=format\u0026n=GDLcp8Ny8u4pFbNX\u0026q=85\u0026s=1aa5650454335c5ca0c60fa6e46c2262 560w, https://mintcdn.com/codspeed/GDLcp8Ny8u4pFbNX/assets/icons/cpp.svg?w=840\u0026fit=max\u0026auto=format\u0026n=GDLcp8Ny8u4pFbNX\u0026q=85\u0026s=710df350389c5681e0195026717a8c1e 840w, https://mintcdn.com/codspeed/GDLcp8Ny8u4pFbNX/assets/icons/cpp.svg?w=1100\u0026fit=max\u0026auto=format\u0026n=GDLcp8Ny8u4pFbNX\u0026q=85\u0026s=a94e329f92a6c1db0822d46d833e344a 1100w, https://mintcdn.com/codspeed/GDLcp8Ny8u4pFbNX/assets/icons/cpp.svg?w=1650\u0026fit=max\u0026auto=format\u0026n=GDLcp8Ny8u4pFbNX\u0026q=85\u0026s=d44b47fa3a8a724fbb35c810a6909b10 1650w, https://mintcdn.com/codspeed/GDLcp8Ny8u4pFbNX/assets/icons/cpp.svg?w=2500\u0026fit=max\u0026auto=format\u0026n=GDLcp8Ny8u4pFbNX\u0026q=85\u0026s=0c136bf5dd93d930ab9085c3ef2c6363 2500w`})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Troubleshooting","description":"Understand the warnings CodSpeed reports on your benchmarks, and fix them","icon":"bug","href":"/troubleshooting"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Optimized-out benchmarks","slug":"optimized-out-benchmarks","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/codspeed/b3eaa496f89f763a/scripts/plausible.js","/docs/_mintlify/custom/codspeed/49a364438b48260b/scripts/crisp.js","/docs/_mintlify/custom/codspeed/908f72e163898697/scripts/mixpanel.js","/docs/_mintlify/custom/codspeed/36100c5f420e7746/scripts/reo.js","/docs/_mintlify/custom/codspeed/818659b90dbf0ae9/scripts/mixpanel-events.js"],"subdomain":"codspeed","siteName":"CodSpeed Docs","title":"Troubleshooting - CodSpeed Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-03T16:25:35.686Z","originalFileLocation":"troubleshooting.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Understand the warnings CodSpeed reports on your benchmarks, and fix them\">\u003cmeta data-mint-head name=\"application-name\" content=\"CodSpeed Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/codspeed/o6dkItj_FLwvyrIz/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/codspeed/o6dkItj_FLwvyrIz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/codspeed/o6dkItj_FLwvyrIz/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/codspeed/o6dkItj_FLwvyrIz/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/codspeed/o6dkItj_FLwvyrIz/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/codspeed/o6dkItj_FLwvyrIz/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/codspeed/o6dkItj_FLwvyrIz/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/codspeed/o6dkItj_FLwvyrIz/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/codspeed/o6dkItj_FLwvyrIz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Troubleshooting - CodSpeed Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Understand the warnings CodSpeed reports on your benchmarks, and fix them\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CodSpeed Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://codspeed.io/docs/troubleshooting\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://codspeed.mintlify.site/docs/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Troubleshooting\u0026amp;description=Understand+the+warnings+CodSpeed+reports+on+your+benchmarks%2C+and+fix+them\u0026amp;theme=3fe0fb01b315ca2832b13c51\u0026amp;signature=69b5d5441ff7d361157f0ee30d01f880488004ecb6cde90cfe1580a933957ef9\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Troubleshooting - CodSpeed Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Understand the warnings CodSpeed reports on your benchmarks, and fix them\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://codspeed.mintlify.site/docs/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Troubleshooting\u0026amp;description=Understand+the+warnings+CodSpeed+reports+on+your+benchmarks%2C+and+fix+them\u0026amp;theme=3fe0fb01b315ca2832b13c51\u0026amp;signature=69b5d5441ff7d361157f0ee30d01f880488004ecb6cde90cfe1580a933957ef9\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/codspeed/o6dkItj_FLwvyrIz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CodSpeed Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FC6E39\">\u003cmeta data-mint-head name=\"twitter:domain\" content=\"codspeed.io\">\u003clink data-mint-head rel=\"canonical\" href=\"https://codspeed.io/docs/troubleshooting\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/troubleshooting.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://codspeed.io/#organization\",\"name\":\"CodSpeed Docs\",\"url\":\"https://codspeed.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/codspeed/SEPN15HtEhsaoVwO/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=SEPN15HtEhsaoVwO\u0026q=85\u0026s=18d4dcb12a5617282de2da263e0db993\"}},{\"@type\":\"WebSite\",\"@id\":\"https://codspeed.io/docs#website\",\"name\":\"CodSpeed Docs\",\"url\":\"https://codspeed.io/docs\",\"publisher\":{\"@id\":\"https://codspeed.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://codspeed.io/docs/troubleshooting#webpage\",\"url\":\"https://codspeed.io/docs/troubleshooting\",\"name\":\"Troubleshooting\",\"description\":\"Understand the warnings CodSpeed reports on your benchmarks, and fix them\",\"dateModified\":\"2026-09-03T16:25:35.686Z\",\"isPartOf\":{\"@id\":\"https://codspeed.io/docs#website\"}},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://codspeed.io/docs/troubleshooting#article\",\"headline\":\"Troubleshooting\",\"name\":\"Troubleshooting\",\"description\":\"Understand the warnings CodSpeed reports on your benchmarks, and fix them\",\"url\":\"https://codspeed.io/docs/troubleshooting\",\"mainEntityOfPage\":{\"@id\":\"https://codspeed.io/docs/troubleshooting#webpage\"},\"dateModified\":\"2026-09-03T16:25:35.686Z\",\"publisher\":{\"@id\":\"https://codspeed.io/#organization\"},\"isPartOf\":{\"@id\":\"https://codspeed.io/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CodSpeed Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CodSpeed Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/troubleshooting.md","siteName":"CodSpeed Docs","nav":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.gg/MxpaCfKSqF"}]},"tabs":[{"tab":"Documentation","icon":"book","pages":[{"group":"Get Started","pages":[{"title":"Quickstart","icon":"rocket","href":""},{"title":"What is CodSpeed?","icon":"lightbulb","href":"/what-is-codspeed"},{"group":"Creating Benchmarks","icon":"code","pages":[{"title":"Supported Languages","sidebarTitle":"Overview","href":"/benchmarks/overview"},{"title":"Writing Benchmarks in Python","sidebarTitle":"Python","icon":"python","href":"/benchmarks/python"},{"group":"Rust","icon":"rust","pages":[{"sidebarTitle":"Overview","title":"Writing Benchmarks in Rust","href":"/benchmarks/rust/index"},{"title":"Writing Benchmarks with divan","sidebarTitle":"divan","href":"/benchmarks/rust/divan"},{"title":"Writing Benchmarks with criterion.rs","sidebarTitle":"criterion.rs","href":"/benchmarks/rust/criterion"},{"title":"Writing Benchmarks with bencher (libtest)","sidebarTitle":"bencher","href":"/benchmarks/rust/bencher"}]},{"title":"Writing Benchmarks in C++","sidebarTitle":"C++","icon":"https://mintlify.s3.us-west-1.amazonaws.com/codspeed/assets/icons/cpp.svg","href":"/benchmarks/cpp"},{"group":"Node.js","icon":"node-js","pages":[{"sidebarTitle":"Overview","title":"Writing Benchmarks in JavaScript and TypeScript","href":"/benchmarks/nodejs/overview"},{"title":"Writing benchmarks with vitest-bench","sidebarTitle":"vitest","href":"/benchmarks/nodejs/vitest"},{"title":"Writing benchmarks with tinybench","sidebarTitle":"tinybench","href":"/benchmarks/nodejs/tinybench"},{"title":"Writing benchmarks with benchmark.js","sidebarTitle":"benchmark.js","href":"/benchmarks/nodejs/benchmarkjs"},{"title":"Profiling apps with Playwright","sidebarTitle":"Playwright","href":"/benchmarks/nodejs/playwright"}]},{"iconType":"solid","title":"Writing Benchmarks in Go","sidebarTitle":"Go","icon":"golang","href":"/benchmarks/go"},{"group":"JVM","icon":"java","pages":[{"title":"Writing Benchmarks in Java","sidebarTitle":"Java","icon":"java","href":"/benchmarks/java"},{"title":"Writing Benchmarks in Kotlin","sidebarTitle":"Kotlin","icon":"https://mintlify.s3.us-west-1.amazonaws.com/codspeed/assets/icons/kotlin.svg","href":"/benchmarks/kotlin"},{"title":"Writing Benchmarks in Scala","sidebarTitle":"Scala","icon":"https://mintlify.s3.us-west-1.amazonaws.com/codspeed/assets/icons/scala.svg","href":"/benchmarks/scala"}]},{"title":"Writing Benchmarks with CLI Commands","sidebarTitle":"CLI Commands","icon":"square-terminal","href":"/benchmarks/cli-commands"}]},{"title":"CodSpeed CLI","icon":"square-terminal","href":"/cli"}]},{"group":"For Agents","tag":"NEW","pages":[{"title":"Wizard (@codspeedbot)","sidebarTitle":"Wizard","icon":"wand-magic-sparkles","iconType":"solid","href":"/ai/wizard"},{"title":"MCP Server","icon":"https://mintlify.s3.us-west-1.amazonaws.com/codspeed/assets/icons/mcp.svg","href":"/ai/mcp"},{"title":"Agent Skills","icon":"books","href":"/ai/skills"}]},{"group":"Instruments","pages":[{"title":"Performance Instruments","icon":"microscope","sidebarTitle":"Overview","href":"/instruments/index"},{"group":"CPU Simulation","icon":"/assets/icons/chip-pulse-secondary.svg","pages":[{"title":"CPU Simulation Instrument","sidebarTitle":"Overview","href":"/instruments/cpu/index"},{"title":"Benchmark Variance","sidebarTitle":"Benchmark Variance","href":"/instruments/cpu/regression-causes"},{"title":"Reducing Variance","sidebarTitle":"Reducing Variance","href":"/instruments/cpu/reducing-variance"},{"title":"Allocation Exclusion","sidebarTitle":"Allocation Exclusion","href":"/instruments/cpu/allocation-exclusion"}]},{"title":"Memory","sidebarTitle":"Memory","icon":"https://mintlify.s3.us-west-1.amazonaws.com/codspeed/assets/icons/memory-stick-secondary.svg","href":"/instruments/memory/index"},{"group":"Walltime","icon":"stopwatch","pages":[{"title":"Walltime Instrument Overview","sidebarTitle":"Overview","href":"/instruments/walltime/index"},{"title":"Profiling System Processes on macOS","sidebarTitle":"macOS Profiling","icon":"apple","href":"/instruments/walltime/macos-profiling"}]},{"group":"Databases","icon":"database","pages":[{"title":"Database Instrument Overview","sidebarTitle":"Overview","href":"/instruments/databases/overview"},{"group":"MongoDB","pages":[{"title":"MongoDB Instrumentation Overview","sidebarTitle":"Overview","href":"/instruments/databases/mongodb/index"},{"title":"NodeJS setup for MongoDB instrumentation","sidebarTitle":"NodeJS","href":"/instruments/databases/mongodb/nodejs/index"}]}]}]},{"group":"Integrations","pages":[{"group":"Repository Providers","icon":"code-branch","pages":[{"title":"Integrating with a Repository Provider","sidebarTitle":"Overview","href":"/integrations/providers/index"},{"title":"Integrating with GitHub","sidebarTitle":"GitHub","href":"/integrations/providers/github"},{"title":"Integrating with GitLab","sidebarTitle":"GitLab","href":"/integrations/providers/gitlab"}]},{"group":"CI Environments","icon":"rotate","pages":[{"title":"Running Benchmarks in CI","sidebarTitle":"Overview","href":"/integrations/ci/index"},{"group":"GitHub Actions","pages":[{"sidebarTitle":"Guide","title":"Running Benchmarks in GitHub Actions","href":"/integrations/ci/github-actions/index"},{"sidebarTitle":"Configuration","title":"Configuring GitHub Actions for CodSpeed","href":"/integrations/ci/github-actions/configuration"},{"sidebarTitle":"Macro Runners","title":"Macro Runners on GitHub Actions","href":"/integrations/ci/github-actions/macro-runners"}]},{"group":"GitLab CI","pages":[{"sidebarTitle":"Guide","title":"Running Benchmarks in GitLab CI","href":"/integrations/ci/gitlab-ci/index"},{"sidebarTitle":"Configuration","title":"Configuring GitLab CI for CodSpeed","href":"/integrations/ci/gitlab-ci/configuration"}]},{"group":"CircleCI","pages":[{"sidebarTitle":"Guide","title":"Running Benchmarks in CircleCI","href":"/integrations/ci/circleci/index"},{"sidebarTitle":"Configuration","title":"Configuring CircleCI for CodSpeed","href":"/integrations/ci/circleci/configuration"},{"sidebarTitle":"Macro Runners","title":"Macro Runners on CircleCI","href":"/integrations/ci/circleci/macro-runners"}]},{"sidebarTitle":"Buildkite","title":"Running Benchmarks in Buildkite","href":"/integrations/ci/buildkite"}]},{"title":"Macro Runners","icon":"server","href":"/features/macro-runners"}]},{"group":"Explore Features","pages":[{"title":"Performance Profiling and Flamegraphs","sidebarTitle":"Profiling","icon":"bars-sort","href":"/features/profiling"},{"sidebarTitle":"Performance Checks","title":"Setting up Continuous Performance Checks","icon":"circle-check","href":"/features/performance-checks/index"},{"title":"Impact Metrics","icon":"chart-line","href":"/features/understanding-the-metrics/index"},{"title":"Customization","icon":"sliders","href":"/features/customization"},{"title":"Sharded Benchmarks","icon":"layer-group","href":"/features/sharded-benchmarks/index"},{"title":"Partial Runs","icon":"forward","href":"/features/partial-runs/index"},{"title":"Benchmark Archival","icon":"box-archive","href":"/features/archiving-benchmarks/index"},{"title":"Ignoring a Benchmark","icon":"eye-slash","href":"/features/ignoring-benchmarks/index"},{"title":"Roles \u0026 Permissions","icon":"users","href":"/features/roles-and-permissions/index"},{"title":"Seats \u0026 Billing","description":"Learn how users, seats, and billing work in CodSpeed","icon":"credit-card","href":"/features/seats-and-billing/index"}]},{"title":"Troubleshooting","icon":"bug","href":"/troubleshooting"},{"title":"Security","description":"CodSpeed's compliance certifications, data handling practices, and the permissions it requests","icon":"shield-check","href":"/security"},{"title":"Data Deletion","icon":"trash","href":"/data-deletion"}]},{"tab":"Guides","icon":"map","pages":[{"title":"Guides","href":"/guides"}]},{"tab":"API References","icon":"code","dropdowns":[{"dropdown":"API References","icon":"code","pages":[{"title":"API References","sidebarTitle":"Overview","href":"/reference"}]},{"dropdown":"pytest-codspeed","icon":"python","pages":[{"title":"pytest-codspeed documentation","sidebarTitle":"API Reference","href":"/reference/pytest-codspeed"}]},{"dropdown":"codspeed-rust","icon":"rust","pages":[{"title":"codspeed-rust documentation","sidebarTitle":"Home","icon":"house","href":"/reference/codspeed-rust/index"},{"title":"cargo-codspeed documentation","sidebarTitle":"cargo-codspeed","icon":"cubes","href":"/reference/codspeed-rust/cargo-codspeed"},{"group":"Compatibility layers","icon":"layer-group","pages":[{"title":"divan compatibility layer documentation","sidebarTitle":"divan (recommended)","href":"/reference/codspeed-rust/divan"},{"title":"criterion.rs compatibility layer documentation","sidebarTitle":"criterion.rs","href":"/reference/codspeed-rust/criterion"},{"title":"bencher (libtest) compatibility layer documentation","sidebarTitle":"bencher (libtest)","href":"/reference/codspeed-rust/bencher"}]}]}]},{"tab":"Blog","icon":"newspaper","href":"https://codspeed.io/blog"},{"tab":"We're hiring!","icon":"briefcase","href":"https://careers.codspeed.io"}]},"basePath":"","title":"Troubleshooting - CodSpeed Docs","buildId":"dpl_6PxPD4Fj1JDU9BJxEHvfdUmxKThw","deploymentId":"dpl_6PxPD4Fj1JDU9BJxEHvfdUmxKThw","dynamics":["10e4515597"],"chunks":["BannerMarkdown-DY3I1oi4.js","dist-VEVWQCR4.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-Di4ek5Ae.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js"]}