Skip to content

Add K/Wasm D8 target to the benchmarks#5277

Merged
eymar merged 13 commits intomasterfrom
ok/benchmarks_d8_new
Apr 29, 2025
Merged

Add K/Wasm D8 target to the benchmarks#5277
eymar merged 13 commits intomasterfrom
ok/benchmarks_d8_new

Conversation

@eymar
Copy link
Member

@eymar eymar commented Apr 10, 2025

  • Updated the README.md with the description of benchmarks (might be useful to external parties)
  • customized a runner for D8
  • added a warmupCount parameter to runBenchmarks, because it's required for Jetstream3 (a set of benchmarks) that there is no warmup (they skip it)
  • Added a smooth scroll variant of LazyGrid + variants with LaunchedEffect in grid cells for coroutines usage.
  • Added a new class Config. Object Args is simplified, it's purpose is to simply parse the arguments and produce a instance of Config. The usages of Args were replaced by Config, except the parsing in fun main.
  • Renamed Example1 to MultipleComponents
  • Also added MultipleComponents-NoVectorGraphics for D8 - it's similar to MultipleComponents but doesn't use vector icons.

Fixes https://youtrack.jetbrains.com/issue/CMP-6942

Note: it's based on this PR #5275

Testing

Manually run the benchmarks

Release Notes

N/A

eymar added 6 commits April 9, 2025 14:53
…rk in preparation for D8 benchmarks

D8 environment misses some APIs including a parser of xml.

Also, make sure the web targets process the asynchronous fetch resources operations by yielding the event loop. Otherwise, a benchmark would skip a part of the workload.
@eymar eymar requested a review from pjBooms April 10, 2025 15:21
@eymar eymar merged commit 8fac609 into master Apr 29, 2025
1 check passed
@eymar eymar deleted the ok/benchmarks_d8_new branch April 29, 2025 14:54
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