Avatar for the meltano user
meltano
sdk
BlogDocsChangelog

Performance History

Latest Results

Merge branch 'main' into feat/issue-3263-alias-functions
KaruturiS:feat/issue-3263-alias-functions
14 hours ago
chore(deps): bump the actions group with 2 updates (#3617) Bumps the actions group with 2 updates: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) and [CodSpeedHQ/action](https://github.com/codspeedhq/action). Updates `astral-sh/setup-uv` from 8.0.0 to 8.1.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/setup-uv/commit/08807647e7069bb48b6ef5acd8ec9567f424441b"><code>0880764</code></a> fix: grant contents:write to validate-release job (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/860">#860</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/717d6aba0f15312f509f5c4999e34d71ecbab8a9"><code>717d6ab</code></a> Add a release-gate step to the release workflow (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/859">#859</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/5a911eb3a3983b5e650f2dad95c1ce698ca94378"><code>5a911eb</code></a> Draft commitish releases (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/858">#858</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/080c31e04cd7155b0ca676d08c7bc260a4476a23"><code>080c31e</code></a> Add action-types.yml to instructions (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/857">#857</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/b3e97d2ba1a1eed7e9d1f8456dd06c3b725bc3a6"><code>b3e97d2</code></a> Add input no-project in combination with activate-environment (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/856">#856</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/7dd591db9557f680290587fcc578372813b9ff64"><code>7dd591d</code></a> chore(deps): bump release-drafter/release-drafter from 7.1.1 to 7.2.0 (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/855">#855</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/1541b7762698877904805605192ecd63d0e4787a"><code>1541b77</code></a> chore: update known checksums for 0.11.7 (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/853">#853</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/cdfb2ee6dde255817c739680168ad81e184c4bfb"><code>cdfb2ee</code></a> Refactor version resolving (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/852">#852</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/cb84d12dc6a0d495b82fcae14fa4559b90698660"><code>cb84d12</code></a> chore: update known checksums for 0.11.6 (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/850">#850</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/1912cc65f2e839707d7a16f2372f30b57d35fd80"><code>1912cc6</code></a> chore: update known checksums for 0.11.5 (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/845">#845</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/setup-uv/compare/cec208311dfd045dd5311c1add060b2062131d57...08807647e7069bb48b6ef5acd8ec9567f424441b">compare view</a></li> </ul> </details> <br /> Updates `CodSpeedHQ/action` from 4.13.1 to 4.14.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/CodSpeedHQ/action/commit/658a901452bb54c799643e060733b7afe9121b8d"><code>658a901</code></a> Release v4.14.0 🚀</li> <li><a href="https://github.com/CodSpeedHQ/action/commit/1d42668155453040f69e1ce27b17d23fe82963c2"><code>1d42668</code></a> chore: bump runner version to 4.14.0</li> <li>See full diff in <a href="https://github.com/codspeedhq/action/compare/db35df748deb45fdef0960669f57d627c1956c30...658a901452bb54c799643e060733b7afe9121b8d">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
main
15 hours ago
Optimize StructuredFormatter._format_exception The optimized code achieves a **22% runtime improvement** (859μs → 702μs) through two key optimizations: ## Primary Optimizations **1. Reduced Attribute Access Overhead in Traceback Loop** The original code repeatedly accessed `tb.tb_frame.f_code` for each frame attribute (filename, function name). The optimization caches this in `f_code = tb.tb_frame.f_code` and `lineno = tb.tb_lineno`, eliminating redundant attribute traversals. While `linecache.getline()` still dominates at ~29% of runtime, reducing the surrounding attribute access overhead provides measurable gains. **2. EAFP Pattern for Exception Chaining** Replaced `hasattr()` checks with try/except blocks when accessing `__cause__` and `__context__`. In Python, try/except is faster than `hasattr()` when attributes typically exist (which is true for exception objects). The original code performed: - `hasattr(exc_value, "__cause__")` - `exc_value.__cause__` (if check passed) - Similar for `__context__` The optimized version directly accesses `exc_value.__cause__` once and handles the rare `AttributeError` case, reducing both function calls and attribute lookups. ## Performance Profile The annotated tests show the optimization excels with **exceptions that have tracebacks** (6.56% faster for the traceback test case), where the frame processing loop benefits most from cached attribute access. For the no-exception case, there's a negligible regression (24.7% slower, but only ~41ns in absolute terms), which is an acceptable trade-off given the 22% overall speedup on realistic exception formatting workloads. This optimization is particularly valuable when logging exceptions in error handling paths, where reducing the overhead of exception formatting directly improves application responsiveness during error conditions.
codeflash/optimize-StructuredFormatter._format_exception-mlr42iaq
4 days ago

Latest Branches

CodSpeed Performance Gauge
0%
feat: Allow config and functions access in stream maps `__alias__` expressions#3606
14 hours ago
35b35a4
KaruturiS:feat/issue-3263-alias-functions
CodSpeed Performance Gauge
0%
chore(deps): bump the actions group with 2 updates#3617
16 hours ago
a56b07d
dependabot/github_actions/actions-2917ba4a6e
CodSpeed Performance Gauge
0%
perf: ⚡️ Speed up method `StructuredFormatter._format_exception` by 22%#3487
2 months ago
f09e9b1
codeflash/optimize-StructuredFormatter._format_exception-mlr42iaq
© 2026 CodSpeed Technology
Home Terms Privacy Docs