Skip to content

test: Add a basic component rendering benchmark#3436

Merged
luanpotter merged 3 commits intomainfrom
luan.perf-render
Jan 9, 2025
Merged

test: Add a basic component rendering benchmark#3436
luanpotter merged 3 commits intomainfrom
luan.perf-render

Conversation

@luanpotter
Copy link
Copy Markdown
Member

Description

Add a basic component rendering benchmark.

Checklist

  • I have followed the Contributor Guide when preparing my PR.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • I have updated/added relevant examples in examples or docs.

Breaking Change?

  • Yes, this PR is a breaking change.
  • No, this PR is not a breaking change.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 9, 2025

Benchmark Results

Package flame:

Benchmarks Current Branch
[luan.perf-render]
Base Branch
[main]
Diff
Render Components Benchmark 1135.772 μs [-] [-]
Updating Components Benchmark 253276.125 μs 2718.178 μs 🔴 +9217.864 %

Benchmarks provided with 💙 by Dart Benchmark Action.

@luanpotter luanpotter marked this pull request as ready for review January 9, 2025 00:27
@luanpotter luanpotter requested a review from spydon January 9, 2025 00:27
Comment thread packages/flame/benchmark/render_components_benchmark.dart
@luanpotter luanpotter merged commit 0cf5768 into main Jan 9, 2025
@luanpotter luanpotter deleted the luan.perf-render branch January 9, 2025 13:55
nickf2k pushed a commit to nickf2k/flame that referenced this pull request Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants